Bitcoin Forum
May 12, 2024, 02:05:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Transaction Fee to other Wallet  (Read 246 times)
MaximC (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
April 09, 2016, 04:10:37 PM
 #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
1715479510
Hero Member
*
Offline Offline

Posts: 1715479510

View Profile Personal Message (Offline)

Ignore
1715479510
Reply with quote  #2

1715479510
Report to moderator
1715479510
Hero Member
*
Offline Offline

Posts: 1715479510

View Profile Personal Message (Offline)

Ignore
1715479510
Reply with quote  #2

1715479510
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715479510
Hero Member
*
Offline Offline

Posts: 1715479510

View Profile Personal Message (Offline)

Ignore
1715479510
Reply with quote  #2

1715479510
Report to moderator
1715479510
Hero Member
*
Offline Offline

Posts: 1715479510

View Profile Personal Message (Offline)

Ignore
1715479510
Reply with quote  #2

1715479510
Report to moderator
1715479510
Hero Member
*
Offline Offline

Posts: 1715479510

View Profile Personal Message (Offline)

Ignore
1715479510
Reply with quote  #2

1715479510
Report to moderator
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
April 09, 2016, 04:14:18 PM
 #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.

MaximC (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
April 09, 2016, 04:31:33 PM
 #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?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
April 09, 2016, 04:55:04 PM
 #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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!