@xiaolin1579 Could you please also update eCash, it's already included but little broken.
f0b353d
the miner fund output looks correct, now you need to add the staking reward output the same way. You can find here an example of what the block template looks like (bottom of the page): https://e.cash/mining. You'll need to use the coinbasetxn.stakingrewards.payoutscript.hex as a scriptpubkey and coinbasetxn.stakingrewards.minimumvalue as the amount to subtract from the coinbase reward.
@xiaolin1579 Could you please also update eCash, it's already included but little broken.
f0b353d
the miner fund output looks correct, now you need to add the staking reward output the same way. You can find here an example of what the block template looks like (bottom of the page): https://e.cash/mining. You'll need to use the coinbasetxn.stakingrewards.payoutscript.hex as a scriptpubkey and coinbasetxn.stakingrewards.minimumvalue as the amount to subtract from the coinbase reward.