diff --git a/pom.xml b/pom.xml index 99412c9..8979c9b 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.wavesplatform protobuf-schemas jar - 1.5.1 + 1.5.2-SNAPSHOT Waves Node protobuf classes Waves Node protobuf java classes diff --git a/proto/waves/node/grpc/transactions_api.proto b/proto/waves/node/grpc/transactions_api.proto index 0982ec6..c17170d 100644 --- a/proto/waves/node/grpc/transactions_api.proto +++ b/proto/waves/node/grpc/transactions_api.proto @@ -6,10 +6,12 @@ option go_package = "github.com/wavesplatform/gowaves/pkg/grpc/generated/waves/n import "waves/recipient.proto"; import "waves/transaction.proto"; +import "waves/transaction_state_snapshot.proto"; import "waves/invoke_script_result.proto"; service TransactionsApi { rpc GetTransactions (TransactionsRequest) returns (stream TransactionResponse); + rpc GetTransactionSnapshots (TransactionSnapshotsRequest) returns (stream TransactionSnapshotResponse); rpc GetStateChanges (TransactionsRequest) returns (stream InvokeScriptResultResponse) { option deprecated = true; }; @@ -54,6 +56,15 @@ message TransactionsRequest { repeated bytes transaction_ids = 3; } +message TransactionSnapshotResponse { + bytes id = 1; + TransactionStateSnapshot snapshot = 2; +} + +message TransactionSnapshotsRequest { + repeated bytes transaction_ids = 1; +} + message TransactionsByIdRequest { repeated bytes transaction_ids = 3; }