Coinbaser #550

pull luke-jr wants to merge 9 commits into bitcoin:master from luke-jr:coinbaser changing 4 files +197 −6
  1. luke-jr commented at 8:27 PM on October 4, 2011: member

    Allow customizing what addresses are paid by generation, with failover to the standard "50 BTC to me" behaviour; also adds the "setworkaux" JSON-RPC call to add arbitrary data to the coinbase, which can be used to implement merged-mining (has safeguards against creating invalid coinbases)

    The internal code changes for "setworkaux" can also be used to put "feature flags" in coinbases, to enable upgrades (like OP_EVAL) when X% of the last Y blocks advertise support (after which, they should stop advertising the flag to make room for future content).

    Eligius has tested this changeset quite a bit under the 0.3.23 codebase.

  2. Execute command specified by -coinbaser when creating a new block, which can output data to control where the generation goes e9a0e4d7a2
  3. coinbaser: replace %d in command line with available funds b3fb0d04fc
  4. Support for TCP server coinbasers 4e6e221902
  5. Save coinbase, not just extraNonce d6cc5ef85b
  6. Replace nBits in coinbase scriptSig with arbitrary data set by setworkaux RPC call 29b32459f7
  7. Bugfix/safeguard: never create a coinbase scriptSig over 100 bytes long 9c651437ca
  8. Check for parse or overflow errors in setworkaux 96f969314d
  9. Merge commit '96f9693' into coinbaser
    Conflicts:
    	src/main.cpp
    	src/main.h
    	src/rpc.cpp
    3c54a7b923
  10. Document -coinbaser option in --help a1efc8cb10
  11. gavinandresen commented at 2:42 PM on October 5, 2011: contributor

    Closing; please drum up consensus before adding new RPC commands.

  12. gavinandresen closed this on Oct 5, 2011

  13. ptschip referenced this in commit 955012c8c5 on May 10, 2017
  14. sipa referenced this in commit cc05fa919a on Mar 30, 2019
  15. sipa referenced this in commit 1e32413e52 on Mar 30, 2019
  16. sipa referenced this in commit 54245985fb on Mar 31, 2019
  17. sipa referenced this in commit 3fe71bbd95 on Apr 2, 2019
  18. LongShao007 referenced this in commit 3d9a3d2063 on Jul 15, 2019
  19. LongShao007 referenced this in commit 8af66f3427 on Jul 15, 2019
  20. LongShao007 referenced this in commit 807f206f73 on Jul 15, 2019
  21. fjahr referenced this in commit 949e85b009 on Jul 24, 2019
  22. kallewoof referenced this in commit f79c2fecb1 on Oct 4, 2019
  23. kallewoof referenced this in commit c866f52e2a on Oct 4, 2019
  24. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me