* Account for possibility of cache flush in load()
* More cleaning
* More cleaning
* Remove unused method and some comment cleaning
* Fix typo
* Make the detected impossible purge race panic()!
* Finally revert to original .expect()
* Fix typos...
* Add assertion for max_root for easier reasoning
* Reframe races with LoadHint as possible opt.
* Fix test
* Make race bug tests run longer for less flaky
* Delay the clone-in-lock slow path even for RPC
* Make get_account panic-free & add its onchain ver.
* Fix rebase conflicts...
* Clean up
* Clean up comment
* Revert fn name change
* Fix flaky test...
* fmt...
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
* fix: hide irrelevant delegation information displayed for inactive stake
* fix: when inactive_stake equals delegated_stake, display as initialized
* refactor: clean up logic
* fix: reverse logic on showDelegation
* fix: change copy to not delegated
* feat: refactor and introduce balances and instructions tabs for mints
* fix: refactor instruction utilities into common file
* refactor: move transaction history components into one spot
* chore: minor cleanup
* fix: show only token instructions
* fix: use better naming for slugs and paths
* feat: refactor and work on transaction status
* feat: show token transfer details
* fix: format code and remove some extra spaces
* fix: exclude non-mint transfers
* feat: introduce react-moment and reorganize history tables
* feat: reintroduce status columns and reorganize columns
* fix: remove ts-ignore
* feat: refactor history card components
* fix: remove detailed history provider
* fix: filter instructions and inner instructions based on mint
* fix: use better key and report parse error
* fix: remove double spacing
* feat: batch transaction map batches
* fix: remove debug code
* fix: pass proper signatureInfo and reduce batch size to 10
Account data hashing used to use different ways of hashing on different
clusters. That is no longer the case, but the old code still existed.
This commit removes that old, now used code.
**NOTE** The golden hash values in bank.rs needed to be updated. Since
the original code that selected the hash algorithm used `if >` instead
of `if >=`, this meant that the genesis block's hash _always_ used the
old hashing method, which is no longer valid.
Validated by running `cargo test` successfully.
* Deprecate getConfirmed methods in rpc
* Add new methods to docs
* Move deprecated rpc methods to separate docs section
* Add note to docs about removal timing
* Track transaction check time separately from account loads
* banking packet process metrics
* Remove signature clone in status cache lookup
* Reduce allocations when converting packets to transactions
* Add blake3 hash of transaction messages in status cache
* Bug fixes
* fix tests and run fmt
* Address feedback
* fix simd tx entry verification
* Fix rebase
* Feedback
* clean up
* Add tests
* Remove feature switch and fall back to signature check
* Bump programs/bpf Cargo.lock
* clippy
* nudge benches
* Bump `BankSlotDelta` frozen ABI hash`
* Add blake3 to sdk/programs/Cargo.lock
* nudge bpf tests
* short circuit status cache checks
Co-authored-by: Trent Nelson <trent@solana.com>
Anticipating the removal of the old account hashing way, the Account DB
tests use slot 0 for the sample storages and accounts data. Slot 0 is a
special case, and so to make future changes not break any tests, update
just the tests here now to use any other slot.
The golden hash values were obtained by running `cargo test` and copying
in the "actual" values from the test output into the `raw_expected`
vector of the test code.
Validated by running `cargo test` successfully.
* feat: use identicon and token layout for unlisted tokens
* feat: add identicon to smaller icons and change dependency to current package
* fix: add proper library