Daira-Emma Hopwood
8b436e8f1f
Repair the RPC tests.
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-10-02 03:53:11 +01:00
Jack Grigg
fd675c3205
rust: Migrate to `zcash_primitives 0.14.0`
2024-03-25 13:27:45 -06:00
Kris Nuttycombe
0c8ea86e47
Update RPC tests to enable `-lightwalletd` flag where needed.
2023-06-07 15:44:23 -06:00
Kris Nuttycombe
2c28ca9430
Remove `depth` property from `z_getsubtreesbyindex` result & fix docs.
2023-06-06 10:00:37 -06:00
Daira Hopwood
59ec594603
Change incorrect uses of "is not" to "!=".
...
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2023-06-05 14:34:12 +01:00
Jack Grigg
cf2b6c796a
rpc: Add `trees` field to `getblock` RPC output
...
The new object contains the sizes of the Sapling and Orchard note
commitment trees as of the end of the block.
2023-06-02 18:50:30 -06:00
Jack Grigg
17c530b46c
rpc: Add `z_getsubtreesbyindex` RPC method
2023-06-02 18:50:30 -06:00
Jack Grigg
4d78cdf736
test: Use `!=` instead of `is not` in `final*root` RPC tests
...
`is not` means reference inequality, whereas the tests need to check
value inequality.
2023-05-23 21:58:35 +00:00
Daira Emma Hopwood
ea9fa3f06e
Fix tests that failed due to the minimum relay fee being enforced.
...
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-04-17 18:49:45 +01:00
Jack Grigg
09cd65327b
Disable previously-deprecated features by default
...
These features were deprecated at least 3 minor releases ago. I found
one mistake which was that `z_validateaddress` had not been placed
behind the `addrtype` deprecated feature; this has been fixed.
2023-01-05 22:32:19 +00:00
Greg Pfeil
5514542a0a
Apply suggestions from code review
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-09-23 18:39:00 -06:00
Greg Pfeil
bdde47fb5d
Fix finalorchardroot serialization
...
Previously, `finalorchardroot` and `orchard.anchor` were serialized differently
in the RPC API, which made it difficult to correlate them. This changes the
serialization for `finalorchardroot` to match `orchard.anchor`.
2022-09-22 18:20:42 -06:00
Greg Pfeil
4f4ef5537b
Add a finalorchardroot RPC test
2022-09-22 14:13:58 -06:00