lightwalletd/walletrpc
Larry Ruane 4e561f2cfd add darksidewallet support for GetAddressUtxos
Add a new darksidewallet gRPC to add a utxo that can be returned by the
production GetAddressUtxos, for example:

grpcurl -plaintext -d '{"address":"t1g1HQJuwDoStGrYYLj8VhLu1J5igd8TNXV","txid":"1zjB42Z7FtwRZOBNMlTubCgx9l3dsZSqXxmWpuZXJto=","script": "dqkU8saQsCVS4mNwcByoGCtfOaHFaCiIrA==","valueZat": "3010000","height": "686773"}' localhost:9067 cash.z.wallet.sdk.rpc.DarksideStreamer/AddAddressUtxo

Then the following returns this entry:

grpcurl -plaintext -d '{"startHeight":0,"maxEntries":2,"addresses":["t1g1HQJuwDoStGrYYLj8VhLu1J5igd8TNXV"]}' localhost:9067 cash.z.wallet.sdk.rpc.CompactTxStreamer/GetAddressUtxos

You can also clear the list of entries:

grpcurl -plaintext localhost:9067 cash.z.wallet.sdk.rpc.DarksideStreamer/ClearAddressUtxo
2021-04-26 11:42:03 -06:00
..
compact_formats.pb.go update to latest go, protobufs, grpc toolchain 2021-04-07 12:58:01 -06:00
compact_formats.proto update to latest go, protobufs, grpc toolchain 2021-04-07 12:58:01 -06:00
darkside.pb.go add darksidewallet support for GetAddressUtxos 2021-04-26 11:42:03 -06:00
darkside.proto add darksidewallet support for GetAddressUtxos 2021-04-26 11:42:03 -06:00
darkside_grpc.pb.go add darksidewallet support for GetAddressUtxos 2021-04-26 11:42:03 -06:00
generate.go add COPYING and copyright lines 2020-03-12 12:02:55 -06:00
service.pb.go generalize GetAddressUtxos to accept taddr list 2021-04-08 11:22:12 -06:00
service.proto generalize GetAddressUtxos to accept taddr list 2021-04-08 11:22:12 -06:00
service_grpc.pb.go update to latest go, protobufs, grpc toolchain 2021-04-07 12:58:01 -06:00
walletrpc_test.go add COPYING and copyright lines 2020-03-12 12:02:55 -06:00