794645d092
Adds check_number_of_instruction_accounts() to all builtin programs except for the address-lookup-table. ( #23984 )
2022-03-29 19:06:50 +02:00
ac8b662413
reduce metric write log level ( #23966 )
2022-03-29 12:00:42 -05:00
7ef18f220a
Update Version CrdsData on node identity changes
2022-03-28 15:57:16 -07:00
2a5764ef79
chore: bump @rollup/plugin-commonjs from 21.0.2 to 21.0.3 in /web3.js ( #23962 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 21.0.2 to 21.0.3.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v21.0.3/packages/commonjs )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 08:16:45 +00:00
c08cfafd6c
feat: adds getBlockProduction RPC call
2022-03-26 18:31:40 -07:00
31b707b625
Specify if archive size datapoint is for full or incremental snapshots ( #23941 )
2022-03-26 12:29:13 -05:00
5e08701189
feat: the search bar now auto-focuses when you first visit the site
2022-03-26 00:05:15 -07:00
87e0aa1b74
improve arg documentation
2022-03-25 21:37:10 -07:00
bd27eedd15
cli: allow skipping fee-checks when writing program buffers (hidden)
2022-03-25 18:19:03 -06:00
c24de17278
remove index hash calculation as an option ( #23928 )
2022-03-25 15:32:53 -05:00
ec78702bc8
RollingBitField::get_all_less_than ( #23919 )
2022-03-25 15:20:22 -05:00
01af40d6b6
Fix intermittent validator_exit test failure ( #23594 )
...
* run validator_exit_test sequentially
* limit validator exit run to its own serial run subset
add 10ms delay in the validator exit tests
* fix intermittent validator exit failure
* no sleep
* undo the code move
2022-03-25 14:38:19 -05:00
1f9c89c1e8
expands lifetime of SlotStats ( #23872 )
...
Current slot stats are removed when the slot is full or every 30 seconds
if the slot is before root:
https://github.com/solana-labs/solana/blob/493a8e234/ledger/src/blockstore.rs#L2017-L2027
In order to track if the slot is ultimately marked as dead or rooted and
emit more metrics, this commit expands lifetime of SlotStats while
bounding total size of cache using an LRU eviction policy.
2022-03-25 19:32:22 +00:00
c6dda3b324
Add solana-faucet to the list of dependencies referenced by downstream projects ( #23935 )
2022-03-25 13:27:31 -05:00
e34c52934c
ci: don't allow mergify to add automerge label to merged PRs
2022-03-25 16:19:11 +00:00
acfd22712b
RollingBitFIeld to its own file ( #23917 )
2022-03-25 10:37:00 -05:00
6b85c2104c
Implement forwarding via TpuConnection ( #23817 )
2022-03-25 11:31:40 -04:00
f44c8f296f
fix: thread enforce_ulimit_nofile
config down when opening blockstore ( #23925 )
2022-03-25 03:13:33 -05:00
9cf7720922
fix: when there is no instruction index, default to the current instruction by supplying u16:MAX
2022-03-24 22:55:52 -07:00
c73cdfd6ce
fix: add TypeScript buffer type to nonce-account.ts
2022-03-24 22:55:52 -07:00
477355df3b
fix: add TypeScript buffer type to stake-program.ts
2022-03-24 22:55:52 -07:00
6686b7c534
fix: add TypeScript buffer type to message.ts
2022-03-24 22:55:52 -07:00
741c85ca7c
fix: add TypeScript buffer type to loader.ts
2022-03-24 22:55:52 -07:00
6bb02cdcc1
fix: add TypeScript buffer type to secp256k1-program.ts
2022-03-24 22:55:52 -07:00
96361295aa
fix: add TypeScript buffer type to ed25519-program.ts
2022-03-24 22:55:52 -07:00
3333f37e88
fix: add TypeScript buffer type to vote-account.ts
2022-03-24 22:55:52 -07:00
b2f2a68b86
fix: fix spelling of timestamp in BlockTimestamp type
2022-03-24 22:55:52 -07:00
c227b8ca4d
fix: add TypeScript buffer type to vote-program.ts
2022-03-24 22:55:52 -07:00
607a5c05de
fix: add TypeScript buffer type to system-program.ts
2022-03-24 22:55:52 -07:00
807f88e547
fix: add TypeScript types to the rustString buffer layout helper
2022-03-24 22:55:52 -07:00
d34fe3dba3
fix: add TypeScript buffer type to layout.ts
2022-03-24 22:55:52 -07:00
b516a25132
fix: add TypeScript buffer type to instruction.ts
2022-03-24 22:55:52 -07:00
023fc028bc
chore: Upgrade buffer-layout to v4.0.0
2022-03-24 22:55:52 -07:00
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
c8c3c4359f
vote-authorize-voter
now accepts either the vote or withdraw authority
2022-03-24 16:46:41 -07:00
51f5524e2f
make verify_accounts_package_hash like other hash calc ( #23906 )
2022-03-24 17:49:48 -05:00
492c54a28f
Fix example mock Signer API in solana-program ( #23911 )
2022-03-24 17:58:51 -04:00
55d61023f7
document 'accounts' hash ( #23907 )
2022-03-24 15:58:52 -05:00
fedf4e984f
typo ( #23910 )
2022-03-24 15:21:59 -05:00
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
b61c0a4a21
Add accounts arg to genesis command to dump genesis account info ( #23879 )
2022-03-24 14:26:08 -05:00
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
37c36ce3fa
pass stats separately from CalcAccountsHashConfig ( #23892 )
2022-03-24 12:48:47 -05:00
82328fd9d8
move max_clean_root deeper in flush cache ( #23869 )
2022-03-24 12:45:49 -05:00
c31db81ac4
Use VoteAccountsHashMap type alias in all applicable spots ( #23904 )
2022-03-24 12:09:48 -05:00
a22a2384bf
fix ci test error ( #23908 )
2022-03-24 11:30:20 -05:00
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
5b916961b5
HashCalc uses self.accounts_cache ( #23890 )
2022-03-24 10:34:28 -05:00
f2aea3b7c7
flush_slot_cache takes [Slot] ( #23865 )
2022-03-24 10:24:36 -05:00
9d3b17c635
HashCalc uses self.accounts_index ( #23888 )
2022-03-24 10:06:32 -05:00