Commit Graph

58 Commits

Author SHA1 Message Date
Ben Wilson 25afaeae5c Added back logging interceptor for non-tls, fixed version on startup 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
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
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 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 1dc439080b add COPYING and copyright lines 2020-03-12 12:02:55 -06: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 0f57d1e32c
Merge branch 'master' into bump-0.3.0 2020-01-13 16:12:39 -08:00
Bradley Miller 810cf193b8 bump version to v0.3.0 2020-01-08 16:59:16 -07:00
Ben Wilson 76df81bc32 Use RSA instead
Just localhost
Fix fileexists logic
2020-01-02 10:00:40 -05:00
Larry Ruane 2b73689794 remove sqlite3, add block cache (adityapk00)
Co-authored-by: Aditya Kulkarni <adityapk@gmail.com>
2019-12-19 12:11:03 -07:00
Larry Ruane f58a5f9376 add GetLightdInfo RPC
Co-authored-by: Aditya Kulkarni <adityapk@gmail.com>

also to pick up changes to walletrpc/service.proto
(regenerate compact_formats.pb.go service.pb.go)

cd walletrpc
protoc compact_formats.proto --go_out=plugins=grpc:.
protoc service.proto --go_out=plugins=grpc:.

ran go mod tidy && go mod vendor
2019-12-17 12:57:41 -07:00
Larry Ruane f143bcf332 add -version argument to ingest and server executables, v0.1.0 2019-11-08 13:25:52 -07:00
Larry Ruane 389e9a4386 run gofmt on all files (one-time) 2019-10-30 10:43:51 -06:00
Larry Ruane e4445ddace fix constant REORG (due to fixed GetDisplayPrevHash()) 2019-10-07 21:02:38 -06:00
Marshall Gaucher 4b6b77336a
Merge pull request #79 from zcash-hackworks/create_log_file
Add initial conditional to create log file if it does not exist
2019-10-01 16:02:59 -07:00
Larry Ruane da2231f423 add missing tests, empty (stubs) for now 2019-09-25 09:31:49 -06:00
Dimitris Apostolou e8d93c0687
Fix typos 2019-09-25 15:01:46 +03:00
mdr0id 86b915288c Add initial conditional to create log file if it does not exist 2019-09-23 16:13:32 -07:00
Taylor Hornby 5224340b92 Make -very-insecure imply 'don't use TLS.' 2019-09-18 15:18:49 -06:00
Marshall Gaucher ce12fee640
Merge branch 'master' into remove_0mq 2019-09-15 17:28:34 -07:00
mdr0id ecf43dc353 reorg walk back 11 blocks instead of 10 2019-09-15 17:25:12 -07:00
mdr0id 28ed413092 Updating formatting 2019-09-05 17:30:08 -07:00
mdr0id 42eb73db32 Set height to 0 in error case for corrupted db 2019-09-05 17:27:30 -07:00
mdr0id 148a1da8c7 Make log app name more clear 2019-09-05 16:28:50 -07:00
zebambam f1ac9c1337 Added .gitignore, provided command line defaults, made errors more obvious, told users to check the log file after it is initialized when a fatal error occurs, require users to pass -very-insecure=true when not using TLS certificates 2019-08-28 14:36:24 -07:00
mdr0id 1e40cea877 Remove zmq references from README files 2019-08-27 14:41:25 -07:00
mdr0id 716930d028 name of app is missleading in log message 2019-08-27 14:15:00 -07:00
mdr0id 59975fc349 Remove zmq from scaffolding stuff in go 2019-08-27 14:07:42 -07:00
mdr0id fec37dff9a Initial reorg fix 2019-07-16 19:14:58 -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 0813d73e97 Add initial error handling for condition for zcashd down 2019-06-10 21:14:31 -07:00
mdr0id d1e49493b0 Remove/add white space nits. Add comment for -8 value check in error conditional 2019-06-10 20:35:32 -07:00
mdr0id 3d48461e32 Clean up and organize imports 2019-06-10 20:25:43 -07:00
mdr0id ed4591ecc4 Remove go routine that causes threading issues when writing to local db 2019-06-10 19:59:12 -07:00
mdr0id 31576ff5fc Update ingest logic stream to start at actual Sapling testnet height 2019-06-07 14:13:22 -07:00
mdr0id 4354ec70c0 Update ingest logic stream to start at Sapling testnet height 2019-06-07 14:10:56 -07:00
mdr0id 1587db121c Remove 0mq logic, add getblock RPC wrapper, add RPC polling logic, and remove old packages 2019-06-06 17:49:47 -07:00
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.
2019-05-23 13:42:02 +01:00
George Tankersley 0cb0bb51af frontend: implement SendTransaction 2019-02-14 00:18:15 +00: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 09007ad856 storage: small fixes and sqlite3-specific tuning 2018-12-15 20:01:28 +00:00