a1e06df4a8
Add validator --account-index docs ( #14418 ) ( #14428 )
...
(cherry picked from commit efd9b769fc
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-05 03:06:15 +00:00
1f2480fd9f
Fix pre-merge old name in the docs ( #14425 ) ( #14427 )
...
(cherry picked from commit 974eb6e1ef
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 02:55:02 +00:00
8587bd0d69
Improve solana catchup ( #14313 ) ( #14424 )
...
* Improve solana catchup
* Overidable port, retry, args error clean up
* print cleanup
* Reduce diff
* Tweak warns a bit
(cherry picked from commit aa4da339ff
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 02:34:53 +00:00
0063a58e95
Upgradeable programs needs program account's address as program id ( #14417 ) ( #14420 )
...
(cherry picked from commit 0619805806
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-04 23:00:36 +00:00
9aeb3bc5d6
docs: Use "msg!" instead of "info!" ( #14411 ) ( #14416 )
...
* docs: Use "msg!" instead of "info!"
* Update docs/src/developing/deployed-programs/developing-rust.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix typo / format
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit a41b5137f6
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-01-04 20:02:09 +00:00
97665b977e
Bump version to v1.5.2
2021-01-04 06:44:52 +00:00
c45ed29cf4
Use max commitment when fetching epoch info for block production
...
(cherry picked from commit 2724f37d0e
)
v1.5.1
2021-01-03 21:05:13 -08:00
635afbabff
snapshot_utils: Don't bother restoring snapshots, they're never used (bp #14392 ) ( #14396 )
...
* Remove dead code
(cherry picked from commit b6dcdb90e8
)
* Don't bother restoring snapshots, they're never used
(cherry picked from commit db6ee289c9
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-03 05:20:26 +00:00
98afdad1dd
Tune rewards output ( #14395 )
...
(cherry picked from commit 560ed90168
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-03 02:39:35 +00:00
c085b94b43
docs: Update tmpfs partition guidance to include swap (bp #14387 ) ( #14397 )
...
* Update tmpfs partition guidance to include swap
(cherry picked from commit 68a84cf581
)
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit 9bb08ce75e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-03 01:45:07 +00:00
a53946c485
Use singleGossip for program deployment
...
(cherry picked from commit c63e14dd0e
)
2021-01-02 09:21:36 -08:00
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
46f9822d62
Only initialize BigTable upload service when requested ( #14380 )
...
(cherry picked from commit 4a3d217839
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-01 03:06:34 +00:00
6dad84d228
Add --ignore-http-bad-gateway flag ( #14377 )
...
(cherry picked from commit 6c167615ad
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-31 22:00:29 +00:00
3582607aa0
solana-test-validator: bind RPC and faucet to 0.0.0.0 (bp #14369 ) ( #14370 )
...
* Minor help improvements
(cherry picked from commit 04bf5ce830
)
* Bind RPC and faucet to 0.0.0.0
(cherry picked from commit 0b23abd479
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-31 09:10:07 +00:00
f051077350
Require tokio 0.3.5
2020-12-30 22:25:23 -08:00
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
c6b2eb07ee
Gate CPI authorized programs ( #14361 ) ( #14365 )
...
(cherry picked from commit 2d8dacb72b
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-31 03:29:46 +00:00
7a3e1f9826
Remove assert ( #14356 ) ( #14360 )
...
(cherry picked from commit 1c5427ff17
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 22:39:55 +00:00
8a690b6cf7
nit: clarify loader id ( #14355 ) ( #14358 )
...
(cherry picked from commit 6c6095abe7
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 21:25:41 +00:00
8688efa89b
Speed up UDP reachable port checks ( #14351 )
...
(cherry picked from commit 71b88da48e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-30 19:00:28 +00:00
3b047e5b99
Port ip-echo-server to tokio 0.3 (bp #14345 ) ( #14350 )
...
* Port ip-echo-server to tokio 0.3
(cherry picked from commit fb6c660cfd
)
# Conflicts:
# net-utils/Cargo.toml
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-30 18:55:24 +00:00
3cddc731b2
Add --test arg to cargo-test-bpf ( #14342 ) ( #14344 )
...
(cherry picked from commit 3d0cd2cdb0
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-12-30 07:55:38 +00:00
1d29a583c6
Rewrite faucet with tokio v0.3 (bp #14336 ) ( #14343 )
...
* Rewrite faucet with tokio v0.3 (#14336 )
* Rewrite faucet for contemporary tokio
* Move away from framed decoder
(cherry picked from commit d63dd95806
)
# Conflicts:
# faucet/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-12-30 05:09:00 +00:00
b5335edb35
Add experimental knob for tuning PoH pinned CPU core (bp #14330 ) ( #14341 )
...
* 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:33:39 +00:00
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
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
c1f993d2fc
Retry durable-nonce transactions ( #14308 ) ( #14325 )
...
* 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:03:04 +00:00
e2ddb2f0ea
Limit CPI instruction size ( #14317 ) ( #14321 )
...
(cherry picked from commit 5524938a50
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 02:38:22 +00:00
f3faba5ca9
Remove Testnet-specific old code ( #14305 ) ( #14315 )
...
(cherry picked from commit 7893e2e307
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-28 22:18:33 +00:00
3a6fd91739
Log error from AppendVec removal & a panic clean ( #14302 ) ( #14310 )
...
(cherry picked from commit addffd7694
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-28 22:08:22 +00:00
2d2b3d8287
CLI: Support retrieving past leader schedules (bp #14304 ) ( #14312 )
...
* clap-utils: Add epoch validator
(cherry picked from commit a709850ee4
)
* CLI: Support displaying past leader schedules
(cherry picked from commit bd761e2a52
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-28 21:41:55 +00:00
6e47b88399
run.sh: add env knob for solana-validor ( #14303 ) ( #14307 )
...
(cherry picked from commit 4af33674a7
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-28 20:48:03 +00:00
941e56c6c7
Avoid creating "..tmp" files
2020-12-28 08:58:41 -08:00
d1adc2a446
Persist gossip contact info
...
(cherry picked from commit 9ddd6f08e8
)
2020-12-27 22:09:00 -08:00
02da7dfedf
Bump version to v1.5.1
2020-12-27 21:57:43 -08:00
eb0fd3625a
Fix subtraction overflow in metrics ( #14290 ) ( #14296 )
...
(cherry picked from commit c693ffaa08
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-28 02:34:58 +00:00
b87e606626
Fix download speed ( #14291 ) ( #14295 )
...
(cherry picked from commit 7b49c85aa7
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-28 02:21:40 +00:00
1c91376f78
obtains staked-nodes from the root-bank ( #14257 ) ( #14293 )
...
... as opposed to the working bank
(cherry picked from commit 49019c6613
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-27 14:49:29 +00:00
10067ad07b
indexes votes in crds table ( #14272 ) ( #14294 )
...
(cherry picked from commit 2fd38d9912
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-27 14:49:23 +00:00
eb76289107
Fix windows build
2020-12-24 17:49:41 -08:00
8926736e1c
Remove stray dbg
2020-12-24 10:45:34 -08:00
bf4c169703
Prevent bpf loader impersonators ( #14278 ) ( #14279 )
...
(cherry picked from commit ee0a80a092
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-24 04:24:30 +00:00
0020e43476
Don't use caller passed executable account ( #14276 ) ( #14277 )
...
(cherry picked from commit b1d702a618
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 23:52:04 +00:00
a9a2c76221
Limit CPI from calling loader or native programs ( #14252 ) ( #14275 )
...
(cherry picked from commit 0b479ab180
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 20:01:56 +00:00
4754b4e871
Save cloning program account data ( #14251 ) ( #14274 )
...
(cherry picked from commit 5945305b1d
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 19:35:09 +00:00
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
bd0b1503c6
Deinitialize stake data upon zero balance
2020-12-23 06:17:59 +00:00
10e7fa40ac
Deinitialize vote data upon zero balance
2020-12-23 06:17:59 +00:00
198ed407b7
vote: Add helper for creating current-versioned states
2020-12-23 06:17:59 +00:00