-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility with Dash v0.13 #335
base: next
Are you sure you want to change the base?
Conversation
This allows both p2pkh and p2psh in mn payouts and superblocks
Some info about the payload: https://github.com/dashpay/dips/blob/master/dip-0002.md A table w/special TX types here: |
Will try to compile, and run on testnet tonight |
I think we are still missing this part on top of coinbase_payload https://github.com/dashpay/dips/blob/master/dip-0004.md Example "extraPayloadSize": 38, |
@pinpins |
With these changes, blocks aren't being generated (testnet)...
10:13:29: ERROR Dash Block decode failed
10:13:29: *** REJECTED :( Dash block 76117 34 txs
…On Sun, Apr 7, 2019 at 9:49 AM UdjinM6 ***@***.***> wrote:
@pinpins <https://github.com/pinpins> cbTx is just a JSON representation
of coinbase_payload in RPC.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#335 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGAv4mQHaeIiEWAnjN11_L2y5gcltle3ks5veelPgaJpZM4aUIIV>
.
|
@UdjinM6 But then there is still something else wrong putting coinbase transaction altogether |
I think found issue with your last commit
Must be
|
Thanks @pinpins ! 👍 |
testnet works with that fix. Thanks @pinpins |
This adds compatibility with Dash v0.13, see more info about this release in Dash Core repo https://github.com/dashpay/dash/releases/tag/v0.13.0.0
DISCLAIMER: I'm not very familiar with the codebase and I have NOT tested this.
I also wasn't able to compile the original code on my mac and thus this patch might have some stupid typos or smth like that and won't even compile.(EDIT: Travis seems to be able to compile it and all looks good) Pls trycompiling andrunning this at least on testnet before merging.