266c63f105
Ignore long/hanging test ( #14260 )
2020-12-22 15:39:09 -07:00
8afa345eb3
Bump version to 1.4.20
2020-12-21 20:18:12 -08:00
4e7049bdf2
v1.4 fix timestamp metrics ( #14235 )
...
* Fix genesis timestamp metric source
* Move timestamp metrics to report even on estimate failure
2020-12-21 22:02:32 +00:00
9466ad3c1f
Add shrink paths ( #14208 )
v1.4.19
2020-12-21 13:05:07 -08:00
6d0b1bd93e
Fix test_max_hashes ( #14189 )
...
(cherry picked from commit a5db6399ad
)
2020-12-21 09:05:37 -08:00
a0565e2fbd
Restore Content-Length header for streaming snapshot download
...
(cherry picked from commit 57b03c5bc1
)
2020-12-21 09:03:31 -08:00
1f309d0bae
Do not delete ALL other snapshots before downloading a new snapshot ( #14226 )
...
(cherry picked from commit 93ae177503
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-21 10:18:06 +00:00
a3342c57db
Allow multiple --accounts arguments ( #14224 )
...
(cherry picked from commit 8082a2454c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-21 09:13:00 +00:00
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
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
9f69f79577
Reject invalid --expected-shred-version ( #14183 ) ( #14201 )
...
* Reject invalid --expected-shred-version
* less code
(cherry picked from commit 3c9b853268
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-18 19:19:32 +09:00
d4b2b787eb
Improved Transaction Forwarding (bp #13944 ) ( #14194 )
...
* Improved Transaction Forwarding (#13944 )
* Forwarding
* Dedupe leaders
* Use consistent commitment for last_valid_slot in rpc send_transaction
* Plumb rpc send_transaction options into solana-validator
* Extend num slots banking-stage holds forwarded txs
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit da7d1e2302
)
# Conflicts:
# cli/src/cli.rs
# core/src/validator.rs
# validator/src/main.rs
* Fix conflicts
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-12-17 18:13:41 -07:00
91a2d03f28
Update version to 1.4.19 ( #14196 )
2020-12-18 00:36:20 +00:00
5490c47c68
Add --bpf-jit stub argument for v1.5 forward compatibility
v1.4.18
2020-12-17 11:00:40 -08:00
7424f7ba7f
Revert "Ignore RUSTSEC-2020-0077 until next 1.4 release"
...
This reverts commit bd6cad3891
.
2020-12-17 03:00:18 +00:00
206accb59a
Override socket2 crate to v0.3.17
2020-12-17 03:00:18 +00:00
120074f1c1
Bump SPL crates
2020-12-17 03:00:18 +00:00
dcc2b10efa
Add timings for store accounts ( #12882 ) ( #14169 )
2020-12-16 17:17:03 -08:00
7adcbae866
Add blockstore skipped api ( #14145 ) ( #14166 )
...
* 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:22:41 +00:00
238b596773
cargo-build-bpf: Create a random -keypair.json
file alongside the program deploy artifact for easy upgrades (bp #14162 ) ( #14164 )
...
* Use AsRef
(cherry picked from commit 9993d2c623
)
* Create a random `-keypair.json` file alongside the program deploy artifact for easy upgrades
(cherry picked from commit 636a455790
)
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-16 21:21:22 +00:00
cb145b9dd5
Correctly show reward percent changes ( #14160 )
...
(cherry picked from commit bebfa6e93c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-16 18:23:23 +00:00
e91b124cd9
check for resize access violations (bp #14142 ) ( #14151 )
...
* check for resize access violations (#14142 )
(cherry picked from commit 025f886e10
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 12:20:52 +00:00
5c379db925
Remove lock files from programs/bpf/rust ( #14148 ) ( #14157 )
...
(cherry picked from commit 49c3f14016
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 11:43:46 +00:00
82add14782
Bump version to v1.4.18 ( #14144 )
2020-12-16 04:15:05 +00:00
599b22baf3
Partial shred deserialize cleanup and shred type differentiation ( #14094 ) ( #14138 )
...
* 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 >
v1.4.17
2020-12-16 02:25:40 +00:00
fdb1c5ab06
Add wait for max stake command ( #13532 ) ( #14137 )
...
(cherry picked from commit 598e5f58d5
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-16 01:32:00 +00:00
db339cb925
Fix race between setting tick height and calculating accounts hash ( #14101 ) ( #14131 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 75e9e321de
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-12-15 22:55:13 +00:00
ff76fccf2e
Remove regular expressions, speeds up untar ( #14119 ) ( #14125 )
...
(cherry picked from commit 53fe0bb5eb
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-15 20:51:18 +00:00
539f108ea6
Bump version to 1.4.17
2020-12-14 15:57:53 -08:00
78c4f946f4
Terminology fixes ( #14112 ) ( #14114 )
...
(cherry picked from commit 42be09afb6
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2020-12-14 21:15:12 +00:00
87a578a1f9
Simple cap by including sysvars and native programs ( #13884 ) ( #14110 )
...
* Simpler cap by including sysvars and native programs
* Fix tests
* Add comment
* revert some unrelated code
* Update test_bank_update_sysvar_account for cap.
* Test cap. for add_native_program using new helper
* Improve the cap adjustment with new tests
* Fix typo...
* Adjust test for improved code coverage
* Rename simpler_capitalization => simple_capitalization
* More rename and bonus commenting
(cherry picked from commit de9ac43ebf
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-14 13:29:09 +00:00
7e3bf25991
Shrink slots by sparseness of written data size ( #14072 ) ( #14097 )
...
(cherry picked from commit 5788e75188
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-13 19:15:44 +00:00
a844310911
spelling
2020-12-12 22:36:27 -08:00
4ad66fa7a4
Demote bank-process_transactions-error counters to info!
2020-12-12 22:04:20 -08:00
5d07195b7e
stake-account command no longer errors when time goes backwards over an epoch ( #14090 )
...
(cherry picked from commit 52c2cbd630
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-13 05:03:36 +00:00
a209984ec9
Add subscription cap ( #14011 ) ( #14089 )
...
* Add subscription cap
* Elide unwraps
(cherry picked from commit 8541ffa328
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-12 03:29:36 +00:00
a7e6cd56e9
Filter out stake and vote accounts with incorrect owners ( #14062 ) ( #14080 )
...
* Add failing test
* Check stake/vote accounts for validity
* Feature gate change
* Add datapoint
* Add test realism
(cherry picked from commit d6eff3d62c
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-12 02:13:50 +00:00
bd6cad3891
Ignore RUSTSEC-2020-0077 until next 1.4 release
2020-12-12 00:16:37 +00:00
6d7e7f47b8
Override yanked arc-swap crate to 0.4.8
2020-12-12 00:16:37 +00:00
82f00bf9f7
Override yanked miow crate to 0.2.2
2020-12-12 00:16:37 +00:00
8fdfb291a9
Override yanked net2 0.2.37
2020-12-12 00:16:37 +00:00
1e5a662706
Override yanked mio crate to 0.7.6
2020-12-12 00:16:37 +00:00
277d4c9ae4
Switch to memmap2 fork
2020-12-12 00:16:37 +00:00
e6abf50bf7
Bump socket2 crate to 0.3.17
2020-12-12 00:16:37 +00:00
f7621c091a
Add more comments in Stakes::store for its subtlety ( #14065 ) ( #14070 )
...
* Add more comments in Stakes::store for its subtlety
* more comment tweak
(cherry picked from commit 7078a6ac61
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-11 20:54:42 +00:00
069f83be97
Increase another snapshot limit: UNPACKED_COUNT ( #14071 ) ( #14073 )
...
(cherry picked from commit 2d3a337200
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-11 12:25:10 +00:00
5b31f3d790
Wrong rpc inflation rate ( #14063 ) ( #14064 )
...
* Fix wrong inflation calculation in rpc
* Reorder
* Fix test
(cherry picked from commit 09bd412b13
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-11 09:07:17 +00:00
980c7cdf64
Retry inflation parameter update (bp #12778 ) ( #14060 )
...
* Retry inflation parameter update along with documentation updates (#12778 )
* update initial inflation parameter
* update economics section of docs
(cherry picked from commit 1ab36203de
)
# Conflicts:
# docs/docusaurus.config.js
# docs/package-lock.json
* Revert doc changes
* Revert doc changes
Co-authored-by: Eric Williams <ericlwilliams@gmail.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-11 05:19:51 +00:00
0b5beac561
Check shred type in is_duplicate ( #14050 ) ( #14058 )
...
(cherry picked from commit aa2751e614
)
Co-authored-by: sakridge <sakridge@gmail.com >
v1.4.16
2020-12-11 04:22:25 +00:00
83801f2b05
Clean invoke in prep for native invoke ( #14055 ) ( #14059 )
...
(cherry picked from commit 83fda2d972
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-10 18:47:18 -08:00