Last active
January 30, 2020 16:39
-
-
Save afk11/b059dbd59e9b604500779a95f8bcfc7b to your computer and use it in GitHub Desktop.
'Quiet' ZMQ tx notifications during reorg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rawtx tx1 <- TransactionAddedToMempool | |
rawtx tx2 <- TransactionAddedToMempool | |
rawtx tx3 <- TransactionAddedToMempool | |
rawtx blka1CoinBase <- BlockConnected | |
rawtx tx1 <- BlockConnected | |
rawtx tx2 <- BlockConnected | |
rawtx tx3 <- BlockConnected | |
rawblock blk1a (tx1, tx2, tx3) <- UpdatedTip | |
(background, send block1b EMPTY) (noop) | |
(background, send block2b tx1, tx2, tx3)** bitcoind reorg triggered after this | |
rawblock blk2b (tx1, tx2, tx3) <- UpdatedTip **when we learn about reorg | |
** this is when we would start unconfirming block1a ** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment