Timeline for can a transaction never enter txpool but be included in blockchain
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 9, 2021 at 12:19 | vote | accept | kg_sYy | ||
Jun 8, 2021 at 20:36 | comment | added | user36303 | With the existing monerod, every tx goes through the txpool when syncing. See handle_incoming_tx, called from handle_notify_new_block, calling handle_incoming_txs, which calls add_new_tx. | |
Jun 8, 2021 at 19:23 | comment | added | kg_sYy | Thanks! So does every tx go through mempool when the chain is scanned from the beginning up to currect height? Do you have any pointer to where this happens in the code? I tried to look through the code for calls to tx_memory_pool::add_tx() but cannot find a clear flow. | |
Jun 8, 2021 at 16:33 | history | answered | user36303 | CC BY-SA 4.0 |