mergify[bot]
c9da25836a
Upgrade to Rust v1.49.0 (bp #14810 ) ( #14811 )
...
* Upgrade to Rust v1.49.0
(cherry picked from commit cbffab7850
)
# Conflicts:
# core/src/crds_value.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-24 04:42:09 +00:00
mergify[bot]
b48dd58fda
Upgrade sha2 to 0.9.3 ( #14746 ) ( #14799 )
...
(cherry picked from commit 191193289f
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-23 23:08:33 +00:00
mergify[bot]
733a1c85cf
Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (bp #14572 ) ( #14728 )
...
* Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (#14572 )
* add block_time to get_confirmed_signatures_for_address2 and protobuf implementation for tx_by_addr
* add tests for convert
* update cargo lock
* run cargo format after rebase
* introduce legacy TransactionByAddrInfo
* move LegacyTransactionByAddrInfo back to storage-bigtable
(cherry picked from commit 1de6d28eaf
)
* fix local sanity script
* add missing block_time field
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-01-22 02:02:45 +00:00
Jack May
d72c90e475
Bump version to v1.5.5 ( #14700 )
2021-01-20 20:26:16 +00:00
mergify[bot]
bdfffd0151
Add load/execute/store timings ( #14561 ) ( #14591 )
...
(cherry picked from commit 907f518f6d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-14 23:48:36 +00:00
Trent Nelson
1b02ec4f6e
Bump version to v1.5.4
2021-01-14 04:40:25 +00:00
mergify[bot]
1276b92462
Don't stop to find newer cluster-confirmed roots ( #14557 ) ( #14560 )
...
* Don't stop to find newer cluster-confirmed roots
* Fix and add new tests
* nits
(cherry picked from commit e95ebcf864
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-13 17:05:46 +00:00
mergify[bot]
0e3e3a03cc
Cache account stores, flush from AccountsBackgroundService ( #13140 ) ( #14542 )
...
(cherry picked from commit 6dfad0652f
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-12 06:12:18 +00:00
mergify[bot]
b15603b4eb
Add rocskdb high priority threads ( #14515 ) ( #14536 )
...
Without them, memtable writes can stall on compactions.
(cherry picked from commit d8105bb7d7
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-11 23:07:59 +00:00
mergify[bot]
ae73cc8d05
Humanize the 'ledger processed...' time ( #14511 )
...
(cherry picked from commit 86c81a0ba2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-09 08:14:14 +00:00
Michael Vines
ec15ea079f
Bump version to 1.5.3
2021-01-08 16:19:27 -08:00
Michael Vines
97665b977e
Bump version to v1.5.2
2021-01-04 06:44:52 +00:00
mergify[bot]
f6de92c346
Add secondary indexes ( #14212 ) ( #14382 )
...
(cherry picked from commit 5affd8aa72
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-01 07:42:47 +00:00
Michael Vines
ffd6f3e6bf
Revert "Upgrade in-tree tokio 0.2 usage to tokio 0.3 ( #14326 )"
...
This reverts commit 6c5be574c8
.
2020-12-30 22:25:23 -08:00
mergify[bot]
abee1e83eb
Add poh speed check and tick speed calibration ( #14292 ) ( #14328 )
...
(cherry picked from commit 2074e407cd
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-29 19:40:49 +00:00
mergify[bot]
6c5be574c8
Upgrade in-tree tokio 0.2 usage to tokio 0.3 ( #14326 )
...
(cherry picked from commit 444ed768dc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-29 19:03:18 +00:00
Michael Vines
02da7dfedf
Bump version to v1.5.1
2020-12-27 21:57:43 -08:00
mergify[bot]
52ffb9a64a
Add accounts shrink paths (bp #14238 ) ( #14270 )
...
* Add shrink paths (#14238 )
(cherry picked from commit baa9602411
)
* Ignore long/hanging test (#14261 )
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-23 08:03:33 +00:00
Trent Nelson
198ed407b7
vote: Add helper for creating current-versioned states
2020-12-23 06:17:59 +00:00
behzad nouri
b7fa4b7ee1
caches staked nodes computed from vote-accounts ( #13929 )
...
(cherry picked from commit d6d76219b6
)
2020-12-21 09:05:17 -08:00
mergify[bot]
9b8f0bee99
adds crds-value for broadcasting duplicate shreds through gossip (bp #14133 ) ( #14203 )
...
* adds crds-value for broadcasting duplicate shreds through gossip (#14133 )
In gossip, the header overhead we get from:
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/cluster_info.rs#L434-L435
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/crds_value.rs#L31-L36
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/crds_value.rs#L73
already exceeds SIZE_OF_NONCE in shreds. We also need aditional
meta-data (wallclock, source pubkey, ...). Which means that given the
SHRED_PAYLOAD_SIZE, we cannot fit all these in PACKET_DATA_SIZE:
https://github.com/solana-labs/solana/blob/de9ac43eb/ledger/src/shred.rs#L80
On top of that, we need 2 shred payloads as the proof of duplicate. So
each DuplicateShred crds value includes only a chunk of the payload,
along with the meta-data to reconstruct the full payload from the chunks
on the receiving end.
(cherry picked from commit 6a3797e164
)
# Conflicts:
# Cargo.lock
# ledger/Cargo.toml
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-18 22:54:50 +00:00
Michael Vines
981294cbc6
Don't require increased open file limit at ledger creation
...
Follow-up to 0b92720fdb
, `create_new_ledger()` does not require a higher fd limit
2020-12-17 08:49:23 -08:00
Michael Vines
9aaf41bef2
Don't require increased open file limit in solana-test-validator
...
Travis CI in particular does not allow the open file limit to be
increased.
(cherry picked from commit 0b92720fdb
)
2020-12-16 22:59:56 -08:00
mergify[bot]
bb2fb07b39
Add blockstore skipped api ( #14145 ) ( #14167 )
...
* Add blockstore api to determine if a slot was skipped
* Return custom rpc error if slot is skipped
(cherry picked from commit ac0d32bc7e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-16 22:26:54 +00:00
mergify[bot]
c481e4fe7f
Partial shred deserialize cleanup and shred type differentiation ( #14094 ) ( #14139 )
...
* Partial shred deserialize cleanup and shred type differentiation in retransmit
* consolidate packet hashing logic
(cherry picked from commit d4a174fb7c
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-16 08:57:21 -08:00
mergify[bot]
015bbc1e12
Fix up upgradeable bpf loader activation ( #14149 )
...
(cherry picked from commit 501fd83afd
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-16 07:54:44 +00:00
mergify[bot]
8d0b102b44
Cleanup ledger builtins ( #14083 ) ( #14130 )
...
(cherry picked from commit 582418de5e
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-15 21:45:44 +00:00
Jack May
9e90394583
Upgradeable loader ( #13689 )
2020-12-14 15:35:10 -08:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
dependabot[bot]
88d950e5a8
chore: bump log from 0.4.8 to 0.4.11 ( #13691 )
...
* chore: bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log ) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11 )
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 <dependabot-buildkite@noreply.solana.com >
2020-12-13 13:48:23 +09:00
dependabot[bot]
8df9bcc784
chore: bump libc from 0.2.80 to 0.2.81 ( #14092 )
...
* chore: bump libc from 0.2.80 to 0.2.81
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.80 to 0.2.81.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.80...0.2.81 )
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 <dependabot-buildkite@noreply.solana.com >
2020-12-13 12:13:17 +09:00
Michael Vines
0a9ff1dc9d
Initial solana-test-validator command-line program
2020-12-11 04:17:38 +00:00
Josh
13db3eca9f
SPL token balance in transaction metadata ( #13673 )
...
* feat: store pre / post token balances
* move helper functions into separate include
* move token balance functionality to transaction-status crate
* fix blockstore processor test
* fix bigtable legacy test
* add caching to decimals
2020-12-10 19:25:07 -08:00
sakridge
aa2751e614
Check shred type in is_duplicate ( #14050 )
2020-12-10 18:20:08 -08:00
sakridge
c5fe076432
Better dupe detection ( #13992 )
2020-12-09 23:14:31 -08:00
Alexander Meißner
a706706572
Validator CLI option to enable just-in-time compilation of BPF ( #13789 )
...
* Adds a CLI option to the validator to enable just-in-time compilation of BPF.
* Refactoring to use bpf_loader_program instead of feature_set to pass JIT flag from the validator CLI to the executor.
2020-12-07 09:49:55 +01:00
carllin
51d8f36dae
Ledger-tool recreate snapshot of starting snapshots
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-12-04 21:14:59 -08:00
behzad nouri
4e8565253c
verifies that serialized size of transactions does not exceed packet data size ( #13945 )
2020-12-03 22:24:32 +00:00
Tyera Eulberg
85aa632be0
Blockstore exact purge cleanup ( #13946 )
...
* Add failing test
* Clean up signature get
2020-12-03 21:49:07 +00:00
Trent Nelson
404fc1570d
runtime: Replace HashAgeKind
with NonceRollbackInfo
2020-12-02 20:10:08 +00:00
behzad nouri
e1793e5a13
caches vote-state de-serialized from vote accounts ( #13795 )
...
Gossip and other places repeatedly de-serialize vote-state stored in
vote accounts. Ideally the first de-serialization should cache the
result.
This commit adds new VoteAccount type which lazily de-serializes
VoteState from Account data and caches the result internally.
Serialize and Deserialize traits are manually implemented to match
existing code. So, despite changes to frozen_abi, this commit should be
backward compatible.
2020-11-30 17:18:33 +00:00
Michael Vines
b5f7e39be8
TestValidator public interface cleanup
2020-11-25 17:04:37 -08:00
Ryo Onodera
b74d7b5758
Fix fragile tests in prep of stake rewrite pr ( #13654 )
...
* Fix fragile tests in prep of stake rewrite pr
* Restore BOOTSTRAP_VALIDATOR_LAMPORTS where appropriate
* Further clean up
* Further clean up
* Aligh with other call site change
* Remove false warn!
* fix ci!
2020-11-20 17:21:03 +09:00
carllin
afc1b59475
Fix assertion failure ( #13626 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-16 21:30:38 -08:00
dependabot[bot]
fc54fb88ae
chore: bump futures from 0.3.5 to 0.3.8
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.8.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.8 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-14 08:31:19 -08:00
Justin Starry
01a4889b53
clippy
2020-11-13 07:21:38 -08:00
Justin Starry
d611337394
Fix overflow in entry hash count verification
2020-11-13 07:21:38 -08:00
Ryo Onodera
89b474e192
Fix slow/stuck unstaking due to toggling in epoch ( #13501 )
...
* Fix slow/stuck unstaking due to toggling in epoch
* nits
* nits
* Add stake_program_v2 feature status check to cli
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-11 14:11:57 -07:00
sakridge
b4cf968e14
Add back shredding broadcast stats ( #13463 )
2020-11-09 23:04:27 -08:00
Tyera Eulberg
bc62313c66
Allow feature builtins to overwrite existing builtins ( #13403 )
...
* Allow feature builtins to overwrite existing builtins
* Add feature_builtin ActivationType
* Correctly retain idempotent for replacing case
* Fix test
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-05 15:37:07 +00:00