adityapk00
7ff8513186
Zecwallet latency logging
2021-04-20 10:40:36 -07:00
adityapk00
cac5873ecd
Add metrics
2021-04-20 10:32:41 -07:00
adityapk00
f05fef2762
Merge fixes
2021-04-19 13:46:14 -07:00
adityapk00
0605b33e39
Merge
2021-04-19 13:38:25 -07:00
Larry Ruane
dcad72ed25
generalize GetAddressUtxos to accept taddr list
2021-04-08 11:22:12 -06:00
Larry Ruane
17c47cfebe
call checkTaddress() for each given taddress
2021-03-08 12:25:02 -07:00
Larry Ruane
824cb8dc8e
check SplitN() return value to prevent indexing beyond end of slice
2021-03-08 12:25:02 -07:00
Larry Ruane
ad739ce055
allow Ping testing grpc only if explicitly enabled
2021-03-08 12:25:02 -07:00
Larry Ruane
86a76a96cb
check txid (hash0 length argument, must be 64
2021-03-08 11:23:05 -07:00
Larry Ruane
22dda4a28d
check all json.Unmarshal() error returns
2021-03-08 11:14:48 -07:00
Larry Ruane
d9d12998b2
remove error logging that client requests can cause
2021-03-08 10:51:31 -07:00
Larry Ruane
82045d493a
fix GetTaddressBalance (json problem)
2021-01-15 14:05:27 -07:00
Larry Ruane
acca1a7c80
Update protoc grpc toolchain to latest
...
I installed the latest toolchain according to:
https://grpc.io/docs/languages/go/quickstart/
I updated the protoc command line arguments in Makefile based on
that quickstart guide, then I ran: make update-grpc
This has set the tool version (which you can see at the top of
any .pb.go file) to:
protoc-gen-go v1.25.0
protoc v3.14.0
2021-01-05 18:20:10 -07:00
Dimitris Apostolou
b450634ab7
Fix typos
2020-12-21 13:03:41 -07:00
Larry Ruane
33e7312218
add zcashd versioning to GetLightdInfo result
2020-12-03 22:55:08 -07:00
Larry Ruane
1712bde1bc
add gRPC GetAddressUtxos
2020-10-28 13:09:59 -06:00
Larry Ruane
c66521335f
add GetTreeState gRPC (for checkpoints)
2020-10-28 12:55:38 -06:00
Larry Ruane
20105167b8
GetBlockRange, GetTaddressTxids segfault: add checking for nil (null) arguments
2020-10-07 15:38:47 -06:00
Larry Ruane
063287888f
add more version information to GetLightdInfo result
2020-10-06 10:03:37 -06:00
Larry Ruane
1906e1d1eb
fix GetTransaction (broken in "add GetMempool()" commit)
2020-10-06 09:36:22 -06:00
Larry Ruane
ac1bf8481c
refactor Reverse(), no functional changes
2020-09-14 10:31:17 -06:00
Larry Ruane
7381129740
add GetMempoolTx()
2020-09-10 14:01:01 -06:00
Larry Ruane
6aa9bdfc40
refactor GetTaddressBalance* functions to eliminate duplicated code
2020-08-19 13:05:23 -06:00
Larry Ruane
4443b64071
rename GetAddress* to GetTAddress* (review)
2020-08-19 13:05:23 -06:00
Larry Ruane
dda62f948c
Modification requested by review
...
- renamed GetAddressBalance to GetAddressBalanceStream
- changed GetAddressBalance argument to repeated (string) rather than
streaming
- rename balance field to valueZat (consistent with zcashd)
2020-08-19 13:05:23 -06:00
Larry Ruane
97840c8ec7
add GetAddressBalance gRPC
2020-08-19 13:05:23 -06:00
Aditya Kulkarni
e640edf40c
Improve errors
2020-06-28 09:59:45 -07:00
Aditya Kulkarni
fc8ebbcc0f
Test getaddresstxids structure
2020-06-28 06:59:24 -07:00
Aditya Kulkarni
2682075dae
Log only if respose was returned
2020-06-24 10:47:24 -07:00
Larry Ruane
f72a6d8eba
add error check to StageBlocksStream
2020-05-29 10:36:34 -06:00
Kevin Gorham
6b0c1cc43e
Fixes GetTransaction returning base64 hex values.
2020-05-28 17:01:00 -06:00
Larry Ruane
7ac1a3f983
small improvements to transaction stuff, small fixes
2020-05-21 11:48:03 -06:00
Larry Ruane
6ddd894a96
change vendor string from ECC DarkWalletD to ECC DarksideWalletD
2020-05-21 11:48:03 -06:00
Larry Ruane
39348100a9
fix StageTransactions, vendor = ECC LightWalletD
2020-05-21 11:48:03 -06:00
Larry Ruane
7420d565a8
don't special-case darkside in SendTransaction, just use the mock rpc handler
2020-05-21 11:48:03 -06:00
Larry Ruane
f1e793796f
implement staging, not well tested
2020-05-21 11:48:03 -06:00
Larry Ruane
52ac837370
New "staging" api (StageBlocks, StageTransactions, ApplyStaged)
...
Also remove the initial block load (all blocks will come from the
Staging APIs), but there is still more to do (this does not even
start up correctly) but darkside.proto is correct, we believe.
2020-05-21 11:48:03 -06:00
Larry Ruane
9371f984ae
GetBlockRange: don't pass mutex in channel (linter warning)
2020-05-21 11:48:03 -06:00
Larry Ruane
d08d8980a8
add support for gRPC GetTransaction() (mined tx)
2020-05-21 11:48:03 -06:00
Larry Ruane
5e37f408e3
address review comments
2020-05-21 11:48:03 -06:00
Larry Ruane
86fd87404b
add darkside SetMetaState, SetBlocksURL for reorg testing
2020-05-21 11:48:03 -06:00
Aditya Kulkarni
af29c003ad
Use x-real-ip header
2020-05-19 20:12:54 -07:00
Aditya Kulkarni
e96e088f2d
Add end height to latency
2020-05-19 16:00:01 -07:00
Aditya Kulkarni
e16530fa5d
daily active block
2020-05-19 15:39:06 -07:00
Aditya Kulkarni
7b73309821
Add latency logging
2020-05-17 22:51:51 -07:00
Aditya Kulkarni
74c2196246
Add logging
2020-05-13 19:02:09 -07:00
Larry Ruane
c2a6306ce5
Misc cleanups and fixes
...
- improved corruption recovery (don't back up by just 1 block at a time)
- move darksidewallet gRPCs to their own .proto file
- this force-push removes my commits for reorg testing using SetState
2020-04-24 16:55:47 -06:00
Larry Ruane
8974cd1586
fix merge conflicts while rebasing onto file-cache branch
2020-04-24 16:55:47 -06:00
Taylor Hornby
d258ee75b0
Rename Evil to Darkside, because writing tests isn't evil
2020-04-24 16:55:47 -06:00
Taylor Hornby
1a93b8d97c
Add darksidewalletd mode for reorg testing.
2020-04-24 16:55:47 -06:00