namecoin / namecoin-core

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

Automated renewal #319

Open somewhatnmc opened 5 years ago

somewhatnmc commented 5 years ago

Missing a function of automated name updates under a specific threshold (e.g. at 20 blocks remaining). Suggested in #305 by @Tradefreak, continued here.

domob1812 commented 5 years ago

I agree that would be useful. However, I'm not sure if that should be part of the core daemon or perhaps rather something done by the Qt "frontend". @JeremyRand, what do you think?

Also this is a bit complicated with encrypted wallets - for those we would need to pre-create and store (likely in the wallet) the update transaction, but then also make sure that it doesn't get invalidated by a double spend in the mean time. This could be solved by always pre-creating transactions for all names in the wallet whenever a transaction is done (and the wallet unlocked), but that seems both a potential performance issue and messy.

yanmaani commented 4 years ago

Transaction queuing has been considered, and is already added to electrum-nmc. That functionality is/shall be used for name_autorenew and name_autoregister in that project. Those are to be added in Core too, as I understand it.