Josh
6b76391ed2
fix(explorer): add sync native to token program decode ( #23874 )
2022-03-23 09:31:58 -07:00
Jack May
6962a667e5
add-u8-align-check ( #23860 )
2022-03-23 09:16:29 -07:00
Jack May
27b66db88d
Use sat math for ptr calcs ( #23861 )
2022-03-23 09:16:03 -07:00
Jeff Washington (jwash)
493a8e2348
remove random flushing of write cache ( #23845 )
2022-03-23 08:45:44 -05:00
klykov
9859eb83b5
upd Cargo.lock for bpf
2022-03-23 09:25:36 +01:00
klykov
36807d5fa3
update clap to v3: poh-bench
2022-03-23 09:25:36 +01:00
klykov
22404ca1fc
update clap to v3: bench-streamer
2022-03-23 09:25:36 +01:00
klykov
01317395e9
update Cargo.lock
2022-03-23 09:25:36 +01:00
klykov
3f2971692d
update clap to v3: net-utils
2022-03-23 09:25:36 +01:00
klykov
300c50798f
update clap to v3: log-analyzer
2022-03-23 09:25:36 +01:00
klykov
12e24a90a0
update clap to v3: net-sharper
2022-03-23 09:25:36 +01:00
Edgar Xi
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
Edgar Xi
f717fda9a3
modify get_protobuf_or_bincode_cells to accept and return an iterator
2022-03-22 22:47:25 -06:00
Edgar Xi
fbcf6a0802
use &[T] instead of Vec<T> where appropriate
...
clippy
2022-03-22 22:47:25 -06:00
Edgar Xi
5533e9393c
appease clippy
2022-03-22 22:47:25 -06:00
Edgar Xi
f3219fb695
add get_confirmed_blocks_with_data and get_protobuf_or_bincode_cells
2022-03-22 22:47:25 -06:00
Jeff Washington (jwash)
bc35e1c5f5
snapshot code needs all storages for hash calc ( #23840 )
2022-03-22 21:27:54 -05:00
Justin Starry
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
Alexander Meißner
9f0ca6d88a
Refactor: Remove `trait` from nonce keyed account ( #23811 )
...
* Removes the trait `NonceKeyedAccount`.
2022-03-23 02:09:30 +01:00
Jack May
3d7c8442c7
add size check for from_raw_parts ( #23781 )
2022-03-22 15:20:39 -07:00
Jon Cinque
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
Kirill Lykov
359e2de090
ignore heavy tests in dos
2022-03-22 20:19:28 +01:00
Jeff Washington (jwash)
1089a38aaf
AcctIdx: rework scan and write to disk ( #23794 )
2022-03-22 11:54:12 -05:00
Jeff Washington (jwash)
89ba3ff139
log fail to evict ( #23815 )
2022-03-22 09:19:38 -05:00
axleiro
16b73a998b
Increasing timeout in local-cluster-slow by 10 min
2022-03-22 17:52:06 +05:30
axleiro
9347d57973
increasing timeout of local-cluster-slow test by 10 min
2022-03-22 17:51:13 +05:30
Yueh-Hsuan Chiang
ae75b1a25f
(LedgerStore) Add compression type ( #23578 )
...
This PR adds `--rocksdb-ledger-compression` as a hidden argument to the validator
for specifying the compression algorithm for TransactionStatus. Available compression
algorithms include `lz4`, `snappy`, `zlib`. The default value is `none`.
Experimental results show that with lz4 compression, we can achieve ~37% size-reduction
on the TransactionStatus column family, or ~8% size-reduction of the ledger store size.
2022-03-22 02:27:09 -07:00
Lijun Wang
49228573f4
Use connection cache in send transaction ( #23712 )
...
Use connection cache in send transaction (#23712 )
2022-03-21 23:24:21 -07:00
Trent Nelson
eb3df4c20e
core: partial versioned transaction support for voting service
2022-03-21 22:59:05 -06:00
Justin Starry
016d3c450a
Update TpuConnection interface to be compatible with versioned txs ( #23760 )
...
* Update TpuConnection interface to be compatible with versioned txs
* Add convenience method for sending txs
* use parallel iterator to serialize transactions
2022-03-22 09:45:22 +08:00
HaoranYi
45a7c6edfb
Fix typos and a small refactor ( #23805 )
...
* fix typo
* remove packet_has_more_unprocessed_transactions function
2022-03-21 18:35:31 -05:00
Will Hickey
c4ecfa5716
Bump version to v1.11 ( #23807 )
...
* Revert crossbeam_epoch to stable. 0.9.8 only works with nightly
* Remove unneeded unit expression
2022-03-21 17:40:50 -05:00
Jeff Washington (jwash)
24f6855f86
AcctIdx: only remove a fixed number of items per write lock ( #23795 )
2022-03-21 16:55:04 -05:00
samkim-crypto
10eeafd3d6
zk-token-sdk: handle edge cases for transfer with fee ( #23804 )
...
* zk-token-sdk: handle edge cases for transfer with fee
* zk-token-sdk: clippy
* zk-token-sdk: clippy
* zk-token-sdk: cargo fmt
2022-03-21 16:10:33 -04:00
Brooks Prumo
cb06126388
Set accounts_data_len on feature activation ( #23730 )
2022-03-21 12:28:26 -05:00
Tyera Eulberg
9c60991cd3
Add ability to query bigtable via solana-test-validator, with hidden params
2022-03-21 11:26:49 -06:00
Trent Nelson
9b32b72990
bigtable: allow custom instance names
2022-03-21 11:26:49 -06:00
Trent Nelson
f513195468
bigtable: add a config ctor for `LedgerStorage`
2022-03-21 11:26:49 -06:00
Tyera Eulberg
63ee00e647
Refactor validator bigtable config
2022-03-21 11:26:49 -06:00
Michael Vines
99f1a43262
Add v1.10 backport label, remove v1.8 backport label
2022-03-21 09:50:55 -07:00
DimAn
739e43ba58
Add ability to get the latest incremental snapshot via RPC ( #23788 )
2022-03-21 11:48:49 -05:00
Lijun Wang
ae76fe2bd7
Made connection cache configurable. ( #23783 )
...
Added command-line argument tpu-use-quic argument.
Changed connection cache to return different connections based on the config.
2022-03-21 09:31:37 -07:00
Pankaj Garg
5d03b188c8
Use QUIC client in voting service ( #23713 )
...
* Use QUIC client in voting service
* guard quic-client usage with a flag
* add measure to time the quic client
* move time measure outside if block
* remove quic vs UDP flag from voting service
2022-03-21 09:10:16 -07:00
Jeff Washington (jwash)
965ab9186d
AcctIdx: fix infinite loop ( #23806 )
2022-03-21 10:58:36 -05:00
Justin Starry
15357480ec
Refactor instruction compilation and update message account key ordering ( #23729 )
...
* Refactor: Make instruction compilation usable for other message versions
* apply trents feedback
* Fix tests
* Fix bpf compatiblity
2022-03-21 20:53:32 +08:00
axleiro
a1a29b0b86
Increased timeout limit of coverage and stable-perf by 10 mins each ( #23797 )
...
* Increased timeout limit of coverage and stable-perf by 10 mins each
* Increasing timeout for in disk CI by 10 min
2022-03-21 15:08:23 +05:30
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