Author

Topic: Transaction Fee to other Wallet (Read 258 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
April 09, 2016, 11:55:04 AM
#4
You can create a client which always creates an output to a specified address. You could also then make it a consensus rule for the altcoin that requires that every transaction must have an output to that address otherwise the transaction is invalid.

Good idea, thanks.
Can you be more specific in second point?
In your altcoin, you can add to the validation rules a rule that requires that every single transaction must have that output otherwise the transaction is rejected as invalid. Any blocks containing those invalid transactions are also rejected as invalid. This means that changing the rule could cause a fork and anyone who doesn't follow that rule is producing invalid transactions.
jr. member
Activity: 43
Merit: 2
April 09, 2016, 11:31:33 AM
#3
You can create a client which always creates an output to a specified address. You could also then make it a consensus rule for the altcoin that requires that every transaction must have an output to that address otherwise the transaction is invalid.

Good idea, thanks.
Can you be more specific in second point?
staff
Activity: 3458
Merit: 6793
Just writing some code
April 09, 2016, 11:14:18 AM
#2
You can create a client which always creates an output to a specified address. You could also then make it a consensus rule for the altcoin that requires that every transaction must have an output to that address otherwise the transaction is invalid.
jr. member
Activity: 43
Merit: 2
April 09, 2016, 11:10:37 AM
#1
Is it possible change the code to:

With any transaction is sent fee to specific wallet.
I want create altcoin with this functionalitty.

Graphically:

Wallet ─ Transaction ──┬──  amount ─ recipient
                                ├──  fee ─ other wallet
                                └──  fee ─ miners

Can you send me little information - how can be this done in open code?

Thank you
Jump to: