namecoin / namecoin-core

Namecoin full node + wallet based on the current Bitcoin Core codebase.
https://www.namecoin.org/
MIT License
455 stars 146 forks source link

Allow multiple updates of one name in one block #304

Closed domob1812 closed 5 years ago

domob1812 commented 5 years ago

Namecoin supports updating a name multiple times in one block on the consensus layer (with transactions chained on each other). The mempool implementation however does not allow it, which is an artefact of the original implementation of Namecoin Core and just for simplicity.

For Xaya, it would actually be pretty useful to "properly" allow multiple updates in one block. Also for Namecoin that can be useful, e.g. if you messed up your .bit name update and want to fix it fast (or perhaps change your TLS fingerprint quickly in an emergency). Fixing the mempool to allow this is probably not too hard.

@JeremyRand, I think you actually asked for this feature some time ago, IIRC. What do you and others think about this change?

domob1812 commented 5 years ago

Reopening, we should also merge this to the 0.18 branch so that miners and relaying nodes can update as soon as possible.

domob1812 commented 5 years ago

Actually, let's keep this 0.19 only. Backporting to 0.18 would involve also backporting #321, and overall be quite a large refactoring for a supposedly stable branch. There is not much harm if we delay "activating" this change some more.