Commit Graph

52 Commits

Author SHA1 Message Date
George Tankersley
5c2e5479a3 storage: store full transactions and decouple storage from rpc 2018-12-12 20:56:22 +00: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
f0c2405593 cmd: fix inconsistent logging for binaries 2018-12-11 03:37:42 -05:00
George Tankersley
0680706bdf client: move client code to cmd/ subdir 2018-12-11 03:17:27 -05:00
George Tankersley
045043529c zmq: update zmq client with logging and options 2018-12-11 03:16:30 -05:00
George Tankersley
84e6de593f frontend: remember to close database connections on stop 2018-12-11 03:12:49 -05:00
George Tankersley
f4d918b5f5 storage: remove redundant encoding version column 2018-12-11 03:05:12 -05:00
George Tankersley
f6def7cda8 frontend: implement GetLatestBlock, GetBlock; refactoring 2018-12-11 02:32:40 -05:00
George Tankersley
80b063fe8e parser: expose little-endian hashes for harmony with wire format 2018-12-11 01:38:57 -05:00
George Tankersley
677b74359b server: add app tag to log messages 2018-12-11 00:18:13 -05:00
George Tankersley
54313b7c06 server: begin implementing gRPC methods 2018-12-10 19:43:48 -05:00
George Tankersley
79efd4b911 server: implement gRPC skeleton 2018-12-10 18:29:04 -05:00
George Tankersley
38d61b509c rpc: update for API and protobuf changes 2018-12-04 18:22:06 -05:00
George Tankersley
dda5dffe6b rpc: generate new protobuf code 2018-12-04 15:29:34 -05:00
George Tankersley
a3ce1900c9 rpc: minor nits on prior update 2018-11-30 18:00:13 +00:00
George Tankersley
e2326f1aea rpc: new protobufs for better separation of concerns + real use cases 2018-11-30 17:03:35 +00:00
George Tankersley
f331ba1f21 storage: add sqlite3 (database/sql) storage support 2018-11-29 18:17:23 +00:00
George Tankersley
77c3f771e0 storage: test sqlite in-memory 2018-11-20 21:45:50 -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
768e5242dc parser: implement transaction GetHash()
Manually tested against the blocks in testdata.
2018-11-16 22:47:52 +00:00
George Tankersley
f42dea2b1e parser: present block hashes in big endian order 2018-11-16 21:57:21 +00:00
George Tankersley
f4d5ff96ed parser: add basic fuzzing 2018-11-07 21:01:20 +00:00
George Tankersley
e91ccd258f client: implement rudimentary zmq client 2018-09-29 00:44:34 +00:00
George Tankersley
bf2d3afd2b proto: include service definition 2018-09-28 22:07:05 +00:00
George Tankersley
09cd0300e6 proto: add initial protocol definitions 2018-09-28 21:55:52 +00:00
George Tankersley
58e5f3e78b parser: implement whole-block parsing and publicize constructors 2018-09-28 00:52:40 +00:00
George Tankersley
e3b5a9558d parser: finish ZIP243 tests 2018-09-26 23:29:03 +00:00
George Tankersley
f41cf60f5c parser: break header checks into subroutine 2018-09-26 20:58:30 +00:00
George Tankersley
e297819781 parser: transcribe ZIP243 test vectors 2018-09-26 20:58:30 +00:00
George Tankersley
f460b3cfb7 parser: remove unused raw field from test structs 2018-09-25 19:45:06 +00:00
George Tankersley
9703c779ed parser: TODO: ZIP243 tests 2018-09-25 03:24:18 +00:00
George Tankersley
b6f8edffda parser: finish zip143 tests 2018-09-25 03:19:14 +00:00
George Tankersley
47e727f1ba parser: move transparent in/out tests to separate functions 2018-09-25 02:13:57 +00:00
George Tankersley
e089380dfb parser: transcribe zip143 joinsplits 2018-09-25 01:55:30 +00:00
George Tankersley
b742b8a5d5 parser: add ZIP143 (pre-Sapling) test vectors 2018-09-25 00:53:33 +00:00
George Tankersley
48a24aeca1 parser: WIP transaction parsing tests 2018-09-20 22:40:39 +00:00
George Tankersley
b9ddd9483d parser: correct minor errors 2018-09-20 22:40:13 +00:00
George Tankersley
30370cd206 parser/internal/bytestring: return CompactSize reads as int rather than uint64 2018-09-20 22:09:58 +00:00
George Tankersley
2d9cf24f74 parser: use nil to indicate zero-count vectors 2018-09-20 21:54:55 +00:00
George Tankersley
dfb05c261d parser: finish first pass transaction parsing 2018-09-20 21:44:59 +00:00
George Tankersley
4bd20d9dab parser: WIP transaction parsing 2018-09-20 20:39:26 +00:00
George Tankersley
f90ee7085d parser: fix TODO formatting 2018-09-20 20:39:06 +00:00
George Tankersley
878b3eb9ce initialize module 2018-09-19 23:17:06 +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