steviez
9e8f21ec26
Add metric to track number of slots processed in load_frozen_forks() ( #28247 )
2022-10-06 12:17:49 -05:00
HaoranYi
a26fe6d1be
fix node count query ( #28259 )
...
* fix node count query
* fix column name
2022-10-06 11:39:39 -05:00
behzad nouri
a6512016a7
uses references for MerkleBranch root and proof fields ( #28243 )
2022-10-06 15:41:55 +00:00
Kartik Soneji
c7c67f010b
docs: Better install command for Windows ( #28138 )
...
Pass install command to `cmd` on Windows
2022-10-06 12:38:48 +02:00
Justin Starry
db37d6b2ec
RPC: Improve unsupported transaction error message ( #28249 )
2022-10-06 17:12:56 +08:00
Justin Starry
40ebebe140
Explorer: Display block utc timestamp in account history ( #28248 )
2022-10-06 06:04:04 +00:00
Jeff Washington (jwash)
435d4aded9
run initial hash calc in background, using background threads ( #28239 )
2022-10-05 19:42:06 -07:00
Brooks Prumo
eec2a2a301
Move epoch accounts hash utility functions ( #28219 )
2022-10-05 23:29:22 +00:00
Jeff Washington (jwash)
456d4ae93a
accounts hash calc, add get_ancient_slots ( #28240 )
2022-10-05 15:32:39 -07:00
Jeff Washington (jwash)
ad0742c7cf
exit early deep in bank freeze, avoiding some unnecessary work ( #28238 )
...
exit early on bank freeze
2022-10-05 14:49:33 -07:00
Brooks Prumo
a8c6a9e5fc
Bank::freeze() waits for EAH calculation to complete ( #28170 )
2022-10-05 17:44:35 -04:00
kirill lykov
63c00e7f5e
move readable inside the loop of packets ( #27916 )
...
* Add recv_mmsg_exact function
* update tests
* address PR comments
2022-10-05 22:20:26 +02:00
Jeff Washington (jwash)
3f5eec32cd
refactor SplitAncientStorages::new for testing ( #28235 )
2022-10-05 12:56:29 -07:00
Michael
459c9699b8
Resolve PagerDuty incident on All Clear instead of triggering new incident ( #28232 )
2022-10-05 11:55:45 -07:00
Jason Davis
c899ededfc
Minor refactoring and cleaning of cpuid code
2022-10-05 11:43:27 -05:00
Jason Davis
8c42b07912
Updated cargo.lock
2022-10-05 11:43:27 -05:00
Jason Davis
3b2ab313de
Use num-enum crate to make everything typesafe
2022-10-05 11:43:27 -05:00
Jason Davis
1e1455688d
Convert magic numbers to named constants
2022-10-05 11:43:27 -05:00
Jason Davis
fac772ff90
Update naming, style after PR review comments
2022-10-05 11:43:27 -05:00
Jason Davis
13b095b4ab
Fix a fmt problem, I think. Shows up in the git check, but not when I run here
2022-10-05 11:43:27 -05:00
Jason Davis
c8584b0cdd
Cargo fmt applied
2022-10-05 11:43:27 -05:00
Jason Davis
d841286c21
Add cpuid calls and metric reporting; change cpu info sampling interval from 1s to 10s
2022-10-05 11:43:27 -05:00
Ivan Mironov
d200256f55
sys-tuner: Do not change sysctl parameters to smaller values
2022-10-05 09:36:08 -07:00
Jeff Washington (jwash)
f464c69764
refactor into SplitAncientStorages::new ( #28228 )
2022-10-05 08:46:53 -07:00
Alexander Meißner
58a9bf74e1
Moves AlignedMemory from solana_rbpf into a new crate: memory-managment. ( #28079 )
...
* Moves AlignedMemory from solana_rbpf into a new crate: memory-managment.
* Makes cargo clippy happy.
* deny clippy::integer_arithmetic
* Makes write_unchecked() take a generic parameter.
* Restricts AlignedMemory::write_unchecked() to Pod types.
* Adds DynamicLayoutArray.
* Moves is_memory_aligned() into crate root.
2022-10-05 08:39:55 +02:00
Jeff Biseda
e3e888c0e0
stats for staked/unstaked repair requests ( #28215 )
2022-10-04 17:37:24 -07:00
Alessandro Decina
ac983b725f
benches/bpf_loader: make account writable in bench_instruction_count_… ( #28224 )
...
benches/bpf_loader: make account writable in bench_instruction_count_tuner
The tuner program writes to its input account. This fixes the benchmark with
the direct_mapping branch, where we do enforce permissions before execution.
2022-10-04 22:44:22 +01:00
Jeff Washington (jwash)
7ae7a3ff0e
after replay at validator startup don't verify hash calc ( #28222 )
2022-10-04 14:04:04 -07:00
Jeff Washington (jwash)
990fb68c34
add sub timings in load_frozen_forks ( #28223 )
2022-10-04 13:46:02 -07:00
behzad nouri
9e7a0e7420
rolls out merkle shreds to ~5% of testnet ( #28199 )
2022-10-04 19:36:16 +00:00
steviez
7fef7d569a
Make RocksFifo storage size API expose an Option<u64> ( #28192 )
...
A fifo rocksdb instance must be opened with max size parameter on the
fifo columns. To support this, we previously plumbed a constant up to
callers that provided a default if unbounded growth desired.
This change attempts to be more rusty by exposing an option for this
value, and converting the option to a constant at the lowest level
possible.
2022-10-04 12:38:40 -05:00
Jeff Washington (jwash)
3339570a70
accounts hash scan refactoring ( #28220 )
2022-10-04 10:19:50 -07:00
Will Hickey
1359f2cea7
Add remediation to CI error message for uncommited Cargo.lock changes ( #28147 )
...
* Add remediation to CI error message for uncommited Cargo.lock changes
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-10-04 11:18:20 -05:00
Jeff Washington (jwash)
fd11e261dd
use ref for snapshot_storages.iter_range ( #28205 )
2022-10-04 09:11:44 -07:00
Justin Starry
ddf95c181c
RPC: Support versioned txs in getFeeForMessage API ( #28217 )
...
* RPC: Support versioned txs in getFeeForMessage API
* Update sdk/program/src/message/sanitized.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-10-05 00:00:34 +08:00
Jeff Washington (jwash)
39b37e2c6f
remove LoadZeroLamports enum ( #28204 )
...
remove feature return_none_for_zero_lamport_accounts
2022-10-04 08:06:56 -07:00
Abraar
8d3e924dd2
Fix typo in Versioned Transactions ( #28213 )
2022-10-04 08:29:24 +00:00
steviez
8cc8a0656a
Cleanup solana-ledger-tool slot output ( #28129 )
2022-10-03 23:25:44 -05:00
steviez
49dbae7e53
Use VecDeque as a queue instead of Vec ( #28190 )
2022-10-03 22:55:59 -05:00
acheron
83f9c14d5c
docs: Rewrite the Quick Start guide to rely exclusively on playground ( #28101 )
...
* Update hello world docs client part
* Sign the transaction with playground wallet keypair
* Remove unused explorer image
2022-10-03 20:52:50 -05:00
carllin
14a415ccf3
Consensus Logging ( #28176 )
2022-10-03 20:45:55 -05:00
Jeff Washington (jwash)
e2c0999568
rename fields in SplitAncientStorages ( #28200 )
2022-10-03 17:18:08 -07:00
Michael
736ccc7033
Watchtower pagerduty ( #28196 )
...
Add PagerDuty to watchtower and notifier
fmt
2022-10-04 00:15:56 +00:00
Jeff Washington (jwash)
df76cb5ad9
refactor into split_storages_ancient ( #28194 )
2022-10-03 14:25:33 -07:00
Jeff Washington (jwash)
7b4a6ded5b
remove feature return_none_for_zero_lamport_accounts ( #28144 )
2022-10-03 12:22:56 -07:00
Jeff Washington (jwash)
05ebd42ac5
remove troublesome assert ( #28195 )
2022-10-03 12:18:48 -07:00
Jeff Washington (jwash)
2d4c88574c
add accounts hash get_binned_data() ( #28168 )
2022-10-03 12:17:32 -07:00
haoran
c4aab3f178
typo
2022-10-03 09:41:15 -05:00
Brooks Prumo
5d044ccb34
abs: Update last_full_snapshot_slot before calling clean_accounts() ( #27940 )
2022-10-03 09:34:13 -04:00
Justin Starry
c2bb2b8e60
Allow validators to reset to the slot which matches their last voted slot ( #28172 )
...
* Add failing test
* Allow resetting to duplicate was confirmed
* feedback
* feedback
* bump
* simplify change
* Revert "simplify change"
This reverts commit 72e5de3e5bdac595f71dc7fc01650ca3bc7da98e.
* update comment
* Update core/src/replay_stage.rs
2022-10-03 16:49:47 +08:00