ElementsProject / ElementsProject/elements

Implement fast merkleroot computations in Python

Aperta
#941 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

Currently our functional tests require setting the global `util.node_fastmerkle` with an Elements node, and to compute merkle roots in blocktools.py we call an RPC on this node. This is ugly and crazy and causes mysterious failures when adding new tests. We should just implement sha2 midstates in Python (there is plenty of MIT-licensed code floating around which does this, for example https://github.com/slush0/stratum-mining-proxy/blob/master/mining_libs/midstate.py ).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.