Taylor Hornby
5d769e3011
Make darksidewalletd doc improvements
2020-04-29 15:09:25 -06:00
Taylor Hornby
50b866e9bf
Add initial darksidewalletd docs
...
Co-authored-by: Linda Lee <linda@z.cash>
2020-04-27 14:49:47 -06:00
Larry Ruane
f4d5d8e4b2
if corruption detected, save db files for analysis
2020-04-24 16:55:47 -06:00
Larry Ruane
c10659e977
fix CI failure (ReplaceAll() is too new)
2020-04-24 16:55:47 -06: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
f57e589752
update testdata/default-darkside-blocks coinbase height
...
Follow-on to previous commit. Without this change,
darksidewalletd detects corruption, example:
{..."CORRUPTION detected in db blocks-cache files, height 1000..."}
Steps to recreate default-darkside-blocks:
$ mkdir blocks
$ touch blocks/{1000,1001,1002,1003,1004,1005}.txt
$ go run cmd/genblocks/main.go >testdata/default-darkside-blocks
2020-04-24 16:55:47 -06:00
Taylor Hornby
35e627066c
Fix coinbase height in block generation tool
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
ccb7211712
Add scripts to assist with controlling darksidewalletd
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
673a9635fc
Run gofmt on server/main.go and common/darkside.go
2020-04-24 16:55:47 -06:00
Taylor Hornby
d55d9b1c64
Add tool for generating fake blockchains
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
Larry Ruane
3873a4d895
mutex.Lock during c.recoverFromCorruption()
2020-04-23 00:25:14 -06:00
Larry Ruane
1d11751e4e
update README
2020-04-13 22:22:44 -06:00
Ben Wilson
d49d7e9bf0
Merge pull request #227 from zcash/ben/tekton-ci-dockerbuild
...
Added tekton for Docker image build
2020-04-13 13:07:42 -04:00
Ben Wilson
b92ec8e4ef
Merge branch 'master' into ben/tekton-ci-dockerbuild
2020-04-13 12:56:37 -04:00
Ben Wilson
f53b20925b
Merge pull request #236 from zcash/ben-prometheus-metrics-merge
...
Add http endpoint and prometheus metrics framework, take 2
2020-04-13 12:43:53 -04:00
Larry Ruane
2a915b7223
ran make update-grpc
2020-04-09 10:57:38 -06:00
Ben Wilson
25afaeae5c
Added back logging interceptor for non-tls, fixed version on startup
2020-04-09 10:27:08 -06:00
Ben Wilson
bf68d46bc9
revert unintended docker/zcash.conf change
2020-04-09 10:27:08 -06:00
Ben Wilson
999c00a666
Moved HTTP endpoint startup to a fucntion
2020-04-09 10:27:08 -06:00
Ben Wilson
ce99950565
Update http handler
2020-04-09 10:26:42 -06:00
Larry Ruane
1ff6ea4091
move block cache from memory to files
2020-04-08 18:10:50 -06:00
Larry Ruane
f4ad7146d6
finish documenting gRPC api: methods, arguments, return values
2020-04-06 11:14:14 -06:00
Ben Wilson
d849a91eba
Return common.Version for GetLightdInfo
2020-04-03 14:02:18 -06:00
Ben Wilson
76d266e7e5
Added additional version logging on startup
2020-04-03 14:02:18 -06:00
Ben Wilson
137e04acb6
Added additional build details
2020-04-03 14:02:18 -06:00
Larry Ruane
2fe2d9ac62
add automatic version string based on git-describe (tags)
2020-04-03 14:02:18 -06:00
Ben Wilson
7b14bd4019
Added tekton for Docker image build
2020-03-23 15:01:04 -04:00
Larry Ruane
46edad2748
add a gRPC test client for performance measurement and stress testing
2020-03-19 21:10:47 -06:00
Larry Ruane
2e71eb3d7e
add update-grpc makefile target, run it (update all packages and tools)
2020-03-19 20:40:53 -06:00
Ben Wilson
3b55f76fe6
Merge pull request #175 from zcash/Use-cobra-and-viper-for-configuration
...
Use cobra and viper for configuration
2020-03-18 15:37:54 -04:00
Larry Ruane
e71de4d88f
rebase PR 175 - Use cobra and viper for configuration
2020-03-18 12:13:30 -06:00
Ben Wilson
16ba9f1a81
Added logging for no-tls-very-insecure
2020-03-18 08:56:29 -06:00
Ben Wilson
a3936b376a
Updated Makefile for new build options
2020-03-18 08:56:29 -06:00
Ben Wilson
dffb18cf0f
Example usage of cobra and viper for configuration
...
Remove extra configs
Move server startup to rootcmd
Fixed broken insecure flags and example config name
2020-03-18 08:56:29 -06:00
Larry Ruane
3ffef5c18e
auto-generate docs and .pb.go files if .proto changes
2020-03-17 16:18:24 -06:00
Larry Ruane
1dc439080b
add COPYING and copyright lines
2020-03-12 12:02:55 -06:00
Ben Wilson
723071dcb3
Merge pull request #208 from zcash/ben/use-dockerhub-for-zcashd-docker-image-source
...
Update docker-compose to use the Docker hub images
2020-03-12 09:00:52 -04:00
Ben Wilson
c41a797f69
Merge branch 'master' into ben/use-dockerhub-for-zcashd-docker-image-source
2020-03-12 08:20:21 -04:00
Larry Ruane
74ae24692d
add information on configuring and using zcashd
2020-03-11 15:35:31 -06:00
Ben Wilson
1782ca0ac0
Update docker-compose to use the Docker hub images
2020-03-11 09:01:56 -04:00
Larry Ruane
2bc78857b1
add better proto file doc (re-generation requires docker)
2020-03-02 17:21:41 -07:00
Larry Ruane
40f9dab995
add documentation for lightwalletd APIs and data types
2020-03-02 17:21:41 -07:00
Larry Ruane
48f4de0efb
add simple gRPC test client
2020-02-24 12:56:19 -07:00
Larry Ruane
996de790e2
add back the --no-tls-very-insecure for simpler testing
2020-02-11 15:52:49 -07:00
Larry Ruane
a4f968823f
test improvements, and minor cleanups
2020-01-31 16:36:31 -07:00
Marshall Gaucher
59170d4911
Merge pull request #167 from zcash-hackworks/bump-0.3.0
...
bump version to v0.3.0
2020-01-13 17:15:40 -08:00
Marshall Gaucher
0f57d1e32c
Merge branch 'master' into bump-0.3.0
2020-01-13 16:12:39 -08:00