91c2729856
Replaces keyed_account get_signers() by InstructionContext::get_signers(). ( #23863 )
2022-03-24 12:57:51 +01:00
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
5a892af2fe
disable 'check_hash' on accounts hash calc ( #23873 )
2022-03-23 21:03:31 -05:00
3e22d4b286
calc hash uses self.thread_pool_clean ( #23881 )
2022-03-23 20:52:38 -05:00
6428602cd9
Make find_program_address client example runnable ( #23492 )
2022-03-23 19:37:12 -06:00
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
486f7b7673
use array access function ( #23895 )
2022-03-23 17:03:01 -07:00
0c0db9308b
chore: Upgrade buffer-layout package in web3.js ( #23897 )
2022-03-23 14:56:13 -07:00
9dae5551a1
Revert transient dependency bumps from c4ecfa5
2022-03-23 21:08:26 +00:00
100fd03f3e
feat(explorer): solana ping set minBarHeight ( #23894 )
2022-03-23 20:35:59 +00:00
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
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
59290c08aa
fix: add type-check script to web3.js package ( #23109 )
2022-03-23 12:58:42 -07:00
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
dc3863ef14
flush_slot_cache_with_clean ( #23868 )
2022-03-23 14:09:56 -05:00
260f899eda
write cache: hashmap to set ( #23866 )
2022-03-23 14:05:45 -05:00
9e61fe7583
add AccountsHashConfig to manage parameters ( #23850 )
2022-03-23 13:44:23 -05:00
db49b826f0
seperate blockstore metrics from window service metrics ( #23871 )
2022-03-23 13:38:17 -05:00
7ff8ed869c
typos ( #23870 )
2022-03-23 13:36:55 -05:00
26da64184a
feat(web3.js): expose rpcEndpoint in client for web3.js ( #23719 )
...
Adds a getter to the commitment class to expose the rpcEndpoint property.
2022-03-23 11:05:37 -07:00
a573cfa39d
Revert "Remove unneeded unit expression"
...
This reverts commit e8e0097046
.
2022-03-23 10:22:18 -07:00
b1280b670a
calculate_accounts_hash_without_index takes &self ( #23846 )
...
* calculate_accounts_hash_without_index takes &self
* Update runtime/src/snapshot_package.rs
Co-authored-by: Brooks Prumo <brooks@prumo.org >
Co-authored-by: Brooks Prumo <brooks@prumo.org >
2022-03-23 11:57:32 -05:00
7b89222fde
don't start extra threads for shrink/clean/hash ( #23858 )
2022-03-23 11:53:37 -05:00
911aa5bad3
fix(explorer): can't convert too large of stake to number ( #23876 )
2022-03-23 09:34:43 -07:00
5541a5873b
fix(explorer): serum init open orders has optional openOrdersMarketAuthority ( #23875 )
2022-03-23 09:32:24 -07:00
6b76391ed2
fix(explorer): add sync native to token program decode ( #23874 )
2022-03-23 09:31:58 -07:00
6962a667e5
add-u8-align-check ( #23860 )
2022-03-23 09:16:29 -07:00
27b66db88d
Use sat math for ptr calcs ( #23861 )
2022-03-23 09:16:03 -07:00
493a8e2348
remove random flushing of write cache ( #23845 )
2022-03-23 08:45:44 -05:00
9859eb83b5
upd Cargo.lock for bpf
2022-03-23 09:25:36 +01:00
36807d5fa3
update clap to v3: poh-bench
2022-03-23 09:25:36 +01:00
22404ca1fc
update clap to v3: bench-streamer
2022-03-23 09:25:36 +01:00
01317395e9
update Cargo.lock
2022-03-23 09:25:36 +01:00
3f2971692d
update clap to v3: net-utils
2022-03-23 09:25:36 +01:00
300c50798f
update clap to v3: log-analyzer
2022-03-23 09:25:36 +01:00
12e24a90a0
update clap to v3: net-sharper
2022-03-23 09:25:36 +01:00
d8be0d9430
make get_protobuf_or_bincode_cells accept IntoIter on row_keys, make get_confirmed_blocks_with_data return an Iterator
2022-03-22 22:47:25 -06:00
f717fda9a3
modify get_protobuf_or_bincode_cells to accept and return an iterator
2022-03-22 22:47:25 -06:00
fbcf6a0802
use &[T] instead of Vec<T> where appropriate
...
clippy
2022-03-22 22:47:25 -06:00
5533e9393c
appease clippy
2022-03-22 22:47:25 -06:00
f3219fb695
add get_confirmed_blocks_with_data and get_protobuf_or_bincode_cells
2022-03-22 22:47:25 -06:00
bc35e1c5f5
snapshot code needs all storages for hash calc ( #23840 )
2022-03-22 21:27:54 -05:00
92462ae031
Manually serialize and use send_wire_transaction
for votes ( #23826 )
...
* Revert "core: partial versioned transaction support for voting service"
This reverts commit eb3df4c20e
.
* Manually serialize vote tx before sending to TPU
2022-03-23 09:47:55 +08:00
9f0ca6d88a
Refactor: Remove trait
from nonce keyed account ( #23811 )
...
* Removes the trait `NonceKeyedAccount`.
2022-03-23 02:09:30 +01:00
3d7c8442c7
add size check for from_raw_parts ( #23781 )
2022-03-22 15:20:39 -07:00
7af48465fa
transaction-status: Add return data to meta ( #23688 )
...
* transaction-status: Add return data to meta
* Add return data to simulation results
* Use pretty-hex for printing return data
* Update arg name, make TransactionRecord struct
* Rename TransactionRecord -> ExecutionRecord
2022-03-22 23:17:05 +01:00
359e2de090
ignore heavy tests in dos
2022-03-22 20:19:28 +01:00
1089a38aaf
AcctIdx: rework scan and write to disk ( #23794 )
2022-03-22 11:54:12 -05:00
89ba3ff139
log fail to evict ( #23815 )
2022-03-22 09:19:38 -05:00
16b73a998b
Increasing timeout in local-cluster-slow by 10 min
2022-03-22 17:52:06 +05:30