๐ค glozow reviewed a pull request: "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module"
(https://github.com/bitcoin/bitcoin/pull/28031#pullrequestreview-1543694803)
Reworked this into a `TxDownloadManager` (https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1262316909) and addressed most comments.
(https://github.com/bitcoin/bitcoin/pull/28031#pullrequestreview-1543694803)
Reworked this into a `TxDownloadManager` (https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1262316909) and addressed most comments.
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272393191)
Done :+1:
This now has 2 logs:
- TXPACKAGES "accepted orphan tx (wtxid)"
- MEMPOOL "AcceptToMemoryPool ... (txid)" which matches the one in `ProcessMessage` for a tx message
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272393191)
Done :+1:
This now has 2 logs:
- TXPACKAGES "accepted orphan tx (wtxid)"
- MEMPOOL "AcceptToMemoryPool ... (txid)" which matches the one in `ProcessMessage` for a tx message
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272435787)
Done
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272435787)
Done
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293973655)
Changed these to `if(!Assume(...)) return;`
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293973655)
Changed these to `if(!Assume(...)) return;`
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293972937)
Thanks, fixed
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293972937)
Thanks, fixed
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272492061)
Dropped the commit instead
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272492061)
Dropped the commit instead
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293973180)
Fixed
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293973180)
Fixed
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272428700)
Removed the prefix
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272428700)
Removed the prefix
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272426199)
Good point. The reason for excluding orphanage is actually not applicable yet so I have dropped it for now.
This is really only applicable when we are requesting the `ancpkginfo` for a tx. We want to exclude orphanage because otherwise, `AlreadyHaveTx` will return true and we will never request `ancpkginfo`s.
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1272426199)
Good point. The reason for excluding orphanage is actually not applicable yet so I have dropped it for now.
This is really only applicable when we are requesting the `ancpkginfo` for a tx. We want to exclude orphanage because otherwise, `AlreadyHaveTx` will return true and we will never request `ancpkginfo`s.
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293974858)
Replaced the exposure of `Count` to `CheckIsEmpty()` functions
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293974858)
Replaced the exposure of `Count` to `CheckIsEmpty()` functions
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293978623)
Added `MEMPOOLREJ` log and successful `AcceptToMemoryPool` log for both orphan and non-orphan tx results.
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293978623)
Added `MEMPOOLREJ` log and successful `AcceptToMemoryPool` log for both orphan and non-orphan tx results.
๐ฌ brunoerg commented on pull request "fuzz: improve `coinselection`":
(https://github.com/bitcoin/bitcoin/pull/27585#discussion_r1293979442)
I checked that 1แนฉ may break `assert(result_bnb->GetChange(coin_params.m_cost_of_change, CAmount{0}) == 0);`
(https://github.com/bitcoin/bitcoin/pull/27585#discussion_r1293979442)
I checked that 1แนฉ may break `assert(result_bnb->GetChange(coin_params.m_cost_of_change, CAmount{0}) == 0);`
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293981371)
This is gone now, replaced with registration of `ConnectionInfo` when the node first connects.
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293981371)
This is gone now, replaced with registration of `ConnectionInfo` when the node first connects.
๐ฌ glozow commented on pull request "Package Relay 1/3: Introduce TxPackageTracker as Orphan Resolution Module":
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293981811)
Removed the special casing. I can't remember why it comes into play later, but if I do, I'll add it when it's needed.
(https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1293981811)
Removed the special casing. I can't remember why it comes into play later, but if I do, I'll add it when it's needed.
๐ฌ achow101 commented on pull request "Break up script/standard.{h/cpp}":
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293985018)
leaving as is since it is only moved.
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293985018)
leaving as is since it is only moved.
๐ฌ achow101 commented on pull request "Break up script/standard.{h/cpp}":
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997139)
Done
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997139)
Done
๐ฌ achow101 commented on pull request "Break up script/standard.{h/cpp}":
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997252)
Added comment as suggested
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997252)
Added comment as suggested
๐ฌ achow101 commented on pull request "Break up script/standard.{h/cpp}":
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997485)
Cherry picked 461259c4ecc1e48d028eaea56061e72a6667ce4f from #26291
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997485)
Cherry picked 461259c4ecc1e48d028eaea56061e72a6667ce4f from #26291
๐ฌ achow101 commented on pull request "Break up script/standard.{h/cpp}":
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997590)
Dropped the reference
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997590)
Dropped the reference
๐ฌ achow101 commented on pull request "Break up script/standard.{h/cpp}":
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997660)
Dropped those comments.
(https://github.com/bitcoin/bitcoin/pull/28244#discussion_r1293997660)
Dropped those comments.