mergify[bot]
1589a41178
Add config param to specify offset/length for single and program account info (bp #11515 ) ( #11518 )
...
* Add config param to specify offset/length for single and program account info (#11515 )
* Add config param to specify dataSlice for account info and program accounts
* Use match instead of if
(cherry picked from commit 88ca04dbdb
)
# Conflicts:
# cli/src/cli.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 00:03:18 +00:00
mergify[bot]
27815555a1
Fallback to base64 account encoding if json parse fails ( #11483 ) ( #11488 )
...
* Fallback to base64 account encoding if json parse fails
* Remove default binary conversion
(cherry picked from commit ebc45bd73f
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-08-09 16:15:09 +00:00
mergify[bot]
3e483314b6
Decode native-program and sysvar accounts (bp #11463 ) ( #11485 )
...
* Decode native-program and sysvar accounts (#11463 )
* Pass pubkey in to account-decoder for sysvars
* Decode sysvar accounts
* Decode config accounts; move validator-info lower
* Decode stake accounts
* Review comments
* Stringify any account lamports and epochs that can be set to u64::MAX
(cherry picked from commit a9f76862fb
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-09 09:18:17 +00:00
mergify[bot]
8a67504578
Add Binary64 option for account data ( #11474 ) ( #11481 )
...
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
(cherry picked from commit 068d23f298
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-09 06:50:24 +00:00
mergify[bot]
fa9aa0a1d7
Token Accounts: return ui_amount, decimals with decoded account ( #11407 ) ( #11453 )
...
* Return ui_amount, decimals from token client methods
* Return ui_amount, decimals in RPC jsonParsed token accounts
* Fixup docs
* Return ui_amount, decimals in pubsub jsonParsed token accounts
* Remove unnecessary duplicate struct
* StringAmount rename
(cherry picked from commit b7c2681903
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-07 19:05:35 +00:00
Tyera Eulberg
308186da79
Rework parsed account format ( #11372 )
...
* Rework parsed account format
* Serialize as type
2020-08-05 00:59:10 -06:00
Tyera Eulberg
32fea0496e
Add token account decoding ( #11136 )
...
* Add token decoding
* Bump versions
2020-07-24 17:45:21 -06:00
Tyera Eulberg
d97850f1d9
Add account-decoder utilities ( #10846 )
...
* Fix comment and make less pub
* Add account-decoder crate and use to decode vote and system (nonce) accounts
* Update docs
* Rename RpcAccount struct
* s/Rpc/Display
* Call it jsonParsed and update docs
* Revert "s/Rpc/Display"
This reverts commit 6e7149f503
.
* s/Rpc/Ui
* Add tests
* Ui more things
* Comments
2020-07-01 04:55:11 +00:00