-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RPC server] - add get transaction endpoint #1447
Conversation
03ce330
to
96cad68
Compare
df3fcc8
to
a182097
Compare
b79c756
to
190f005
Compare
69079bf
to
7dc649a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just left one minor question for clarity
@@ -986,6 +986,14 @@ impl<const ALL_OBJ_VER: bool, S: Eq + Serialize + for<'de> Deserialize<'de>> | |||
Ok(transaction) | |||
} | |||
|
|||
pub fn get_certified_transaction( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
previously this worked without modifying the authority store - did something change that requires this ?
This PR add get_transaction to the GatewayAPI, RestAPI and JSON-RPC
Currently it return CertifiedTransactions, we can extend it to return SignedTransaction(signed unconfirmed) as well if needed.
*also replaced base64 with base64ct