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

dcrjson: Add optional locktime to createrawtransaction #204

Merged
merged 6 commits into from
May 23, 2016

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented May 21, 2016

This PR codepends on decred/dcrrpcclient#24

Upstream commit 4b7206b

The other commits in the merge have either already been cherry-picked or mostly do not apply and have been removed in the merge. The additional fee tests have been kept.

dajohi and others added 6 commits October 27, 2015 10:05
No functional change. Add tests.
This commit implements the changeover logic for version 4 blocks as
described by BIP0065.
Calculate rate*fee first before dividing by 1000.
Add more unit tests around the fee calculations.
rpcserver:
If the locktime is given, the transaction inputs will be set to a
non-max value, activating the locktime.  The locktime for the
new transaction will be set to the given value.

This mimics Bitcoin Core commit 212bcca92089f406d9313dbe6d0e1d25143d61ff
@cjepson
Copy link
Contributor

cjepson commented May 23, 2016

utACK

@alexlyp alexlyp merged commit 1987376 into decred:master May 23, 2016
@alexlyp
Copy link
Member

alexlyp commented May 23, 2016

tACK

@davecgh davecgh deleted the merge_createraw branch May 23, 2016 19:09
@jcvernaleo jcvernaleo added this to the v0.1.4 milestone May 25, 2016
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.

6 participants