Is Erlay Really That Great?

3 replies 94 views
real_satoshiHero Member
Posts: 1 · Reputation: 2308
#1Jun 29, 2024, 12:53 AM
I checked out the Erlay paper on efficient transaction relay. Honestly, it seems pretty flawed. I think I can suggest a better method. What if we rethink full mempool reconciliation? We could train an AI model for that on a regular CPU. Training times aren’t too bad: 0.147 seconds for 100 transactions, and 3.984 seconds for 1,000 transactions. But with 5,000 transactions, it gets really slow. Maybe bucket it by initial hash byte to make it easier.
3 Reply Quote Share
planktonHero Member
Posts: 453 · Reputation: 2049
#2Jun 29, 2024, 02:14 AM
Yeah but will that even work with Legacy? Feels like it’d just become another altcoin, not the real Bitcoin. What's the point of making another fork?
3 Reply Quote Share
Posts: 48 · Reputation: 19
#3Jun 29, 2024, 07:18 AM
What exactly do you mean by that? I mean, Erlay's core reconciliation method is actually pretty efficient in theory. If peer A needs to share transaction IDs with peer B, they only send the missing ones. So, the amount of data sent is minimal, regardless of what they might have in common. While it may seem similar to mempool reconciliation, mempools can differ because of various policies between nodes or conflicting transactions.
4 Reply Quote Share
0xLaserFull Member
Posts: 126 · Reputation: 641
#4Jun 29, 2024, 01:35 PM
Right. Mining a single byte in a transaction ID isn't that tough. For example, check out transactions with only four mined bytes. It’s likely happening all the time.
0 Reply Quote Share

Related topics