behzad nouri
cda3d66b21
uses first_coding_index for erasure meta obtained from coding shreds ( #23974 )
...
Now that nodes correctly populate position field in coding shreds, and
first_coding_index in erasure meta, the old code to maintain backward
compatibility can be removed.
The commit is working towards changing erasure coding schema to 32:64.
2022-03-30 13:55:11 +00:00
Jeff Washington (jwash)
5636570d6d
add roots_original to roots tracker ( #23849 )
2022-03-30 08:52:45 -05:00
axleiro
7d281a8ddd
schedule Cron job for every ten min
2022-03-30 18:47:01 +05:30
axleiro
f3f7578e4b
added action yml "autolock_bot_PR.yml"
...
This GitHub action is used to automatically lock PR since there has not been any activity in past 14 days after it was merged.
2022-03-30 18:36:29 +05:30
joeaba
c8937fa244
schedule Cron job for every night
2022-03-30 15:06:53 +05:30
axleiro
2b75546190
added action yml "autolock_bot_closed_issue.yml"
...
This GitHub action is used to auto-lock closed issues if there is not any activity in the past 7 days.
2022-03-30 13:39:09 +05:30
Alexander Meißner
83ef3fc53e
Refactor: Remove `KeyedAccount` in bpf_loader helper functions ( #23986 )
...
* Replaces KeyedAccount in create_executor().
* Refactors len to write_offset in write_program_data().
* Replaces KeyedAccount in write_program_data().
* Use transaction_context.get_key_of_account_at_index() in process_instruction_common().
* Renames next_first_instruction_account to program_account_index.
* Replaces program KeyedAccount by BorrowedAccount in process_instruction_common().
* Removes _program in process_instruction_common().
* Replaces first_account KeyedAccount by BorrowedAccount in process_instruction_common().
* Moves KeyedAccount lookup inside common_close_account().
* Replaces close_account, recipient_account and authority_account KeyedAccount by BorrowedAccount in common_close_account().
2022-03-30 09:17:55 +02:00
Jeff Washington (jwash)
da844d7be5
refactoring of SortedStorages tests to make other changes easier ( #23990 )
2022-03-29 22:06:48 -05:00
Jeff Washington (jwash)
5a613e9b6e
use CalcAccountsHashConfig in calculate_accounts_hash ( #23987 )
2022-03-29 22:05:47 -05:00
Alexander Meißner
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
HaoranYi
ac8b662413
reduce metric write log level ( #23966 )
2022-03-29 12:00:42 -05:00
Michael Vines
7ef18f220a
Update Version CrdsData on node identity changes
2022-03-28 15:57:16 -07:00
dependabot[bot]
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
stellaw1
c08cfafd6c
feat: adds getBlockProduction RPC call
2022-03-26 18:31:40 -07:00
Brooks Prumo
31b707b625
Specify if archive size datapoint is for full or incremental snapshots ( #23941 )
2022-03-26 12:29:13 -05:00
steveluscher
5e08701189
feat: the search bar now auto-focuses when you first visit the site
2022-03-26 00:05:15 -07:00
Michael Vines
87e0aa1b74
improve arg documentation
2022-03-25 21:37:10 -07:00
Trent Nelson
bd27eedd15
cli: allow skipping fee-checks when writing program buffers (hidden)
2022-03-25 18:19:03 -06:00
Jeff Washington (jwash)
c24de17278
remove index hash calculation as an option ( #23928 )
2022-03-25 15:32:53 -05:00
Jeff Washington (jwash)
ec78702bc8
RollingBitField::get_all_less_than ( #23919 )
2022-03-25 15:20:22 -05:00
HaoranYi
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
behzad nouri
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
Will Hickey
c6dda3b324
Add solana-faucet to the list of dependencies referenced by downstream projects ( #23935 )
2022-03-25 13:27:31 -05:00
Trent Nelson
e34c52934c
ci: don't allow mergify to add automerge label to merged PRs
2022-03-25 16:19:11 +00:00
Jeff Washington (jwash)
acfd22712b
RollingBitFIeld to its own file ( #23917 )
2022-03-25 10:37:00 -05:00
ryleung-solana
6b85c2104c
Implement forwarding via TpuConnection ( #23817 )
2022-03-25 11:31:40 -04:00
Steven Luscher
f44c8f296f
fix: thread `enforce_ulimit_nofile` config down when opening blockstore ( #23925 )
2022-03-25 03:13:33 -05:00
steveluscher
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
steveluscher
c73cdfd6ce
fix: add TypeScript buffer type to nonce-account.ts
2022-03-24 22:55:52 -07:00
steveluscher
477355df3b
fix: add TypeScript buffer type to stake-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
6686b7c534
fix: add TypeScript buffer type to message.ts
2022-03-24 22:55:52 -07:00
steveluscher
741c85ca7c
fix: add TypeScript buffer type to loader.ts
2022-03-24 22:55:52 -07:00
steveluscher
6bb02cdcc1
fix: add TypeScript buffer type to secp256k1-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
96361295aa
fix: add TypeScript buffer type to ed25519-program.ts
2022-03-24 22:55:52 -07:00
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