7f2b11756c
Fix parsing ( #10924 ) ( #10926 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 823126b372
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-06 11:05:17 +00:00
f324547600
Skip and warn for hard-forks which are less than the start slot ( #10918 ) ( #10920 )
...
* Skip and warn for hard-forks which are less than the start slot
Option is used during a restart, but then after the restart is
complete, then the option is not needed if the starting slot
is past the hard-fork since the hard-fork should already be
in the snapshot it started from.
* Update ledger/src/blockstore_processor.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 658de5b347
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-05 22:15:26 +00:00
36e8977f1d
Repair timing ( #10913 ) ( #10917 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 28e15a63e5
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-04 03:48:29 +00:00
b88db2689e
Add breakdown of erasure blobs ( #10912 ) ( #10915 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit f014c94369
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-04 02:15:03 +00:00
1584ec220c
Move clean accounts to background service ( #10904 )
v1.2.9
2020-07-02 22:39:22 -07:00
fb366a7236
Add weighted traversal ( #10877 ) ( #10901 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit f17ac70bb2
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-02 23:52:03 +00:00
b903158543
getInflationRate now only supports the current epoch ( #10887 )
...
(cherry picked from commit d53228e69d
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-02 03:36:47 +00:00
9dad9c6333
Prevent stub inclusion when building shared objects (bp #10875 ) ( #10879 )
...
* Prevent stub inclusion when building shared objects (#10875 )
(cherry picked from commit 52526a9bc2
)
# Conflicts:
# programs/bpf/rust/128bit/src/lib.rs
# programs/bpf/rust/alloc/src/lib.rs
# programs/bpf/rust/dep_crate/src/lib.rs
# programs/bpf/rust/invoke/src/lib.rs
# programs/bpf/rust/invoked/src/lib.rs
# programs/bpf/rust/iter/src/lib.rs
# programs/bpf/rust/many_args/src/lib.rs
# programs/bpf/rust/many_args_dep/src/lib.rs
# programs/bpf/rust/noop/src/lib.rs
# programs/bpf/rust/param_passing/src/lib.rs
# programs/bpf/rust/param_passing_dep/src/lib.rs
# sdk/bpf/rust/test/src/lib.rs
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-07-01 22:47:17 +00:00
a6658b9d75
Add ability to parse logs in ledger-tool ( #10840 ) ( #10849 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 2dfa48daf9
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-01 20:30:48 +00:00
a97feedcc1
Pull program stubs into SDK (bp #10704 ) ( #10713 )
...
* Pull program stubs into SDK (#10704 )
(cherry picked from commit d77818c18b
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/128bit/Cargo.toml
# programs/bpf/rust/128bit_dep/Cargo.toml
# programs/bpf/rust/alloc/Cargo.toml
# programs/bpf/rust/dep_crate/Cargo.toml
# programs/bpf/rust/dup_accounts/Cargo.toml
# programs/bpf/rust/error_handling/Cargo.toml
# programs/bpf/rust/external_spend/Cargo.toml
# programs/bpf/rust/invoke/Cargo.toml
# programs/bpf/rust/invoked/Cargo.toml
# programs/bpf/rust/iter/Cargo.toml
# programs/bpf/rust/many_args/Cargo.toml
# programs/bpf/rust/many_args_dep/Cargo.toml
# programs/bpf/rust/noop/Cargo.toml
# programs/bpf/rust/panic/Cargo.toml
# programs/bpf/rust/param_passing/Cargo.toml
# programs/bpf/rust/param_passing_dep/Cargo.toml
# programs/bpf/rust/sysval/Cargo.toml
# sdk/bpf/rust/test/Cargo.toml
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-07-01 20:17:37 +00:00
8021bce41f
Instructions for validator logging ( #10845 ) ( #10878 )
...
* Instructions for disabling log throttling
* Remove syslog, add logrotate
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Carl <carl@solana.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit 6b45481bbb
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-01 20:03:27 +00:00
d8fa19336c
Add heaviest subtree utility functions ( #10863 ) ( #10865 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7a71580d53
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-01 11:21:22 +00:00
191483cf9f
Update cargo.* version to 1.2.9 ( #10861 )
2020-06-30 23:21:10 +00:00
1eb8314d42
Update expected shred version for testnet. ( #10858 ) ( #10859 )
...
(cherry picked from commit 5adf6f6bde
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-30 21:02:58 +00:00
88eeb817e4
More guard rails for restart with ledger procedure ( #10854 )
...
* Add expected_bank_hash required for supermajority
* Print snapshot hash in ledger-tool create-snapshot.
v1.2.8
2020-06-30 12:55:25 -07:00
b777126bd2
Revert removing -e in cargo-for-all-lock-files
2020-06-30 09:13:03 -07:00
89d78dcfcf
Update cargo.* version to 1.2.8
2020-06-30 09:03:28 -07:00
1cf142c193
Remove outdated todo comment ( #10850 ) ( #10851 )
...
(cherry picked from commit cabedc0f36
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-30 15:07:09 +00:00
3e29325410
Fix fork detection ( #10839 ) ( #10844 )
...
* Fix fork detection
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 4b93a7c1f6
)
Co-authored-by: carllin <wumu727@gmail.com >
v1.2.7
2020-06-30 04:16:05 +00:00
4dc98c3dbd
Reduce logging lines ( #10835 ) ( #10841 )
...
(cherry picked from commit d9b389f510
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-30 00:28:58 +00:00
9caad645e2
Remove ledger purge batching ( #10830 ) ( #10836 )
...
(cherry picked from commit 583cec922b
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-29 23:10:45 +00:00
6cb76ac326
More replay stage timing metrics ( #10828 ) ( #10829 )
...
(cherry picked from commit 17a2128a8f
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-28 18:27:35 +00:00
0001e5c0a1
net.sh: Refactor node initialization wait ( #10819 ) ( #10824 )
...
* remote-node.sh: Factor out init wait to own script
* remote-node.sh: Allow nodes to initialize asynchronously
* testnet-automation: Plumb --async-node-init
(cherry picked from commit 7021e1c584
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-26 16:28:46 +00:00
ab32d13da1
Add debugging ( #10820 )
...
Co-authored-by: Carl <carl@solana.com >
2020-06-26 08:09:04 +00:00
cefe46e981
Clean up rpc module ( #10812 ) ( #10815 )
...
* Clean up rpc module
* Simplify getting bank
(cherry picked from commit 62b873b054
)
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-26 01:59:06 +00:00
f4d70e78b6
Add ancestor iterator to lib.rs ( #10813 ) ( #10817 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 0fde0d7379
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-26 01:02:51 +00:00
d130adf582
Dont skip eager rent collect across gapped epochs ( #10206 ) ( #10808 )
...
* Dont skip eager rent collect across gapped epochs
* Adjust style and comment
* Adjust ascii chart and comment a bit
* Moar assert
* Relax the partition_count assert for completeness
* Tweak comment...
* tweak a bit
* Add gating logic
* Address reviews
* small formatting
* Clarify the code by replacing auto_generated...
* small formatting
* small formatting
* small formatting
* small formatting
* Narrow down conditional compilation scope
(cherry picked from commit 50f7ed80c8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-25 15:34:04 +00:00
1e6285e64e
Fix leaf propagation in case of no votes in HeaviestForkChoice ( #10807 )
...
* Fix leaf propagation logic
Co-authored-by: Carl <carl@solana.com >
2020-06-25 04:05:26 -07:00
e3c90c3807
Add non-circulating withdraw authority ( #10798 ) ( #10804 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit b3e382ab3f
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-25 06:15:24 +00:00
85750307aa
Rename Client methods to match proposed BanksClient (bp #10793 ) ( #10800 )
...
* Rename Client methods to match proposed BanksClient (#10793 )
(cherry picked from commit 7ade330b23
)
# Conflicts:
# programs/bpf/tests/programs.rs
# runtime/benches/bank.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 05:33:12 +00:00
0ee4a5e799
Fix race in ci/run-sanity.sh ( #10796 ) ( #10802 )
...
(cherry picked from commit 4dc9f378b8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-25 04:54:54 +00:00
55cb9cf681
Use cargo tree
to bump release branch lock files ( #10790 ) ( #10792 )
...
(cherry picked from commit 48b846203e
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-25 03:04:10 +00:00
d3af7e0653
Fix broken image link ( #10496 ) ( #10795 )
...
automerge
(cherry picked from commit 75b8c2c4e3
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-25 01:41:53 +00:00
729a24d557
Fixup stake doc wording ( #10782 ) ( #10784 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit d5d5ad0071
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-25 01:25:22 +00:00
55b92c16da
Remove fee-payer guesswork from Message and Transaction (bp #10776 ) ( #10785 )
...
* Remove fee-payer guesswork from Message and Transaction (#10776 )
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
(cherry picked from commit 1c498369b5
)
# Conflicts:
# cli/src/nonce.rs
# core/src/rpc.rs
# ledger/src/blockstore.rs
# programs/bpf/tests/programs.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 01:10:23 +00:00
835bacce4f
Revert some stowaway changes from ccb7b1a
2020-06-24 16:04:28 -06:00
ccb7b1a698
Bump cargo version to v1.2.7
2020-06-24 09:23:12 -07:00
85dbdeb4c3
Add staking guide to docs ( #10609 ) ( #10780 )
...
(cherry picked from commit 0b14ae5725
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-24 09:46:42 -06:00
397f9f11c5
Allow for hard fork at last root ( #10762 ) ( #10766 )
...
(cherry picked from commit 0e393a5684
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-24 06:10:48 +00:00
a11986ad1d
Make curl verbose when uploading assets to github ( #10757 ) ( #10761 )
...
Debugging silent asset upload failures during release
(cherry picked from commit 3aab13a167
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-24 01:35:13 +00:00
a4d373f0af
Fix plumtree link ( #10755 ) ( #10759 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit c52f06a54a
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-23 23:42:25 +00:00
52eea215ce
Rework backup and clear function ( #10751 ) ( #10754 )
...
(cherry picked from commit a1ef921b88
)
Co-authored-by: sakridge <sakridge@gmail.com >
v1.2.6
2020-06-23 22:56:14 +00:00
6f48aafd3a
Add utility functions for testing ( #10749 ) ( #10752 )
...
* Add ancestor iterator
* Add blockstore generation from trees
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 77b8de193c
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-23 21:55:09 +00:00
2d94c09aee
Bump Cargo.toml version to 1.2.6
2020-06-22 23:23:16 -07:00
9699b61679
Remove slots past wait-for-supermajority slot. ( #10720 ) ( #10745 )
...
(cherry picked from commit 2ba8fc5243
)
Co-authored-by: sakridge <sakridge@gmail.com >
v1.2.5
2020-06-23 04:57:57 +00:00
8865bfbd59
Weight repair slots based on vote stake ( #10741 ) ( #10746 )
...
* Weight repair slots based on vote stake
* Add test
(cherry picked from commit cabd0a09c3
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-23 04:48:32 +00:00
5f80c1d37d
Remote Wallet: Stricter derivation path component parsing ( #10725 ) ( #10740 )
...
(cherry picked from commit 842cab2739
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-22 18:36:12 +00:00
f616f5dec6
ledger-tool: Ignore SIGUSR1 ( #10730 ) ( #10732 )
...
Prevents warehouse archive calls getting KO'd by logrotate
(cherry picked from commit d42247c652
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-21 19:31:38 +00:00
db1003b5f8
nit removal ( #10721 ) ( #10729 )
...
(cherry picked from commit a87f490b5e
)
Co-authored-by: Kristofer Peterson <svenski123@users.noreply.github.com >
2020-06-21 08:36:07 +00:00
f52ff777b7
Add repair breakdown by slot and index ( #10717 ) ( #10727 )
...
* Slot full logging
* Repair stats logging
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit a33fef9af2
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-20 02:52:22 +00:00