9cb32b2105
Restore snapshot hard linking
2021-01-11 17:33:03 -08:00
f46ad1b7b7
Avoid tmp snapshot backlog in SnapshotPackagerService under high load ( #14516 )
2021-01-11 17:32:58 -08:00
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
c7267799ce
Clarify log message, the remote snapshot might not actually be newer
2021-01-11 11:53:55 -08:00
ed0a083cd9
Cli: Implement OutputFormat for some missing subcommands ( #14518 ) ( #14520 )
...
* Implement OutputFormat for solana leader-schedule
* Implement OutputFormat for solana inflation
(cherry picked from commit e4cf845974
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-10 01:20:39 +00:00
484bd48b35
Various snapshot-related code clean up (bp #14487 ) ( #14513 )
...
* Create account paths once
(cherry picked from commit fe0ba4a429
)
* Replace incorrect symlink_dir usage with symlink_file
(cherry picked from commit f2a7f561a0
)
* Reduce TempDir exposure
(cherry picked from commit 9f70f7dc3e
)
* Rename AccountsPackage::root to AccountsPackage::slot
(cherry picked from commit 141e6706e6
)
* Rename CompressionType to ArchiveFormat
(cherry picked from commit 7be6770808
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-09 18:29:09 +00:00
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
fc59a08f0e
Bail on all CPI errors ( #14500 ) ( #14507 )
...
* Bail on all CPI errors
* whitespace
(cherry picked from commit ec48631fc5
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 04:44:14 +00:00
15da7968c5
Add cli command to query upgradeable account authorities ( #14491 ) ( #14499 )
...
(cherry picked from commit 638f225dc4
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 01:13:20 +00:00
b58a6e2b6e
Report correct program id ( #14486 ) ( #14498 )
...
(cherry picked from commit 9d53eca6e3
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 01:00:42 +00:00
ec15ea079f
Bump version to 1.5.3
2021-01-08 16:19:27 -08:00
4b5a05bf38
limits number of crds values associated with a pubkey (bp #14467 ) ( #14490 )
...
* limits number of crds values associated with a pubkey (#14467 )
(cherry picked from commit 766195dded
)
* updates smallvec
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
v1.5.2
2021-01-08 21:52:40 +00:00
7dd7141307
Suppress cargo audit failure for difference
crate (bp #14488 ) ( #14493 )
...
* Suppress cargo audit failure for `difference` crate, there's no newer crate to upgrade to yet
(cherry picked from commit 3eaa826ad9
)
* Bump smallvec version
(cherry picked from commit 21a0a83543
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-08 21:52:28 +00:00
e5175c843d
Add buffer authority to upgradeable loader ( #14482 ) ( #14485 )
...
(cherry picked from commit 58487c6360
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-08 18:54:11 +00:00
d5ff64b0d7
docs: Validator tuning improvements (bp #14478 ) ( #14480 )
...
* docs: wrap lines
(cherry picked from commit 140642ea21
)
* docs: Prefer `dd` to `fallocate` when creating swap file
(cherry picked from commit c035f2a745
)
* docs: Add RUST_LOG explainer
(cherry picked from commit 30038a8849
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-07 19:41:45 +00:00
0fbdc7e152
Enable program upgrades via CPI ( #14449 ) ( #14469 )
...
(cherry picked from commit 5eacc5d08d
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-06 23:45:10 +00:00
49aca9ecd8
Add fixed tick rate adjustment ( #14447 ) ( #14464 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-06 21:44:06 +00:00
fcc147b4f2
Gate cpi program account passing ( #14443 ) ( #14446 )
...
(cherry picked from commit a8b5a32b50
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-06 19:20:49 +00:00
c455d1b1c5
Enable program-id account index for supply calculations ( #14444 ) ( #14456 )
...
* 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:04:44 +00:00
e9b29fc697
Bump serum-dex pegged commit ( #14448 ) ( #14454 )
...
(cherry picked from commit d2b0fd973f
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-05 19:17:03 -07:00
fdea6fad26
Save 7G mem on mainnet fixing AccIndex overalloc. ( #14435 )
...
(cherry picked from commit c9df6134fa
)
2021-01-05 17:55:44 -08:00
a4bc31341a
Lower recycle store count ( #14429 ) ( #14442 )
...
Too many stores can cause swap usage which
is detrimental to account store times.
(cherry picked from commit 53d65009a0
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-05 21:39:31 +00:00
4af797c0a2
Introduce rpc url monikers for cli ( #14409 ) ( #14433 )
...
* Introduce rpc url monikers for cli
* Use https:// and support initials as well
(cherry picked from commit 54a5876c48
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 12:16:11 +00:00
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