Doichain / doichain-core

Reimplementation of Namecoin on top of the current Bitcoin Core codebase.
MIT License
3 stars 2 forks source link

name_doi mit doichainjs-lib haben ein Ablaufdatum #8

Open stallingerl opened 2 years ago

stallingerl commented 2 years ago

Erstellt man ein asm script mit nameId und nameValue und fügt es als Output an eine psbt Transaktion an, wird der name_doi mit expiration in die Doichain übernommen:

doichain-cli name_list [ { "name": "QmV8bXu4JVuz1m9kERj6BZiuXTUvN5XfKBc2binRGArWdW", "name_encoding": "ascii", "value": "18cd9605cb4081cb66ef31bc4056c322919fec7b4ba5bcae5687ce9f8137adda", "value_encoding": "ascii", "txid": "c9cb836454471a3c2f45d9d2612f6f6fb0a87052e070ce70a638193b2d30f58f", "vout": 2, "address": "msLg9YL2b1z4sQv3QQZVr1Z23S72URgXLH", "ismine": false, "height": 15887, "expires_in": 11998, "expired": false } ]

Expected behavior

Der name soll kein Expiration Datum haben.

Actual behavior

Der name hat ein Expiration Datum von "expires_in": 11998,

silkroadnomad commented 1 year ago

The expiration date goes into Doichain but won't be checked anywhere. the old Namecoin behaviour was: if entry is expired it can be changed by anyone. out of my memory we disabled the possibility that expired entries can be changed. This needs to be validated one more time.