Commit Graph

37 Commits

Author SHA1 Message Date
Larry Ruane 2dd37cf119 some tweaks to prices.go (GetZECPrice, GetCurrentZECPrice)
Simplified locking; there is no need for a read-write mutex, this code
is not performance-critical. Removed some of the go routines because
they're not needed and the locking and concurrency are easier to reason
about without them.

NOTE: there is some test code left in here, search for "XXX testing" and
remove before committing! This test code makes things happen faster:
Instead of fetching prices every 15 minutes, do it every minute. Also,
write historical data every minute, instead of once per day.

Another change needed is to remove some of the logging. It's good for
now during testing, but it's too much for production.
2022-06-12 13:10:36 -06:00
Aditya Kulkarni c6e8adbe73 Price API stub implementation 2022-06-12 13:06:17 -06:00
Steven Smith ab4c0fef70 Add support to GetTreeState to return Orchard final state 2022-05-10 23:21:26 -06:00
Larry Ruane 68789356fb update RTD index.html for Orchard
This file is generated from the *.proto files, and had gotten out of date.
Updating it required installing docker; I followed these instructions:
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

I also needed to:

$ sudo chmod 666 /var/run/docker.sock
2022-04-19 11:38:26 -07:00
Dimitris Apostolou 13de3232b3 Fix typos 2021-11-30 17:12:35 -07:00
Taylor Hornby 2defc2501d
Fix em-dashes and add instructions to use a random password 2021-09-28 18:32:19 -06:00
Sasha e150fa7790
clarify that we're exposing lwd to the network 2021-09-28 19:16:43 -05:00
Sasha f84af8fe71
added notes on the multiple zcashd.conf files 2021-09-28 19:13:35 -05:00
Sasha ca4905a6a2
correct typos 2021-09-28 18:55:45 -05:00
Larry Ruane bdaac63f3e improve reorg by using getbestblockhash 2021-08-30 16:41:24 -06: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
Ben Wilson 0e0cdcc8ef Update docs/docker-run.md
Co-authored-by: Larry Ruane <larry@z.cash>
2020-11-16 17:20:25 -07:00
Ben Wilson 993437d880 Added a simple docker run example doc 2020-11-16 17:20:25 -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 063287888f add more version information to GetLightdInfo result 2020-10-06 10:03:37 -06:00
Larry Ruane 7381129740 add GetMempoolTx() 2020-09-10 14:01:01 -06:00
Taylor Hornby df235cf33f Quick fix to darksidewalletd docs, will need improvements 2020-06-17 10:52:54 -06:00
Larry Ruane ead5415693 bump version to 0.4.1, release notes, small fixes 2020-06-05 17:16:36 -06:00
Larry Ruane 31a19484e2
Improve error checking, README improvements (#278)
Deserialize blocks and transactions as they are staged, to catch errors
earlier (such as trying to stage transactions as blocks), improve logging,
improve error handling (don't crash if ApplyStaged is given a height
that's higher than one beyond the latest active block).
2020-06-03 19:18:04 -06:00
Larry Ruane faca1ecbef
increase the 252 per-block transaction limit (#273) 2020-06-03 18:58:26 -06:00
Larry Ruane 1dbe4691a5 darkside.proto doc improvements 2020-05-21 11:48:03 -06:00
Larry Ruane 7ac1a3f983 small improvements to transaction stuff, small fixes 2020-05-21 11:48:03 -06:00
Larry Ruane ebccd74447 forgot to run make 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 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
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 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 f4ad7146d6 finish documenting gRPC api: methods, arguments, return values 2020-04-06 11:14:14 -06: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 2bc78857b1 add better proto file doc (re-generation requires docker) 2020-03-02 17:21:41 -07:00
Larry Ruane a4f968823f test improvements, and minor cleanups 2020-01-31 16:36:31 -07:00
Ben Wilson 59df31d0c6 Added a README for docker-compose setup and some usage 2019-12-27 10:33:58 -05:00
mdr0id 32ad40a4cc Reorg documents for updates and upcoming new details 2019-10-13 18:28:57 -07:00