ebc38c9369
Fix lightwalletd sync loop for DragonX wallet
...
- Handle missing Sapling upgrade in getblockchaininfo response by
defaulting activation height to 1 (DragonX has Sapling active from
genesis but uses NO_ACTIVATION_HEIGHT in chainparams)
- Override consensus branch ID to Sapling (76b809bb) when node reports
Sprout (00000000) due to disabled activation heights
- Include full serialized block header in CompactBlock so the SDK can
validate hashFinalSaplingRoot against the Sapling commitment tree
- Set CompactBlock ProtoVersion to 1
2026-03-20 06:24:54 -05:00
jahway603
0f21f457a6
changed DenioD's github lightwalletd links to git.hush.is lightwalletd links
2020-11-27 22:13:24 -05:00
DenioD
f6fa52fde1
port to hush
2019-10-15 14:38:55 +02:00
Larry Ruane
da85a1d80b
GetDisplayPrevHash() should not change its argument
2019-10-09 14:54:35 -07:00
Aditya Kulkarni
7644852fc6
Fix hash encoding, change module names
2019-09-12 12:08:53 -07:00
mdr0id
1002580cd9
Add storing prevhash to local db and logs
2019-07-09 15:52:35 -07:00
Larry Ruane
2454b05b52
add prev_hash to logging
2019-06-28 12:22:22 -05:00
mdr0id
397a02ba0f
Update block name for exporting conflict
2019-06-06 17:44:13 -07:00
Jack Grigg
722118ade9
Add range check on height extracted from coinbase script
2019-05-22 12:04:02 -04:00
Jack Grigg
5acfb9af34
parser: Correctly parse heights from script-encoded int64 values
2019-05-22 12:04:02 -04:00
Jack Grigg
7451d85d15
parser: Add PrevHash field to CompactBlocks
2019-05-04 12:21:01 +01:00
George Tankersley
6d28a409bc
parser: replace genesis "blockheight" with zero
2019-02-25 14:20:44 -05:00
George Tankersley
d08abe82b4
walletrpc: improve protobuf/grpc package naming
2019-02-14 00:18:14 +00:00
George Tankersley
7726a6752d
cleanup: rename package and vendor dependencies for old go versions
...
Fixes #8 and begins to address deployability.
2019-01-03 19:14:51 +00:00
George Tankersley
7d7390eeae
parser: include block time in compact encodings
2018-12-17 18:51:30 -05:00
George Tankersley
a8e099d0fa
parser: cache block heights from coinbase
2018-12-14 21:54:59 -05:00
George Tankersley
71c0624abe
ingest: make zmq client store raw transaction data
2018-12-14 21:54:33 -05:00
George Tankersley
f35e72923a
parser: stop sending non-Sapling transactions (e.g. coinbase) in compact block vtx
2018-12-11 21:58:43 +00:00
George Tankersley
80b063fe8e
parser: expose little-endian hashes for harmony with wire format
2018-12-11 01:38:57 -05:00
George Tankersley
38d61b509c
rpc: update for API and protobuf changes
2018-12-04 18:22:06 -05:00
George Tankersley
0dee0b425e
storage: begin implementing sqlite3 storage
2018-11-19 18:20:59 -05:00
George Tankersley
7cc7095a81
parser: implement Compact Block encoding from ZIP307
2018-11-18 01:29:27 +00:00
George Tankersley
7736b2464b
parser: extract height from coinbase transaction
2018-11-17 00:02:56 +00:00
George Tankersley
e91ccd258f
client: implement rudimentary zmq client
2018-09-29 00:44:34 +00:00
George Tankersley
58e5f3e78b
parser: implement whole-block parsing and publicize constructors
2018-09-28 00:52:40 +00:00
George Tankersley
273de97b00
parser: split block header parsing into its own files
2018-09-19 22:48:33 +00:00
George Tankersley
bb60ca32bf
parser: give up on doing anything clever
2018-09-19 22:45:40 +00:00
George Tankersley
35638b3900
parser: generalize API for decoding serializable types
2018-09-17 13:45:21 -04:00
George Tankersley
c947b00d36
parser: clarify difference between block hash and block header hash
2018-09-14 15:02:47 -04:00
George Tankersley
e69779195f
parser: tidy up the BlockHeader API
2018-09-13 12:19:25 -04:00
George Tankersley
5d3e0308a8
parser: sufficiently test block header serialization
2018-09-13 11:51:55 -04:00
George Tankersley
69f376515c
parser: implement container-level parsing of block headers
2018-09-03 23:45:49 -04:00