steveluscher
3333f37e88
fix: add TypeScript buffer type to vote-account.ts
2022-03-24 22:55:52 -07:00
steveluscher
b2f2a68b86
fix: fix spelling of timestamp in BlockTimestamp type
2022-03-24 22:55:52 -07:00
steveluscher
c227b8ca4d
fix: add TypeScript buffer type to vote-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
607a5c05de
fix: add TypeScript buffer type to system-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
807f88e547
fix: add TypeScript types to the rustString buffer layout helper
2022-03-24 22:55:52 -07:00
steveluscher
d34fe3dba3
fix: add TypeScript buffer type to layout.ts
2022-03-24 22:55:52 -07:00
steveluscher
b516a25132
fix: add TypeScript buffer type to instruction.ts
2022-03-24 22:55:52 -07:00
steveluscher
023fc028bc
chore: Upgrade buffer-layout to v4.0.0
2022-03-24 22:55:52 -07:00
Steven Luscher
412d9be445
fix: repair web3 connection tests by making fewer assumptions about the existence of particular blocks ( #23921 )
...
* fix: repair 'get confirmed signatures for address' test in web3.js
* fix: repair 'get signatures for address' test in web3.js
* fix: repair 'get parsed confirmed transactions' test in web3.js
* fix: repair 'get transaction' test in web3.js
* fix: repair 'get confirmed transaction' test in web3.js
* fix: repair 'get block' test in web3.js
* fix: repair 'get confirmed block' test in web3.js
* fix: repair 'get block signatures' test in web3.js
* fix: repair 'get block time' test in web3.js
Co-authored-by: steveluscher <github@steveluscher.com>
2022-03-24 22:21:14 -07:00
Michael Vines
c8c3c4359f
`vote-authorize-voter` now accepts either the vote or withdraw authority
2022-03-24 16:46:41 -07:00
Jeff Washington (jwash)
51f5524e2f
make verify_accounts_package_hash like other hash calc ( #23906 )
2022-03-24 17:49:48 -05:00
Brian Anderson
492c54a28f
Fix example mock Signer API in solana-program ( #23911 )
2022-03-24 17:58:51 -04:00
Jeff Washington (jwash)
55d61023f7
document 'accounts' hash ( #23907 )
2022-03-24 15:58:52 -05:00
HaoranYi
fedf4e984f
typo ( #23910 )
2022-03-24 15:21:59 -05:00
Josh
9dbb950a25
feat(explorer): show ping server metrics unavailable ( #23914 )
...
* feat: show ping server metrics unavailable
* fix: formatting
2022-03-24 13:54:51 -06:00
steviez
b61c0a4a21
Add accounts arg to genesis command to dump genesis account info ( #23879 )
2022-03-24 14:26:08 -05:00
Alexander Meißner
140c8dd01f
Refactor: Replaces KeyedAccount in_get_sysvar_with_account_check ( #23905 )
...
* Replaces all use sites of get_sysvar_with_account_check by get_sysvar_with_account_check2.
* Removes get_sysvar_with_account_check.
* Renames get_sysvar_with_account_check2 to get_sysvar_with_account_check.
2022-03-24 19:30:42 +01:00
Jeff Washington (jwash)
37c36ce3fa
pass stats separately from CalcAccountsHashConfig ( #23892 )
2022-03-24 12:48:47 -05:00
Jeff Washington (jwash)
82328fd9d8
move max_clean_root deeper in flush cache ( #23869 )
2022-03-24 12:45:49 -05:00
steviez
c31db81ac4
Use VoteAccountsHashMap type alias in all applicable spots ( #23904 )
2022-03-24 12:09:48 -05:00
Jeff Washington (jwash)
a22a2384bf
fix ci test error ( #23908 )
2022-03-24 11:30:20 -05:00
ryleung-solana
82945ba973
Optimize TpuConnection and its implementations and refactor connection-cache to not use dyn in order to enable those changes ( #23877 )
2022-03-24 11:40:26 -04:00
Jeff Washington (jwash)
5b916961b5
HashCalc uses self.accounts_cache ( #23890 )
2022-03-24 10:34:28 -05:00
Jeff Washington (jwash)
f2aea3b7c7
flush_slot_cache takes [Slot] ( #23865 )
2022-03-24 10:24:36 -05:00
Jeff Washington (jwash)
9d3b17c635
HashCalc uses self.accounts_index ( #23888 )
2022-03-24 10:06:32 -05:00
Jeff Washington (jwash)
396b49a7c1
Start saving/loading prior_roots(_with_hash) to snapshot ( #23844 )
...
* Start saving/loading prior_roots(_with_hash) to snapshot
* Update runtime/src/accounts_index.rs
Co-authored-by: Michael Vines <mvines@gmail.com>
* Update runtime/src/accounts_index.rs
Co-authored-by: Michael Vines <mvines@gmail.com>
* update comment
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-03-24 10:06:24 -05:00
Jeff Washington (jwash)
b22165ad69
hash calc uses self.filler_account_suffix ( #23887 )
2022-03-24 09:58:06 -05:00
Jeff Washington (jwash)
9022931689
calc hash uses self.num_hash_scan_passes ( #23883 )
2022-03-24 09:44:42 -05:00
Jeff Washington (jwash)
e3eb002f66
Log storage size stats at hash calc ( #23843 )
2022-03-24 09:40:35 -05:00
Jeff Washington (jwash)
f1a411c897
add epoch_schedule and rent_collector to hash calc ( #23857 )
2022-03-24 09:39:22 -05:00
Jeff Washington (jwash)
db5d68f01f
HashCalc uses self.accounts_hash_cache_path ( #23882 )
2022-03-24 09:31:55 -05:00
HaoranYi
90009f330b
small refactor to shorten the lock on slot_under_contention hashset ( #23891 )
...
* small refactor to shorten the lock on slot_under_contention hashset
* adding comments
* comments
2022-03-24 08:20:56 -05:00
Alexander Meißner
91c2729856
Replaces keyed_account get_signers() by InstructionContext::get_signers(). ( #23863 )
2022-03-24 12:57:51 +01:00
Yueh-Hsuan Chiang
c83c95b56b
(LedgerStore) Create ColumnMetrics trait for CF metric reporting ( #23763 )
...
This PR does a refactoring on column family-related metrics reporting.
As the metric reporting is per column family basis, the PR creates
ColumnMetrics trait and move the metric reporting logic into it.
This refactoring will make future column metric reporting (such as
read PerfContext) much cleaner.
2022-03-23 20:51:49 -07:00
Jeff Washington (jwash)
5a892af2fe
disable 'check_hash' on accounts hash calc ( #23873 )
2022-03-23 21:03:31 -05:00
Jeff Washington (jwash)
3e22d4b286
calc hash uses self.thread_pool_clean ( #23881 )
2022-03-23 20:52:38 -05:00
Brian Anderson
6428602cd9
Make find_program_address client example runnable ( #23492 )
2022-03-23 19:37:12 -06:00
steveluscher
260fdf7ba3
Revert "chore: Upgrade buffer-layout package in web3.js ( #23897 )"
...
Fixing up the types is going to take me a bit longer than I anticipated, so I'll back this out for now.
2022-03-23 18:34:01 -07:00
Jack May
486f7b7673
use array access function ( #23895 )
2022-03-23 17:03:01 -07:00
Steven Luscher
0c0db9308b
chore: Upgrade buffer-layout package in web3.js ( #23897 )
2022-03-23 14:56:13 -07:00
Trent Nelson
9dae5551a1
Revert transient dependency bumps from c4ecfa5
2022-03-23 21:08:26 +00:00
Josh
100fd03f3e
feat(explorer): solana ping set minBarHeight ( #23894 )
2022-03-23 20:35:59 +00:00
dependabot[bot]
7af7c15802
chore:(deps): bump minimist from 1.2.5 to 1.2.6 in /explorer ( #23886 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 20:00:24 +00:00
dependabot[bot]
154b828287
chore:(deps): bump nanoid from 3.1.23 to 3.3.1 in /explorer ( #23884 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.1 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 19:59:16 +00:00
Andrey Frolov
59290c08aa
fix: add type-check script to web3.js package ( #23109 )
2022-03-23 12:58:42 -07:00
microwavedcola1
1b7b261460
feat(explorer): render program name, ix name, and account names from on chain idl for specific anchor programs ( #23499 )
...
* show titles of ix, from idl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* remove unused
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* remaining accounts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fallback
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix from code review: remove default for the non fallback case
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* keep camelcase
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* formatting
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-23 12:14:26 -07:00
Jeff Washington (jwash)
dc3863ef14
flush_slot_cache_with_clean ( #23868 )
2022-03-23 14:09:56 -05:00
Jeff Washington (jwash)
260f899eda
write cache: hashmap to set ( #23866 )
2022-03-23 14:05:45 -05:00
Jeff Washington (jwash)
9e61fe7583
add AccountsHashConfig to manage parameters ( #23850 )
2022-03-23 13:44:23 -05:00
HaoranYi
db49b826f0
seperate blockstore metrics from window service metrics ( #23871 )
2022-03-23 13:38:17 -05:00