diff options
| author | gzhao408 <[email protected]> | 2020-05-09 13:42:15 -0700 |
|---|---|---|
| committer | gzhao408 <[email protected]> | 2020-05-19 14:24:27 -0700 |
| commit | 651f1d816f054cb9c637f8a99c9360bba381ef58 (patch) | |
| tree | 9f3432f5c419b57cefe4c09c708808bf9fd50929 /src/httpserver.cpp | |
| parent | [mempool] sanity check that all unbroadcast txns are in mempool (diff) | |
| download | discoin-651f1d816f054cb9c637f8a99c9360bba381ef58.tar.xz discoin-651f1d816f054cb9c637f8a99c9360bba381ef58.zip | |
[test] wait for inital broadcast before comparing mempool entries
- mempool entry 'unbroadcast' field changes when tx passes initial broadcast (receive getdata),
so anytime you compare mempool entries as a whole, you must wait for all broadcasts to complete
('unbroadcast' = False) otherwise the state may change in between calls
- update P2PTxInvStore to send msg_getdata for invs and add functionality to wait for a list
of txids to complete initial broadcast
- make mempool_packages.py wait because it compares entries using getrawmempool and
getmempoolentry
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions