Michael Vines
4b0f6fd6b1
Bump version to 1.4.29
2021-02-17 06:39:18 +00:00
mergify[bot]
817f2fe1ad
Add --force arg for bigtable upload ( #15361 )
...
(cherry picked from commit 98e3e570d2
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-02-17 02:56:24 +00:00
mergify[bot]
2f673e7f3d
checks that prune-messages have the same inner/outer pubkey (bp #15352 ) ( #15355 )
...
* checks that prune-messages have the same inner/outer pubkey (#15352 )
(cherry picked from commit 076c20f1ca
)
# Conflicts:
# core/src/cluster_info.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-02-16 23:29:00 +00:00
Trent Nelson
a5796e0d4d
Bump version to 1.4.28
2021-02-13 04:19:31 +00:00
mergify[bot]
dc5f6d3e15
Use spl-token-mint secondary index for relevant getProgramAccounts requests ( #15219 ) ( #15223 )
...
(cherry picked from commit 948819dfa8
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-10 02:03:48 +00:00
mergify[bot]
40e9bd1224
Warp timestamp and extend max-allowable-drift for accommodate slow blocks (bp #15204 ) ( #15221 )
...
* Warp timestamp and extend max-allowable-drift for accommodate slow blocks (#15204 )
* Remove timestamp_correction feature gating
* Remove timestamp_bounding feature gating
* Remove unused deprecated ledger code
* Remove unused deprecated unbounded-timestamp code
* Enable independent adjustment of fast/slow timestamp bounding
* Update timestamp bounds to 25% fast, 80% slow; warp timestamp
* Update bank hash test
* Add PR number to feature
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit da6753b8c0
)
# Conflicts:
# ledger/src/blockstore.rs
# runtime/src/bank.rs
# sdk/src/feature_set.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-02-10 02:03:43 +00:00
Michael Vines
30d66ba128
Bump version to v1.4.27
2021-02-05 19:20:09 +00:00
Tyera Eulberg
edf76509a5
Bump version to 1.4.26 ( #14937 )
2021-01-29 18:07:22 -07:00
Michael Vines
ec46f6b91f
cli now supports a custodian for stake authorize operations
...
(cherry picked from commit 119e2c75dd
)
2021-01-26 16:52:09 -08:00
behzad nouri
700478e6f8
fixes test_filter_current flakiness ( #14816 )
...
(cherry picked from commit d1df9da7d3
)
2021-01-25 12:45:03 -08:00
mergify[bot]
1041532c0e
Rpc: Add custom error for BigTable data not found (bp #14762 ) ( #14764 )
...
* Rpc: Add custom error for BigTable data not found (#14762 )
* Expose not-found bigtable error
* Add custom rpc error for bigtable data not found
* Return custom rpc error when bigtable block is not found
* Generalize long-term storage
(cherry picked from commit 71e9958e06
)
# Conflicts:
# client/src/rpc_custom_error.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-22 06:09:22 +00:00
mergify[bot]
e4068cb1bc
SPL token balance in transaction metadata (bp #13673 ) ( #14752 )
...
* 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
(cherry picked from commit 13db3eca9f
)
# Conflicts:
# core/src/banking_stage.rs
# storage-proto/Cargo.toml
# storage-proto/src/convert.rs
* resolve merges storage-proto banking_stage
* fix bpf tests with token deltas
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-01-22 02:58:51 +00:00
mergify[bot]
4a6f17fb2d
fixes test_filter_current flakiness (bp #14749 ) ( #14760 )
...
* fixes test_filter_current flakiness (#14749 )
(cherry picked from commit e4da6761a7
)
# Conflicts:
# core/src/crds_value.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-22 01:17:59 +00:00
mergify[bot]
4c2e1a5ebf
Sanitize transactions more (bp #14716 ) ( #14734 )
...
* `solana decode-transaction` no longer panics on unsanitary transactions
(cherry picked from commit e9b5d65f40
)
* Ensure sanitary transactions
(cherry picked from commit 04ce33a04e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-21 09:55:54 +00:00
Michael Vines
5d2bd179b1
Bump version to 1.4.25
2021-01-20 05:47:10 +00:00
mergify[bot]
afa1905cda
Configure Bigtable's timeout, enabling by default ( #14657 ) ( #14668 )
...
* Configure bigtable's timeout when read-only
* Review comments
* Apply nits (thanks!)
Co-authored-by: Michael Vines <mvines@gmail.com >
* Timeout in the streamed decoding as well
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit dcaa025822
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-19 15:36:32 +00:00
mergify[bot]
1460b844bc
feature gates turbine retransmit peers patch (bp #14631 ) ( #14658 )
...
* feature gates turbine retransmit peers patch (#14631 )
(cherry picked from commit c6ae0667e6
)
# Conflicts:
# sdk/src/feature_set.rs
* removes backport merge conflicts
* adds .clone for backport
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-19 06:11:21 +00:00
mergify[bot]
6f56f9ec1b
Make Bigtable::get_confirmed_blocks inclusive of requested start_slot and end_slot ( #14651 ) ( #14654 )
...
* Fix off-by-one error
* Filter out blocks greater than end slot
(cherry picked from commit cbf8ef7480
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-19 03:54:43 +00:00
Ryo Onodera
4d4215386d
Clean up and add comment
...
(cherry picked from commit 8d4ab1bab1
)
2021-01-17 20:04:33 -08:00
Ryo Onodera
008e387381
WIP fix the occasional stuck RPC request
...
(cherry picked from commit 5cf9094bb9
)
2021-01-17 20:04:33 -08:00
mergify[bot]
2e31f4d8f7
Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (bp #14430 ) ( #14610 )
...
* Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (#14430 )
* Add optimistically_confirmed field to TransactionStatus
* Update docs
* Convert new field to confirmation_status
* Update docs to confirmationStatus
* Update variants
* Update docs
* Just Confirmed
(cherry picked from commit 9a89689ad3
)
# Conflicts:
# tokens/src/commands.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-16 04:46:08 +00:00
mergify[bot]
b064956e20
Add load/execute/store timings ( #14561 ) ( #14590 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-15 21:13:09 +00:00
mergify[bot]
6a5d664d6a
patches bug in turbine's neighbors computation ( #14565 ) ( #14612 )
...
Removing local node's index early from the set here:
https://github.com/solana-labs/solana/blob/e1b59ded4/core/src/retransmit_stage.rs#L346
distorts the order of nodes depending on which node is computing the
turbine fan-out tree, and results in incorrect neighbors computation.
(cherry picked from commit cfcca1cd3c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-15 18:42:44 +00:00
mergify[bot]
b1335041c8
validator: Add --rpc-threads argument (bp #14553 ) ( #14567 )
...
* Add --rpc-threads argument
(cherry picked from commit 11daaadc93
)
# Conflicts:
# Cargo.lock
# validator/Cargo.toml
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-14 00:09:22 +00:00
Jack May
682acd5bfd
Bump version to v1.4.24 ( #14543 )
2021-01-12 02:44:28 +00:00
Tyera Eulberg
375295a605
v1.4: Update timestamp max allowable drift to 50% of PoH ( #14532 )
...
* Add timestamp warp
* Change max_allowable_drift to 50%
* Fill in PR#
* Fix rpc test setup
2021-01-11 22:49:19 +00:00
mergify[bot]
f925828f79
Avoid tmp snapshot backlog in SnapshotPackagerService under high load (bp #14516 ) ( #14527 )
...
* Avoid tmp snapshot backlog in SnapshotPackagerService under high load (#14516 )
(cherry picked from commit a95675a7ce
)
# Conflicts:
# core/src/validator.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-11 19:46:04 +00:00
Michael Vines
f67820cc56
rebase
2021-01-11 08:40:07 -08:00
Michael Vines
db26cdf8f0
Rename CompressionType to ArchiveFormat
...
(cherry picked from commit 7be6770808
)
# Conflicts:
# core/src/test_validator.rs
2021-01-11 08:40:07 -08:00
Michael Vines
683d748784
Rename AccountsPackage::root to AccountsPackage::slot
...
(cherry picked from commit 141e6706e6
)
2021-01-11 08:40:07 -08:00
Michael Vines
e7bb83c037
Bump version to 1.4.23
2021-01-08 16:19:46 -08:00
mergify[bot]
cbcbc3f1c8
limits number of crds values associated with a pubkey (bp #14467 ) ( #14489 )
...
* limits number of crds values associated with a pubkey (#14467 )
(cherry picked from commit 766195dded
)
# Conflicts:
# core/src/crds.rs
* removes backport merge conflicts
* updates smallvec
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-08 21:27:00 +00:00
mergify[bot]
04eed1b57e
indexes crds values associated with a pubkey ( #14088 ) ( #14474 )
...
record_labels returns all the possible labels for a record identified by
a pubkey, used in updating timestamp of crds values:
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds_value.rs#L560-L577
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds.rs#L240-L251
The code relies on CrdsValueLabel to be limited to a small deterministic
set of possible values for a fixed pubkey. As we expand crds values to
include duplicate shreds, this limits what the duplicate proofs can be
keyed by in the table.
In addition the computation of these labels is inefficient and will
become more so as duplicate shreds and more types of crds values are
added. An alternative is to maintain an index of all crds values
associated with a pubkey.
(cherry picked from commit c2b7115031
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-07 15:25:37 +00:00
Tyera Eulberg
d8e878998c
Bump version to 1.4.22 ( #14462 )
2021-01-06 19:42:50 +00:00
mergify[bot]
50ebc3f4d8
Add fixed tick rate adjustment ( #14447 ) ( #14458 )
...
(cherry picked from commit c282586753
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-06 04:47:13 +00:00
mergify[bot]
599f5a16b2
Enable program-id account index for supply calculations ( #14444 ) ( #14455 )
...
* Enable program-id account index for supply calculations
* Fixup comments
(cherry picked from commit ce1766d798
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-06 04:12:48 +00:00
Michael Vines
789e2d7f33
Bump version to 1.4.21
2021-01-02 08:52:35 +00:00
mergify[bot]
bbafd9783b
Add secondary indexes ( #14212 ) ( #14381 )
...
(cherry picked from commit 5affd8aa72
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-01 07:29:48 +00:00
mergify[bot]
624abc7434
Only initialize BigTable upload service when requested ( #14379 )
...
(cherry picked from commit 4a3d217839
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-01 03:06:28 +00:00
mergify[bot]
fb4204b135
Add experimental knob for tuning PoH pinned CPU core (bp #14330 ) ( #14340 )
...
* core: Update stale error message
(cherry picked from commit 82f61c0c4a
)
* validator: Add experimental flag to select PoH pinned core
(cherry picked from commit fe667db910
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-30 03:52:58 +00:00
mergify[bot]
50e733837a
Add poh speed check and tick speed calibration ( #14292 ) ( #14327 )
...
(cherry picked from commit 2074e407cd
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-30 00:06:53 +00:00
mergify[bot]
1ae516fd4a
core/validator: Wrap std::process:exit(1) for easier testing ( #13990 ) ( #14332 )
...
(cherry picked from commit 3d9d7557c8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-29 22:12:47 +00:00
mergify[bot]
715fdfefe4
Retry durable-nonce transactions ( #14308 ) ( #14324 )
...
* Retry durable-nonce transactions
* Add metric to track durable-nonce txs in queue
* Populate send-tx-service initial addresses with tpu_address if empty (primarily for testing)
* Reinstate last_valid_slot check for durable-nonce txs; use arbitrary future slot
(cherry picked from commit 3f10fb993b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-29 18:12:47 +00:00
mergify[bot]
6f2b37b015
Deinit zero-lamport account data (bp #14242 ) ( #14265 )
...
* Deinitialize nonce data upon zero balance
(cherry picked from commit 3881ae10fb
)
* vote: Add helper for creating current-versioned states
(cherry picked from commit 5b903318b2
)
* Deinitialize vote data upon zero balance
(cherry picked from commit db5bd6ea1a
)
* Deinitialize stake data upon zero balance
(cherry picked from commit 50710473a8
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-23 04:34:52 +00:00
Michael Vines
8afa345eb3
Bump version to 1.4.20
2020-12-21 20:18:12 -08:00
sakridge
9466ad3c1f
Add shrink paths ( #14208 )
2020-12-21 13:05:07 -08:00
sakridge
6d0b1bd93e
Fix test_max_hashes ( #14189 )
...
(cherry picked from commit a5db6399ad
)
2020-12-21 09:05:37 -08:00
Michael Vines
a0565e2fbd
Restore Content-Length header for streaming snapshot download
...
(cherry picked from commit 57b03c5bc1
)
2020-12-21 09:03:31 -08:00
mergify[bot]
71eef63fce
Stream RPC snapshot downloads (bp #14213 ) ( #14214 )
...
* Stream RPC snapshot downloads
(cherry picked from commit b3dc988564
)
# Conflicts:
# core/Cargo.toml
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-20 01:25:16 +00:00
mergify[bot]
420e4c772f
getBlockTime RPC method now falls back to BigTable in all cases ( #14206 )
...
(cherry picked from commit 0090106f60
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-18 22:11:26 +00:00