Monitor transactions and/or blocks #12

issue gavinandresen opened this issue on December 22, 2010
  1. gavinandresen commented at 2:40 PM on December 22, 2010: contributor

    Design and implement a RPC call to register a HTTP-JSON-RPC callback, and have it get called when blocks and/or "transactions of interest" occur.

    Gavin has already implemented a version of this; unresolved issues are:

    • How to specify which transactions are "of interest" ? Transactions to a specific address after A/B/C confirmations? All transactions to (or from?) the wallet? All transactions to (or from?) a specific account?

    Note: information reported should be same as gettransaction.

    • What information to report about blocks (if any). Perhaps implement a getblock before monitorblock.
  2. gavinandresen commented at 7:36 PM on January 6, 2011: contributor
  3. mndrix commented at 6:09 PM on February 9, 2011: contributor

    If debug.log showed full transaction IDs in the "got inventory" line, one could do:

    tail -F debug.log | grep "got inventory.*new" | my-script
    

    to monitor for new transactions and then run gettransaction to see the details. For some projects, this would be easier since no HTTP server is required. As it is, only partial transaction IDs are visible in debug.log so this doesn't work.

  4. jgarzik commented at 6:22 AM on February 10, 2011: contributor

    Suggested monitorblocks API posted to forum.

  5. devurandom cross-referenced this on Dec 1, 2011 from issue bitcoin-qt crashes in db on startup by devurandom
  6. luke-jr cross-referenced this on Mar 25, 2012 from issue Startup blocks on mutex at "Loading Addresses" by luke-jr
  7. gavinandresen cross-referenced this on Apr 8, 2012 from issue addrMan crash on CentOS by gavinandresen
  8. luke-jr cross-referenced this on Apr 28, 2012 from issue Addrman crash by luke-jr
  9. jgarzik commented at 9:28 PM on July 5, 2012: contributor

    The current -blocknotify seems to take care of this. Addressing $IssueText directly, HTTP callbacks seem to have lost favor over program execution.

  10. jgarzik closed this on Jul 5, 2012

  11. dvdkhlng cross-referenced this on Mar 28, 2013 from issue Bitcoind aborts on startup: ./db/skiplist.h:152 Assertion `n >= 0' failed. by dvdkhlng
  12. jefflarkin referenced this in commit fe36ba4db8 on Apr 30, 2013
  13. nelisky referenced this in commit 884ededd8f on Nov 8, 2013
  14. justmoon referenced this in commit 5bc9ac0437 on Apr 7, 2014
  15. pstratem cross-referenced this on Jun 15, 2014 from issue libsecp256k1 integration by theuni
  16. rebroad cross-referenced this on Sep 11, 2014 from issue . by rebroad
  17. rdponticelli referenced this in commit 634bc1820c on Nov 26, 2014
  18. eduffield222 cross-referenced this on Jan 23, 2015 from issue Code vulnerable to segfault after a network fork by eduffield222
  19. lecbee cross-referenced this on Feb 16, 2015 from issue core dumped when closing bitcoin-qt by lecbee
  20. rustyrussell cross-referenced this on Mar 26, 2015 from issue Add autoprune functionality by sdaftuar
  21. primezeta cross-referenced this on Jun 24, 2015 from issue Segmentation fault on bitcoind or bitcoin-qt startup (64bit Linux) by primezeta
  22. seigneur cross-referenced this on Jul 7, 2015 from issue After upgrading to 0.10.2 bitcoind hangs at Opened LevelDB successfully by seigneur
  23. MarcoFalke referenced this in commit 313e7f5c89 on Oct 9, 2015
  24. brishtiteveja referenced this in commit 9880cb9b1a on Jan 25, 2016
  25. brishtiteveja referenced this in commit 0a8227f744 on Jan 25, 2016
  26. ptschip referenced this in commit 0521802eda on Feb 17, 2016
  27. destenson referenced this in commit 19b95268bb on Jun 26, 2016
  28. TheBlueMatt cross-referenced this on Feb 4, 2017 from issue bitcoind 'compacts' chainstate database almost every time I run it by dooglus
  29. gmaxwell cross-referenced this on Mar 15, 2017 from issue Running out of disk space during GUI init results in hang and non-drawing windows by gmaxwell
  30. Christewart referenced this in commit 18a606d524 on Jun 17, 2017
  31. CryptAxe referenced this in commit c7317ce9c0 on Jun 20, 2017
  32. AkioNak referenced this in commit 59fa42a9b9 on Jul 24, 2017
  33. dooglus cross-referenced this on Aug 25, 2017 from issue gui, wallet: random abort (segmentation fault) running master/HEAD by dooglus
  34. MarcoFalke referenced this in commit a68aed5c27 on Sep 29, 2017
  35. ptschip referenced this in commit a19dd533dd on Nov 4, 2017
  36. CryptAxe referenced this in commit 41231a2458 on Dec 28, 2017
  37. classesjack referenced this in commit 74bea6adf4 on Jan 2, 2018
  38. practicalswift cross-referenced this on Jan 28, 2018 from issue scripted-diff: Use scoped enumerations (C++11, "enum class") by practicalswift
  39. KrzysiekJ referenced this in commit c71b057f3b on Mar 28, 2018
  40. effectsToCause referenced this in commit 0146695e2d on Jun 22, 2018
  41. ashishchandr70 cross-referenced this on Sep 13, 2018 from issue bitcoind aborts with boost exception in WSL guest by ashishchandr70
  42. Rspigler cross-referenced this on Oct 13, 2018 from issue Bus error (core dumped) crash on Fedora (txindex migration?) by Rspigler
  43. dooglus referenced this in commit 6d4d468db7 on Oct 21, 2018
  44. kayront cross-referenced this on Apr 18, 2019 from issue bitcoin core does not compile on Solaris by kayront
  45. stefanwouldgo cross-referenced this on Sep 23, 2019 from issue strange behavior on termux by stefanwouldgo
  46. udovdh cross-referenced this on Oct 4, 2019 from issue LevelDB read failure: Corruption: block checksum mismatch by dooglus
  47. DigiGreenCoin referenced this in commit 4125432ebc on Oct 29, 2019
  48. Warchant referenced this in commit 7958da26e8 on Dec 31, 2019
  49. KolbyML referenced this in commit 94c2fdffb6 on Aug 1, 2020
  50. laanwj referenced this in commit 924a4ff7eb on Oct 29, 2020
  51. rednil cross-referenced this on Apr 7, 2021 from issue wallet: Segmentation fault during sync by rednil
  52. MarcoFalke referenced this in commit bce09da122 on Apr 28, 2021
  53. fanquake referenced this in commit fa00bb2c5c on Apr 29, 2021
  54. cryptapus referenced this in commit dd908da96b on May 3, 2021
  55. MarcoFalke referenced this in commit eb9a1fe037 on May 7, 2021
  56. MarcoFalke referenced this in commit c857148636 on May 15, 2021
  57. rajarshimaitra referenced this in commit c4346af75c on Aug 5, 2021
  58. bitcoin locked this on Sep 8, 2021
Labels
Linked (view graph)
#672 bitcoin-qt crashes in db on startup#737 Deadlock during startup (Appears to be AddAddress / DNSSeed related)#982 Startup blocks on mutex at "Loading Addresses"#999 v0.6.0rc5 segfault on initial blockchain download when out of diskspace#1065 addrMan crash on CentOS#1098 segfault in qrcode message dialog#1156 Addrman crash#2416 Bitcoind aborts on startup: ./db/skiplist.h:152 Assertion `n >= 0' failed.#2472 System error: database corrupted: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed#4312 libsecp256k1 integration#4895 .#5633 core dumped when closing bitcoin-qt#5698 Code vulnerable to segfault after a network fork#5795 Bizarre test_bitcoin crash, but passes in debugger#5863 Add autoprune functionality#5910 Gitian 64-bit bitcoin-qt segfaults on Ubuntu 14.04#6332 Segmentation fault on bitcoind or bitcoin-qt startup (64bit Linux)#6386 After upgrading to 0.10.2 bitcoind hangs at Opened LevelDB successfully#6540 scheduler_tests (currently disabled) occasionally deadlocks#8984 GUI hangs during sync#9348 Node crashed with assertion failure in network code#9683 gui, wallet: random abort (segmentation fault) running master/HEAD#9684 bitcoind 'compacts' chainstate database almost every time I run it#9687 bitcoin-qt crashed in FinalizeNode()#9759 Setting -maxsigcachesize to zero causes segfault#9881 v0.14.0rc2 crash on shutdown#9883 [Qt] Segfault on startup#9997 Running out of disk space during GUI init results in hang and non-drawing windows#10209 Stalled shutdown#10210 Frozen (for 15 minutes) on shutdown [dnsseed thread]#10293 SEGV in segwit fundrawtransaction#10742 scripted-diff: Use scoped enumerations (C++11, "enum class")#10861 Segfault on shutdown after pressing 'q' to postpone utxo db upgrade#11355 LevelDB read failure: Corruption: block checksum mismatch#11763 deadlock on shutdown#12038 deadlock on database corruption#12229 Shutdown deadlock in SyncWithValidationInterfaceQueue#12279 shutdown took 8 minutes in v0.15.0.1#12690 LevelDB "corrupted compressed block contents" errors#13316 make check fails for configure option --with-incompatible-bdb and Berkeley DB 5.3#14200 bitcoind aborts with boost exception in WSL guest#14330 [tests] segfault during`DEBUG=1` run of existing_data_no_obfuscate locally#14349 mac: make check failure on macOS 10.14#14466 Bus error (core dumped) crash on Fedora (txindex migration?)#14923 segmentation fault on gui startup#15227 bitcoind terminated with uncaught exception if configure --debug-enabled#15310 gui: crash if encrypt / change passphrase window is open and wallet is unloaded#15379 bitcoind crashes after exception in scheduler thread#15708 bitcoin core does not compile on Solaris#16307 scheduler: crash after releasing wallet#16751 strange behavior on termux#16815 wallet: CPU use proportional to wallet transaction count when idle#16875 gui: Avoid calling processEvents#16904 Bus error (core dumped) after "Using obfuscation key for" log line#16937 bitcoin-qt crash after early call to loadwallet#17540 ci build fails in ./qt/test/test_bitcoin-qt on aarch64 native tsan#17620 MemorySanitizer complains about unitialized variable in RPC method names#17627 Suppress false positive warning about uninitialized entropy buffers#17729 Fuzzing Bug undefined-behavior pubkey.cpp:210:38#18046 Some fuzzing crashes when running under ASan and/or UBSan#18090 gui: Crash if shutdown during processNewTransaction#18362 gui: segfault unloading and immediately reloading wallet with gui#18372 sanitizer: heap-use-after-free in checkinputs_test#18706 crash briefly after launching binaries compiled using --without-gui and --with-incompatible-bdb#18762 fuzz: AddressSanitizer: SEGV on unknown address in /strprintf#18763 fuzz: AddressSanitizer: container-overflow in /script fuzzer#18913 ci: fuzz/process_message fails#18924 QT Crash when using open wallet dialog#19024 UB: double lock of mutex in init.cpp#19049 test: Potential deadlock in wallet_tests/CreateWalletFromFile#19211 feature_reindex.py triggers data race#19417 Intermittent CI failure: ThreadSanitizer failure (data race) when running wallet_multiwallet.py --usecli#19448 qa: Data race detected when running `mempool_expiry.py`#19678 UBSan warning when fuzzing with -fsanitize=integer#19715 ThreadSanitizer: data race in feature_reindex.py#19789 fuzz: ASAN complaint on macOS with -fsanitize=fuzzer,address,undefined#19955 test: Potential deadlock in wallet_tests#20163 TSAN race after merge of #20090#20242 fuzz: Properly initialize PrecomputedTransactionData#20334 ci: fuzz/decode_tx fails#20542 Unexpected test fail: wallet/wallet.cpp:3113:51: runtime error: division by zero#20618 Data race in interface_zmq.py#21466 Avoid use of "socket" syscall when formatting IP addresses in CNetAddr::ToString#21479 fuzz: UndefinedBehaviorSanitizer warnings in netbase.cpp#21538 fuzz: Add fuzzing syscall sandbox: detect use of unexpected syscalls when fuzzing ("syscall sanitizer")#21605 wallet: Segmentation fault during sync#21632 MemorySanitizer: use-of-uninitialized-value in sqlite3BtreeOpen#21773 fuzz: Ensure prevout is consensus-valid#21802 refactor: Avoid UB in util/asmap (advance a dereferenceable iterator outside its valid range)#21948 test: Fix off-by-one in mockscheduler test RPC#22233 fuzz: UndefinedBehaviorSanitizer warnings in consensus/tx_verify.cpp#22537 UndefinedBehaviorSanitizer: implicit-integer-sign-change consensus/tx_verify#22548 CheckQueue_Correct_Random data race#22588 Cirrus CI showed error in netaddress.cpp file when checking PR#22592 LeakSanitizer detects memory leak if CDBWrapper ctor fails#23160 test_bitcoin-qt error: "Unable to init server: Could not connect: Connection refused"#23248 Bitcoin Core crashes under clang-13 libc++ with "Bad system call (core dumped)"#23321 bitcoind segfault's while loading tr descriptor on regtest v22.0#24290 segfault when compiled with depends DEBUG=1 and libc++#24426 test: Fix intermittent Tsan issue#24819 data race in SimpleRoundTripTest logging for macOS#25077 Fix chain tip data race and corrupt rest response#25146 Starting with an unsupported wallet configured leads to a segfault (master only?)#25323 miniscript fuzzer failing after qa-assets update#25365 ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) in BaseIndex#25632 SUMMARY: ThreadSanitizer: SEGV src/index/base.cpp:388:9 in BaseIndex::SetBestBlockIndex(CBlockIndex const*)::$_1::operator()() const#25692 psbt.h:896:51: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'#25824 UndefinedBehaviorSanitizer: stack-overflow in miniscript (descriptor_parse)#25857 IBD core dumped during recursive call to CCoinsViewCache::FetchCoin (while connecting best chain tip)#26068 Segmentation fault in the scheduler thread when an index fails to commit to the db#26274 bitcoind dumps core when deriveaddresses is called with index 2147483647 (2^31-1)#26477 validation: fix broken maxtipage comparison#27222 test: use-of-uninitialized-value in sqlite3Strlen30#27354 wallet: Data race in GetOrCreateLegacyScriptPubKeyMan vs IsMine#27355 index: ThreadSanitizer: data race on vptr #27360 ci: use LLVM/clang-16 in native_asan job#27582 TSAN: lock-order-inversion (potential deadlock) in ZapSelectTx test#27922 ci: fix llvm-symbolizer in MSAN jobs#27924 fuzz: banman, Assertion `banmap == banmap_read' failed#28510 migratewallet crashes on an freshly created datadir ( wallet/wallet.h:959: int wallet::CWallet::GetLastBlockHeight() const: Assertion `m_last_block_processed_height >= 0' failed.)#28665 'std::out_of_range' crash in I2P fuzz test#28917 fuzz, parse_iso8601: attempt to dereference an end-of-stream istreambuf_iterator#28918 fuzz, coinselection: Assertion 'result_bnb->GetChange(coin_params.m_cost_of_change, CAmount{0}) == 0' failed#28966 test: Add missing CBlockPolicyEstimator::processBlockTx suppression#28969 fuzz: Avoid signed-integer-overflow in wallet_notifications fuzz target#29153 new crash in v26.0#29178 ubsan: misaligned-pointer-use in crc32c/src/crc32c_arm64.cc#29767 ThreadSanitizer: data race src/flatfile.cpp:47:13 in FlatFileSeq::Open(FlatFilePos const&, bool)#29908 test: SegFault in `ismine_tests` on SunOS / illumos#30284 Mini miner `AncestorFeerateComparator` Signed Integer Overflow#30402 Illegal Instruction in `CoinStatsIndex::CustomAppend`#31203 fuzz: fix `implicit-integer-sign-change` in wallet_create_transaction#31234 fuzz: connman target: terminate called after throwing an instance of 'std::bad_alloc'#32173 validation: `CheckBlockIndex` crashes during block reconsideration#32780 lsan: add more Qt suppressions#32957 SegFault in QSortFilterProxyModelPrivate::build_source_to_proxy_mapping#33063 util: Revert "common: Close non-std fds before exec in RunCommandJSON"#33097 fuzz: `txgraph`: Assertion `cmp == 0' failed#33150 intermittent TSAN failure in lockmanager_tests::blockmanager_readblock_hash_mismatch#33277 intermittent Segmentation fault in mptest IPC path (callFnAsyncParams)#33964 Startup crash on macOS with GCC 15.2: `std::source_location::file_name()` is `nullptr`#34014 mptest hangs, when run in a loop#34110 scriptpubkeyman fuzz target creates Base58 too large; Fails on 32-bit (armhf, ...)#34645 oss-fuzz: coins_view_overlay: ASSERT: m_dirty_count == 0#34655 fuzz: keep `coins_view` fuzzers within caller contracts#34711 src/ipc/libmultiprocess/src/mp/proxy.cpp:416:44: runtime error: member access within null pointer of type 'mp::Waiter'#34732 i386 segv in #0 0xf7a49ce0 in kj::operator*(kj::_::Stringifier, kj::Exception const&) (/lib/i386-linux-gnu/libkj-1.1.0.so+0x38ce0)#34734 test: Fix shutdown vptr race in BlockFilterIndexSync bench#34756 ipc: AddressSanitizer: SEGV nptl/pthread_mutex_lock.c:80:23 in __pthread_mutex_lock#34777 ipc: AddressSanitizer: heap-use-after-free in `capnp::CallContext<ipc::capnp::messages::BlockTemplate::GetBlockParams, ipc::capnp::messages::BlockTemplate::GetBlockResults>::getParams()`#34782 mptest: mp::CancelMonitor: AddressSanitizer: stack-use-after-return#35207 tx_package_eval: Timeout in tx_package_eval#35293 kernel: btck_chainstate_manager_get_best_entry returns null after SetWipeDbs(true, true), accessors then SEGV

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:56 UTC