ElementsProject / ElementsProject/elements

txout nonce is inconsistently stored in coinsview

Offen
#1,004 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
1.2k
Forks
416
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
15

Beschreibung

We currently do not de/serialize the txout nonce in the `Coin` class, meaning that after restarting the node, all nonces in the utxoset are cleared, resulting in a network where everyone has an (inconsequentially) different version of the UTXO set.

Currently the nonce is not used for anything consensus-critical, but it may be in the future --- for example, we might want input nonces covered by a future sighash version --- so this is a massive footgun.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.