Skip to content
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

feat: make the app supports the latest Stellar protocol (17). #26

Merged
merged 9 commits into from
Sep 3, 2021
11 changes: 11 additions & 0 deletions src/stellar_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ void encode_hash_x_key(const uint8_t *in, char *out);
/** raw public key to base32 encoded (summarized) address */
void print_public_key(const uint8_t *in, char *out, uint8_t numCharsL, uint8_t numCharsR);

/** base32 encode muxed account */
void encode_muxed_account(const MuxedAccount *in, char *out);

/** raw muxed account to base32 encoded muxed address */
void print_muxed_account(const MuxedAccount *in, char *out, uint8_t numCharsL, uint8_t numCharsR);

/** output first numCharsL of input + last numCharsR of input separated by ".." */
void print_summary(const char *in, char *out, uint8_t numCharsL, uint8_t numCharsR);

Expand Down Expand Up @@ -145,6 +151,9 @@ void print_native_asset_code(uint8_t network, char *out, size_t out_len);
/** string representation of flags present */
void print_flags(uint32_t flags, char *out, size_t out_len);

/** string representation of trust line flags present */
void print_trust_line_flags(uint32_t flags, char *out, size_t out_len);

/** integer to string for display of sequence number */
int print_int(int64_t l, char *out, size_t out_len);

Expand All @@ -154,4 +163,6 @@ int print_uint(uint64_t l, char *out, size_t out_len);
/** base64 encoding function used to display managed data values */
void base64_encode(const uint8_t *data, int inLen, char *out);

/** hex representation of flags claimable balance id */
void print_claimable_balance_id(const ClaimableBalanceID *claimableBalanceID, char *out);
#endif
Loading