3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 06:44:16 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
langerhans
889ff26ebf Update fasterxml dependency 2019-05-04 16:40:20 +02:00
JeremyRand
31fb8985ba Namecoin LevelDBTransactionCache: Only store name scriptPubKey in the record, not entire transaction. (#32)
This breaks backward compatibility with older name databases.  You'll need to delete the blockchain and resync.
2018-03-18 08:59:42 +00:00
JeremyRand
9d20db9a84 Namecoin: add LevelDBTransactionCache algorithm. (#27)
Added Namecoin latest-name lookup algorithm using a local LevelDB transaction cache.
2017-11-06 10:36:12 +00:00
JeremyRand
0237a504c4 Fix verification bug in Namecoin.
P2P full-block by-hash retrieval wasn't verifying that the received block had a header whose hash matched the requested hash.

This probably made it trivially easy to falsify name records, since any internally valid block supplied by a malicious P2P peer (or a MITM attacker) would be accepted, and the name transactions in it trusted as valid, even if the block had (for example) minimum difficulty.

The REST Merkle API is unaffected.

There's a reason I haven't deployed libdohj-namecoin to end users yet; this is that reason.  Review takes time.
2016-07-21 19:59:20 +00:00
JeremyRand
ca28f2a0ba Add classes for name lookups with SPV verification. 2016-07-04 04:04:39 +00:00