diff options
| author | Sebastian Falbesoner <[email protected]> | 2020-04-11 15:53:01 +0200 |
|---|---|---|
| committer | Sebastian Falbesoner <[email protected]> | 2020-04-11 18:40:28 +0200 |
| commit | 854382885f18aa9a95cdde3d11591b05c305ad3f (patch) | |
| tree | 7339ed096397a4dec598d5117f0b74bce45b8a83 /src/httpserver.cpp | |
| parent | test: complete impl. of msg_merkleblock and wait_for_merkleblock (diff) | |
| download | discoin-854382885f18aa9a95cdde3d11591b05c305ad3f.tar.xz discoin-854382885f18aa9a95cdde3d11591b05c305ad3f.zip | |
refactor: test: improve wait_for{header,merkleblock} interface
The interfaces for the methods wait_for_header() and wait_for_merkleblock() are
changed to take a hex string instead of an integer, improving type safety and
removing the burden from the caller to always do the transformation via
`int(...)`. As suggested by MarcoFalke in
https://github.com/bitcoin/bitcoin/pull/18593#discussion_r407062253
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions