decred / tinydecred

Python tools for Decred
ISC License
27 stars 14 forks source link

rpc: Add methods #73

Closed JoeGruffins closed 4 years ago

JoeGruffins commented 4 years ago

closes #45

The create raw transactions may not be perfect yet. I'm looking into it.

JoeGruffins commented 4 years ago

dcrd must be build from master for tests to pass.

buck54321 commented 4 years ago

dcrd must be build from master for tests to pass.

Could you point out what's changing? TD should be compatible with the latest dcrd release, but we a have a little wiggle room right now.

JoeGruffins commented 4 years ago

The inputs for a ticket purchase weren't being set as expected in dcrd. The tests compare a ticket purchase constructed with txscript against the response from the dcrd call createrawsstx. I can add a line to make sure the amount is correct that can be removed at some point.

https://github.com/decred/dcrd/pull/2071/commits/6d8c54e2b600dd6894dcc08e8f44e747962e8d36

JoeGruffins commented 4 years ago

Setting the value as expected inside the rpc call.