Commit Graph

363 Commits

Author SHA1 Message Date
Larry Ruane ead5415693 bump version to 0.4.1, release notes, small fixes 2020-06-05 17:16:36 -06:00
Marshall Gaucher 57d10eece3
Merge pull request #282 from zcash/mdr0id-patch-dock-compose
Update compose for new LWD config params
2020-06-05 14:26:31 -07:00
Marshall Gaucher 6dd409abf3
Update compose for new LWD config params 2020-06-05 14:15:06 -07: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
Linda Lee e665ebe951
Merge pull request #281 from zcash/lindanlee-templates-2
Delete ux-report.md
2020-06-01 15:21:00 -05:00
Linda Lee 4defd37d5e
Merge branch 'master' into lindanlee-templates-2 2020-06-01 15:04:56 -05:00
Linda Lee 2f653540c7
Merge pull request #280 from zcash/lindanlee-update-templates-1-1
Update featurerequest.md
2020-06-01 15:04:47 -05:00
Linda Lee eb755d6e2f
Merge branch 'master' into lindanlee-templates-2 2020-06-01 14:57:13 -05:00
Linda Lee 749324c3cc
Merge branch 'master' into lindanlee-update-templates-1-1 2020-06-01 14:57:04 -05:00
Linda Lee b93bff807f
Merge pull request #279 from zcash/lindanlee-update-templates
Update bug report.md
2020-06-01 14:56:55 -05:00
Linda Lee 554322d951
Delete ux-report.md 2020-06-01 14:50:45 -05:00
Linda Lee 56bc4c4ed8
Update featurerequest.md 2020-06-01 14:50:03 -05:00
Linda Lee dcfdcb2831
Update bug report.md 2020-06-01 14:48:10 -05:00
Larry Ruane f72a6d8eba add error check to StageBlocksStream 2020-05-29 10:36:34 -06:00
Taylor Hornby 026d195163
Merge pull request #275 from zcash/fix-sendrawtransaction-hex-decoding
Fix missing hex encoding of darksidewalletd's sendrawtransaction response
2020-05-28 17:13:20 -06:00
Larry Ruane bcc9aa0a45 update GetTransaction unit test 2020-05-28 17:01:00 -06:00
Kevin Gorham 6b0c1cc43e Fixes GetTransaction returning base64 hex values. 2020-05-28 17:01:00 -06:00
Taylor Hornby 2d8a55c53f Fix missing hex encoding of darksidewalletd's sendrawtransaction response 2020-05-28 16:05:43 -06:00
Charlie O'Keefe c6e0e8c576
Limit prometheus memory usage to 2G (#246)
Co-authored-by: Marshall Gaucher <36639405+mdr0id@users.noreply.github.com>
2020-05-28 13:22:29 -06:00
Marshall Gaucher 87452476d8
Merge pull request #237 from zcash/ben/Dockerfile-lightwalletd-volume
Fix Dockerfile args and added lightwalled volume
2020-05-28 10:49:08 -07:00
Marshall Gaucher 68a80e46d8
Merge branch 'master' into ben/Dockerfile-lightwalletd-volume 2020-05-28 10:38:44 -07:00
Marshall Gaucher 11cde7c283
Merge pull request #176 from zcash/update-codecov-badge
Update codecov badge url
2020-05-28 10:38:25 -07:00
Marshall Gaucher a8851011ec
Merge branch 'master' into update-codecov-badge 2020-05-28 10:37:22 -07:00
Marshall Gaucher d8ffcfb3d2
Merge branch 'master' into ben/Dockerfile-lightwalletd-volume 2020-05-28 10:32:56 -07:00
Marshall Gaucher 1769ee3ed3
Merge pull request #272 from zcash/add-link-to-threat-model
Add link to the threat model
2020-05-28 10:32:30 -07:00
Marshall Gaucher 503bce1321
Merge branch 'master' into add-link-to-threat-model 2020-05-28 10:28:28 -07:00
Marshall Gaucher efeb45bb7f
Merge pull request #265 from zancas/readmefix
fix incorrect README
2020-05-28 10:27:16 -07:00
Marshall Gaucher 2a09a360e9
Merge branch 'master' into readmefix 2020-05-28 10:26:18 -07:00
Taylor Hornby bbb0e88449 Add link to the threat model 2020-05-28 09:27:29 -06:00
Larry Ruane 37c0ea54fe add issue and PR templates 2020-05-27 13:14:28 -06:00
Marshall Gaucher 3faf188b97
Merge branch 'master' into update-codecov-badge 2020-05-26 16:27:08 -07:00
Za Wilcox fa67c0c6f5
Merge branch 'master' into readmefix 2020-05-22 15:08:16 -06:00
Larry Ruane b47c0ddf99 fix corruption detector, smallest block is 74 bytes, not 78 2020-05-22 08:30:03 -06:00
Za Wilcox e202d2a0fe
Merge branch 'master' into readmefix 2020-05-21 22:47:04 -06:00
Larry Ruane 1dbe4691a5 darkside.proto doc improvements 2020-05-21 11:48:03 -06:00
Larry Ruane 1dd63f2ca8 add --darkside-timeout option to override 30-minute default shutdown 2020-05-21 11:48:03 -06:00
Larry Ruane 0217670d8c add logging for darkside rpcs 2020-05-21 11:48:03 -06:00
Larry Ruane 007dbbf13c fix first block hash 2020-05-21 11:48:03 -06:00
Larry Ruane 2f0b2054ba Fix transaction staging
The following works:

grpcurl -plaintext -d '{"saplingActivation": 663150,"branchID": "bad", "chainName":"x"}' localhost:9067 cash.z.wallet.sdk.rpc.DarksideStreamer/Reset
grpcurl -plaintext -d '{"height":663150,"nonce":5,"count":3}' localhost:9067 cash.z.wallet.sdk.rpc.DarksideStreamer/StageBlocksCreate
grpcurl -plaintext -d '{"height":663152,"url":"https://raw.githubusercontent.com/zcash-hackworks/darksidewalletd-test-data/master/transactions/t-shielded-spend"}' localhost:9067 cash.z.wallet.sdk.rpc.DarksideStreamer/StageTransactions
grpcurl -plaintext -d '{"height":663152}' localhost:9067 cash.z.wallet.sdk.rpc.DarksideStreamer/ApplyStaged
grpcurl -plaintext -d '{"height":663152}' localhost:9067 cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlock
(shows the block with one transaction)
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 3defdcd1ee Improve error handling 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 f8794dbe05 update submitblocks.sh, return an error if GetBlock height is too low, instead of crashing 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 ebccd74447 forgot to run make 2020-05-21 11:48:03 -06:00
Larry Ruane 391e886afc better error handling, remove unused DarksideTx 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 3bada32bee fixes on last commit, especially StageBlocksCreate 2020-05-21 11:48:03 -06:00
Larry Ruane f1e793796f implement staging, not well tested 2020-05-21 11:48:03 -06:00