Jeff Washington (jwash)
258db77100
AcctIdx: factor 'scan' out of flush_internal ( #23777 )
2022-03-20 22:00:38 -05:00
carllin
f34434f96b
Drop lock ( #23765 )
2022-03-20 21:27:24 -04:00
Jeff Washington (jwash)
dd69f3baf5
throttle index adding to allow disk flushing to keep up and reduce startup ram usage ( #23773 )
2022-03-20 19:56:20 -05:00
Brooks Prumo
335c4b668b
Fix bug in bank/sysvar_cache tests ( #23780 )
2022-03-19 21:38:18 -05:00
Ikko Ashimine
848093b9fd
Fix typo in processor.rs ( #23786 )
...
relavant -> relevant
2022-03-19 15:24:40 -05:00
Jeff Washington (jwash)
df29276eb0
AcctIdx: remove -> evict ( #23775 )
2022-03-18 17:13:21 -05:00
Tao Zhu
71ea05c176
replace nested for_each with flat_map
2022-03-18 16:37:41 -05:00
Tao Zhu
1c369fb55f
Scan entire UnprocessedPacketBatches buffer to produce stake and locator of each packet
2022-03-18 16:37:41 -05:00
Jack May
1f052c6234
disable deprecated BPF loader deploys ( #23757 )
2022-03-18 14:29:49 -07:00
Jack May
7e358c654f
add test to assert type assumption ( #23769 )
2022-03-18 14:15:59 -07:00
g1stavo
c556811c0f
docs: fix stake state typo ( #23776 )
2022-03-18 13:45:07 -06:00
Jeff Washington (jwash)
a419374fa4
factor out function ( #23742 )
2022-03-18 14:10:52 -05:00
Jack May
0e64fb1fab
don't rely on align_offset to check alignment ( #23770 )
2022-03-18 11:30:52 -07:00
Brian Anderson
fcea92ec6c
Improve correctness of Rust-side type definitions for C invoke syscall ( #23624 )
...
* Make Rust definitions of C types repr(C)
* Make SolInstruction field types agree with C definitions
* Use correct SolSignerSeedsC type in SyscallInvokeSignedC
* rustfmt
* Change asserts to debug asserts in syscall.rs
2022-03-18 11:30:30 -07:00
Yueh-Hsuan Chiang
f999eef452
(LedgerStore) Rename BlockstoreAdvancedOptions to LedgerColumnOptions ( #23764 )
...
This PR renames BlockstoreAdvancedOptions to LedgerColumnOptions, as we will
pass-down this struct to LedgerColumn to allow it to perform metric reporting.
2022-03-18 11:13:35 -07:00
Tao Zhu
56428be629
Not exposing inner cost_table to encapsulating implementation details,
...
making future change easier.
2022-03-18 12:58:43 -05:00
dependabot[bot]
00ddf6576c
chore: bump crossbeam-channel from 0.5.2 to 0.5.3 ( #23698 )
...
* chore: bump crossbeam-channel from 0.5.2 to 0.5.3
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.2...crossbeam-channel-0.5.3 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com>
2022-03-18 11:44:33 -06:00
Jeff Washington (jwash)
998e7d18f9
AcctIdx: never retry a bucket flush ( #23732 )
2022-03-18 12:20:42 -05:00
Brian Anderson
c9b8977226
Add crate docs for solana-program ( #23363 )
...
* Add crate docs for solana-program
* Rework solana-program docs for pr feedback
* Clarify log module docs
* Remove address lookup table program from solana-program docs
2022-03-18 08:27:51 -07:00
HaoranYi
f54e746fc5
Support u8 slice digester in frozen abi struct. ( #23726 )
...
* support u8 slice in frozen abi digester
* use slice in account struct
* add bpf cargo lock file
* no need to pass account.data to serializer
* fix comments
2022-03-18 09:31:07 -05:00
Kirill Lykov
c694703e14
address PR comments
2022-03-18 14:55:33 +01:00
Kirill Lykov
2da896fa40
add documentation
2022-03-18 14:55:33 +01:00
Kirill Lykov
7074ebf45a
address PR comments
2022-03-18 14:55:33 +01:00
klykov
957bc0db6b
add tests to dos tool
2022-03-18 14:55:33 +01:00
klykov
d9dbfc83d5
upd Cargo.lock
2022-03-18 14:55:33 +01:00
klykov
f5339882cb
refactor cmdline interface
2022-03-18 14:55:33 +01:00
klykov
a63dee87ec
add transaction parameters dump
2022-03-18 14:55:33 +01:00
klykov
1b0c9ad4c0
add option payer to dos tool
2022-03-18 14:55:33 +01:00
klykov
cf73f6dc74
fix typo in dos
2022-03-18 14:55:33 +01:00
klykov
dce5d1c1fa
avoid signatures if unnecessary in dos
2022-03-18 14:55:33 +01:00
klykov
1641d1d329
fix: cache blockhash in dos tool
2022-03-18 14:55:33 +01:00
klykov
cb537e80d7
add transaction options to dos
2022-03-18 14:55:33 +01:00
klykov
d4d95f1811
add valid blockhash option to dos
2022-03-18 14:55:33 +01:00
klykov
797c3324f0
add number of signatures to dos
2022-03-18 14:55:33 +01:00
Tao Zhu
0ed23899e7
directly use compute_budget MAX_UNITS and DEFAULT_UNITS
2022-03-18 08:53:11 -05:00
Tao Zhu
a4cacf3389
add deterministic default cost
2022-03-18 08:53:11 -05:00
Trent Nelson
ce2e82cfb6
validator: `--only-known-rpc` requires a `--known-validator ...`
2022-03-18 07:02:16 +00:00
Jeff Washington (jwash)
857576d76f
AcctIdx: move write to disk outside in mem write lock ( #23731 )
2022-03-17 23:09:41 -05:00
Brooks Prumo
7ff8c80e25
Add accounts_data_len to bank snapshot ( #23714 )
2022-03-17 20:14:54 -05:00
Tao Zhu
c478fe2047
add timing metrics, some renaming
2022-03-17 19:31:28 -05:00
Tao Zhu
fd515097d8
leader qos part 2: add stage to find sender stake, set to packet meta
2022-03-17 19:31:28 -05:00
Stephen Akridge
976b138e76
Add tx weighting stage
2022-03-17 19:31:28 -05:00
Jeff Washington (jwash)
664deb2157
AcctIdx: get rid of unused is_dirty ( #23733 )
2022-03-17 16:29:36 -05:00
Lijun Wang
8b230b86cc
Use borrow instead of move in interfaces defined by TpuConnection ( #23734 )
...
* Use borrow instead of move in interfaces defined by TpuConnection to avoid data copy
* Removed a few more unnecessary whole array slicing.
2022-03-17 13:31:11 -07:00
behzad nouri
6b0d34d70d
removes redundant Arcs from Blockstore ( #23735 )
2022-03-17 19:43:57 +00:00
Jeff Washington (jwash)
342f1ab1cb
clean up/add comments ( #23727 )
2022-03-17 14:23:08 -05:00
Will Hickey
2f58c9e501
Bump version to 1.10.4 ( #23743 )
2022-03-17 14:02:13 -05:00
Jeff Washington (jwash)
bb9f9c8dd5
AccountSharedData::serialize ( #23685 )
2022-03-17 09:29:49 -05:00
Jeff Washington (jwash)
66b1f55351
AcctIdx: cheaper check for should evict while flushing ( #23705 )
2022-03-17 08:46:32 -05:00
Jeff Washington (jwash)
3a46f45650
AcctIdx: add stats for flushing and estimated memory ( #23709 )
2022-03-17 08:46:00 -05:00