Jack Grigg
c4a48902db
ingest: Log block and transaction hashes in display order
We should also be consistent in the SQLite database about either storing
as TEXT in display order, or storing as BLOB in wire order. But as
that's another breaking change, let's bundle it in with anything else we
need to do to address this problem.
5 years ago
Jack Grigg
722118ade9
Add range check on height extracted from coinbase script
5 years ago
Jack Grigg
bb62739502
Test against the first 20 mainnet blocks
5 years ago
Jack Grigg
0e4add3950
Idiomatic constant naming
5 years ago
Jack Grigg
ca123682cc
Improve references to serializing and parsing int64 in CScripts
5 years ago
Jack Grigg
5acfb9af34
parser: Correctly parse heights from script-encoded int64 values
5 years ago
str4d
4794bca46e
Merge pull request #37 from mdr0id/reorg_logic1
Use REPLACE on db row creation for initial reorg logic
5 years ago
Jack Grigg
0a8eb6846b
Re-add removed whitespace
5 years ago
str4d
56b031c317
Merge pull request #40 from str4d/prevhash
Add PrevHash field to CompactBlocks
5 years ago
Jack Grigg
7451d85d15
parser: Add PrevHash field to CompactBlocks
5 years ago
Jack Grigg
ede5e7b7ec
walletrpc: Update CompactBlock protobuf with prevHash field
5 years ago
mdr0id
75cc3d49ba
Use REPLACE for db row creation on initial reorg logic
5 years ago
George Tankersley
3cea5073ca
README: fix persistent bug where publication immediately reveals errors
5 years ago
George Tankersley
b7ae8ff80f
README.md: add documentation
5 years ago
George Tankersley
d53507cc39
storage: store blocks and update current height within the same transaction
5 years ago
George Tankersley
6d28a409bc
parser: replace genesis "blockheight" with zero
5 years ago
George Tankersley
51614ecd2b
module: run go mod tidy && go mod vendor
5 years ago
George Tankersley
e910ee0475
frontend: increase GetBlockRange timeout to 30 seconds
The previous shorter timeout was causing failures in testing and
production.
5 years ago
George Tankersley
d81f06e513
parser: fix fOverwintered check for nExpiryHeight
5 years ago
George Tankersley
0cb0bb51af
frontend: implement SendTransaction
5 years ago
George Tankersley
d08abe82b4
walletrpc: improve protobuf/grpc package naming
6 years ago
George Tankersley
7726a6752d
cleanup: rename package and vendor dependencies for old go versions
Fixes #8 and begins to address deployability.
6 years ago
George Tankersley
7d7390eeae
parser: include block time in compact encodings
6 years ago
George Tankersley
09007ad856
storage: small fixes and sqlite3-specific tuning
6 years ago
George Tankersley
9a0639761b
ingest: update topic title for zcashd patchset
6 years ago
George Tankersley
8cb238fd60
storage: some minor storage & logging tweaks
6 years ago
George Tankersley
a8e099d0fa
parser: cache block heights from coinbase
6 years ago
George Tankersley
71c0624abe
ingest: make zmq client store raw transaction data
6 years ago
George Tankersley
d4d991a191
frontend, storage: change naming convention for transactions
6 years ago
George Tankersley
69027f5b48
ingest: rename 'client' to 'ingest'
Client was very ambiguous.
6 years ago
George Tankersley
0d84493db3
frontend, storage: improve GetBlockRange, fix tests
6 years ago
George Tankersley
abca4335ec
tests: unify testdata directory
6 years ago
George Tankersley
313adc8432
frontend: implement GetBlockRange and GetTransaction
6 years ago
George Tankersley
5c2e5479a3
storage: store full transactions and decouple storage from rpc
6 years ago
George Tankersley
f35e72923a
parser: stop sending non-Sapling transactions (e.g. coinbase) in compact block vtx
6 years ago
George Tankersley
f0c2405593
cmd: fix inconsistent logging for binaries
6 years ago
George Tankersley
0680706bdf
client: move client code to cmd/ subdir
6 years ago
George Tankersley
045043529c
zmq: update zmq client with logging and options
6 years ago
George Tankersley
84e6de593f
frontend: remember to close database connections on stop
6 years ago
George Tankersley
f4d918b5f5
storage: remove redundant encoding version column
6 years ago
George Tankersley
f6def7cda8
frontend: implement GetLatestBlock, GetBlock; refactoring
6 years ago
George Tankersley
80b063fe8e
parser: expose little-endian hashes for harmony with wire format
6 years ago
George Tankersley
677b74359b
server: add app tag to log messages
6 years ago
George Tankersley
54313b7c06
server: begin implementing gRPC methods
6 years ago
George Tankersley
79efd4b911
server: implement gRPC skeleton
6 years ago
George Tankersley
38d61b509c
rpc: update for API and protobuf changes
6 years ago
George Tankersley
dda5dffe6b
rpc: generate new protobuf code
6 years ago
George Tankersley
a3ce1900c9
rpc: minor nits on prior update
6 years ago
George Tankersley
e2326f1aea
rpc: new protobufs for better separation of concerns + real use cases
6 years ago
George Tankersley
f331ba1f21
storage: add sqlite3 (database/sql) storage support
6 years ago