Skip to content
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

Fix signing of createrawtransaction name_update's #80

Merged
merged 7 commits into from
May 18, 2014

Conversation

domob1812
Copy link
Contributor

Fix signrawtransaction to correctly handle transactions from createrawtransactions. With this, it is now fully possible to do atomic name trades via RPC commands. I've tried it out already with two wallets of mine.

@phelixbtc
Copy link
Contributor

Sweet. Can you give a link to the first historic txid?

@domob1812
Copy link
Contributor Author

Of course: 4d3571a0945edfa311f9a0dbb5d1e2d99b3d920f14870c9b7e4346eb01baa5ad

domob1812 and others added 7 commits May 17, 2014 12:41
Remove an unused optional argument to the SignSignature functions to
simplify them.
Simplify the two SignSignature functions by making one call the other
instead of duplicating the code.
Make a passed-by-ref argument that is never changed const to make this
explicit.
Unify the signing of name and non-name inputs in the code.  This also
makes signrawtransaction work for name-operation transactions.
If createrawtransaction is called with a name operation, correctly set
its nVersion as a namecoin tx.
changelog.md: atomic tx via rpc
phelixbtc added a commit that referenced this pull request May 18, 2014
Enable atomic name trades via RPC
@phelixbtc phelixbtc merged commit a8d8d21 into namecoin:namecoinq May 18, 2014
@phelixbtc
Copy link
Contributor

Nice name btw ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants