You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #388: Add waitforblock, waitforblockheight and waitfornewblock
8b0a914 Add new waitforX RPCs (Jamil Lambert, PhD)
b158065 Move test code into test function (Jamil Lambert, PhD)
7230e61 Remove redundant test (Jamil Lambert, PhD)
340a3e8 Update rustdocs for the Hidden RPC client (Jamil Lambert, PhD)
Pull request description:
`waitforblock`, `waitforblockheight` and `waitfornewblock` were added to the Core API docs in v30 under blockchain. The RPCs have been there since before v17.
Add the RPCs to v17, and add to the types table in v30.
- The hidden module in v21 had a copy-paste error and stated it was for the `generating` section.
- Update the documentation to state that the methods are `hidden`.
- `blockchain__get_tx_out_proof__modelled` is identical to `blockchain__verify_tx_out_proof__modelled`, and the method `gettxoutproof` is tested above in `blockchain__get_tx_out_proof`.
- Remove the redundant test.
- The model part of the `verify_tx_out_proof` test was in it's own function that the test function called. Other tests all check the model in the same test.
- Combine them into one function.
- Place it in the correct location.
- Remove associated import.
- Add `waitforblock`, `waitforblockheight` and `waitfornewblock` methods to v17. They are hidden until v30 with no changes.
ACKs for top commit:
tcharding:
ACK 8b0a914
Tree-SHA512: 7e7c119cb22c3549d9f0e496aabc1727dc4bd51400009fdcc7769d18b6645e52c33aa3549dcad37a099a67cbbd8d9bfef24f3b7912f7d54b44a1c7418caee162
0 commit comments