-
Notifications
You must be signed in to change notification settings - Fork 377
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
[0.17] Add pegin validation #458
[0.17] Add pegin validation #458
Conversation
957b8da
to
b2a2c3b
Compare
60307e0
to
d345979
Compare
ec032ab
to
1ee34ff
Compare
Want to point out explicitly that I removed a check in It seems that that |
That was something you had added, right? |
@instagibbs yeah yeah of course. I added it by porting back, but then realized I added the check twice since it was also in |
f2d87aa
to
2a46806
Compare
98a1846 tests: Support calling add_nodes more than once (Steven Roose) Pull request description: Ran into this while writing [a multi-chain test for Elements](ElementsProject/elements#458) where I call this method more than once. Tree-SHA512: f2d698fcb560552aa5d81a4c3fbf40b7269b228b34d85a118291649ef83f8c0a30cd82a28d418237b55893bcecd538046b704e64a4d8a41f2c0aef8033dc83e5
181edea
to
b69eb3b
Compare
i poked the integration tests so I can see results outside of linter's complaints |
|
b69eb3b
to
1bee32c
Compare
EnsureWalletIsUnlocked(pwallet); | ||
|
||
mapValue_t mapValue; | ||
CCoinControl no_coin_control; // This is a deprecated API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what part is deprecated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. I mimicked existing code. I found the original comment was placed in ecd81df.
About that warning, that's because there is a signed block case that I commented out that is impossible to get into for now. It's gated behind |
Special validation added in next commits.
d74433d
to
034c642
Compare
utACK aee6880 that intermittant test failure is really hard to trigger and is an important exception to force the user to restart important services anyways. I'm not going to let that be a blocker for merge. |
aee6880
to
d358364
Compare
re-utACK d358364 |
d358364 Integration test for pegins and pegouts (Steven Roose) d888540 Add support for signed-blocks parent chains (Steven Roose) b56f7da Add pegin and pegout RPC calls (Steven Roose) 7bb9380 Recognize pegout scripts (Steven Roose) 4688e3e Add periodic RPC recheck and invalid block recheck (Steven Roose) 0e4e834 Add pegin validation unit tests (Steven Roose) 5cbb014 Validation of pegin inputs (Steven Roose) f4adb46 Add spentness flag to pegin coins (Steven Roose) 0d07d21 Change CCoinsMapKey to use chain-aware outpoints (Steven Roose) 22ec499 Add "vdata" field to createrawtransaction rpc (Steven Roose) 2db1f2b Add tweakfedpegscript rpc (Steven Roose) d6686b6 Add getsidechaininfo rpc (Steven Roose) fb8a453 Add pegin validation utility methods (Steven Roose) 037b260 Serialize parent blocks without pegin flags (Steven Roose) 89613b8 Skip normal validation of pegin inputs (Steven Roose) ae54d4a Add pegin input serialization (Steven Roose) ac1eadd Add support for NullData addresses (OP_RETURN) (Steven Roose) 18ee341 Add parent address encoding (Steven Roose) d39d440 Add mainchain rpc client (Steven Roose) 238a72b Add arguments for parent chain characteristics (Steven Roose)
98a1846 tests: Support calling add_nodes more than once (Steven Roose) Pull request description: Ran into this while writing [a multi-chain test for Elements](ElementsProject/elements#458) where I call this method more than once. Tree-SHA512: f2d698fcb560552aa5d81a4c3fbf40b7269b228b34d85a118291649ef83f8c0a30cd82a28d418237b55893bcecd538046b704e64a4d8a41f2c0aef8033dc83e5
98a1846 tests: Support calling add_nodes more than once (Steven Roose) Pull request description: Ran into this while writing [a multi-chain test for Elements](ElementsProject/elements#458) where I call this method more than once. Tree-SHA512: f2d698fcb560552aa5d81a4c3fbf40b7269b228b34d85a118291649ef83f8c0a30cd82a28d418237b55893bcecd538046b704e64a4d8a41f2c0aef8033dc83e5
98a1846 tests: Support calling add_nodes more than once (Steven Roose) Pull request description: Ran into this while writing [a multi-chain test for Elements](ElementsProject/elements#458) where I call this method more than once. Tree-SHA512: f2d698fcb560552aa5d81a4c3fbf40b7269b228b34d85a118291649ef83f8c0a30cd82a28d418237b55893bcecd538046b704e64a4d8a41f2c0aef8033dc83e5
No description provided.