Trent Nelson
1ff9555099
Bump version to 1.2.19
...
This one has some bonus deltas due to locks not being bumped for v1.2.18 nor
the ed25591-dalek update.
2020-08-06 00:32:08 +00:00
mergify[bot]
72a13e2a72
Add getConfirmedSignaturesForAddress2 RPC method (bp #11259 ) ( #11393 )
...
* Add getConfirmedSignaturesForAddress2 RPC method
(cherry picked from commit 1b2276520b )
# Conflicts:
# core/src/rpc.rs
* Reimplement transaction-history command with getConfirmedSignaturesForAddress2
(cherry picked from commit 087fd32ce3 )
* Rework get_confirmed_signatures_for_address2
(cherry picked from commit a11f137810 )
* Rename startAfter to before
(cherry picked from commit 02c0981ecf )
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 23:14:53 +00:00
Tyera Eulberg
74cdfc2213
Fall back to root if highest_confirmed_slot bank does not exist ( #11390 )
2020-08-05 22:08:20 +00:00
mergify[bot]
7b8e5a9f47
Sanitize preflight (bp #11373 ) ( #11376 )
...
* Add failing test for unsane tx in RPC preflight
(cherry picked from commit e25846e1ad )
* Add From for SanitizeError > TransactionError
(cherry picked from commit 3f73affb2e )
* Sanitize transactions during RPC preflight test
(cherry picked from commit 29b3265dc7 )
* Harden RPC preflight test inputs
(cherry picked from commit 14339dec0a )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-05 17:03:09 +00:00
mergify[bot]
80525ac862
Return token amounts as floats (bp #11370 ) ( #11378 )
...
* Return token amounts as floats (#11370 )
* Return token amounts as floats
* Floating-point equality
* Return float and raw token amounts
* Fix decimals and token rpcs for native-mint tokens
* Fixup docs and review comments
(cherry picked from commit 86e3f96f16 )
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-05 08:31:22 +00:00
mergify[bot]
c14f98c6fc
Rework parsed account format ( #11372 ) ( #11380 )
...
* Rework parsed account format
* Serialize as type
(cherry picked from commit 308186da79 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-05 08:21:08 +00:00
mergify[bot]
c6edfc3944
Update instruction encoding format ( #11363 ) ( #11379 )
...
* Rework parsed instruction format
* Rework parsed message accounts
* Review comments
(cherry picked from commit 9d4f9be1fe )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-05 08:21:02 +00:00
mergify[bot]
b95c493d66
get_token_accounts_by_owner now returns UiTokenAccounts ( #11367 )
...
(cherry picked from commit b5e03d6df2 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 00:06:21 +00:00
mergify[bot]
5871462241
Fix token rpc-client methods (bp #11361 ) ( #11362 )
...
* Fix token rpc-client methods (#11361 )
* Convert None to error in parse_keyed_accounts
* Allow encoding configuration in getTokenAccounts methods
(cherry picked from commit d0144ce382 )
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-04 18:40:39 +00:00
mergify[bot]
53bb826375
Make accounts explicit in unrecognized jsonParsed instructions ( #11351 ) ( #11352 )
...
(cherry picked from commit 3f6f1adb5b )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-03 21:50:57 +00:00
mergify[bot]
c769bcc418
Add getTokenLargestAccounts endpoint (bp #11322 ) ( #11338 )
...
* Add getTokenLargestAccounts endpoint (#11322 )
(cherry picked from commit d1b2e6cdf2 )
* Rebase on v1.2
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-02 17:58:55 +00:00
Michael Vines
f06a4c7861
Update spl-token and spl-memo
2020-08-02 07:53:46 -07:00
Michael Vines
0cae099d12
Bump version to v1.2.18
2020-08-01 21:15:25 -07:00
Michael Vines
4bc3653906
Remove move more
2020-08-01 17:51:59 -07:00
Greg Fitzgerald
3e7050983a
Remove move_loader and librapay ( #11184 )
...
* Remove move_loader and librapay
* Remove Embedding Move from implemented proposals
* Remove Move variant from CI
* Remove move_loader ID
2020-08-01 17:51:59 -07:00
Greg Fitzgerald
9f1bb75445
Upgrade ed25519-dalek ( #11183 )
2020-08-01 17:51:59 -07:00
Trent Nelson
139bb32dba
Bump version to 1.2.17
2020-08-01 07:14:47 +00:00
mergify[bot]
158f6f3725
Test off curve pubkey (bp #11299 ) ( #11317 )
...
* Allow inspection of signature verification failures
(cherry picked from commit 251f974b50 )
* Test that off-curve pubkeys fail signature verify
(cherry picked from commit c421d7f1b8 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-07-31 23:39:56 +00:00
Greg Fitzgerald
e33f9ea6b5
Withdraw authority no longer implies a custodian ( #11302 )
...
* Withdraw authority no longer implies a custodian
Before this change, if the withdraw authority and custodian had
the same public key, then a withdraw authority signature would
imply a custodian signature and lockup would be not be enforced.
After this change, the client's withdraw instruction must
explictly reference a custodian account in its optional sixth
account argument.
Likewise, the fee-payer no longer implies either a withdraw
authority or custodian.
* Fix test
The test was configuring the stake account with the fee-payer as
the withdraw authority, but then passing in a different key to
the withdraw instruction's withdraw authority parameter. It only
worked because the second transaction was signed by the fee-payer.
2020-07-31 17:18:23 -06:00
Greg Fitzgerald
473037db86
Remove WithSigner ( #10325 )
2020-07-31 17:18:23 -06:00
mergify[bot]
b0e14ea83c
Add token rpc endpoints to rpc-client (bp #11315 ) ( #11320 )
...
* Add token rpc endpoints to rpc-client (#11315 )
(cherry picked from commit 9bcfc51df1 )
# Conflicts:
# client/src/rpc_client.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-31 23:10:29 +00:00
mergify[bot]
782a549613
Enable new fork choice on mainnet, 400_000 slots into epoch 61 ( #11312 ) ( #11319 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit d7e961dac4 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-31 22:13:23 +00:00
mergify[bot]
c805f7dc4e
Decode token instructions (bp #11281 ) ( #11313 )
...
* Decode token instructions (#11281 )
* Token->SplToken
* Add spl_token instruction parsing
* Rebase on master
* Gracefully fail key len mismatches
(cherry picked from commit 0f551d4f75 )
# Conflicts:
# Cargo.lock
# transaction-status/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-31 21:11:58 +00:00
mergify[bot]
782829152e
Update perf libs to 0.19.1 ( #11301 ) ( #11310 )
...
* fix for cuda sigverify check for small order pubkey
(cherry picked from commit 1733f6c9e9 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-31 17:27:13 +00:00
mergify[bot]
da6f09afb8
Build programs with --no-default-features --features program to match solana-sdk ( #11308 )
...
(cherry picked from commit 52575349dc )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-31 17:14:05 +00:00
mergify[bot]
004b1b9c3f
Add Vote Account Management Doc ( #11278 ) ( #11300 )
...
* Add vote account management doc
* Add links to new doc
* Whitespace
* Fixup language
* Cleaner title
* Apply review feedback
* Apply further feedback
* Fix usage page header
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit a5b6fd3d9b )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-31 02:59:07 +00:00
Michael Vines
2f8d0f88d6
Avoid spl-sdk dependency, which inhibits crate publishing
2020-07-31 00:05:13 +00:00
Vladimir Komendantskiy
177d241160
use replace value
2020-07-30 12:22:21 -07:00
Trent Nelson
5323622842
Bump version to 1.2.16
2020-07-30 10:55:09 -06:00
mergify[bot]
c852923347
Reject unsigned transactions sent via RPC (bp #11282 ) ( #11287 )
...
* Add failing test for TX sent via RPC with no signatures
(cherry picked from commit b962b2ce2d )
* Dereplicode send_transaction and request_airdrop RPC handlers
(cherry picked from commit a7079e4dde )
* Add new RPC error for TXs with no signatures
(cherry picked from commit 9778fedd7a )
* Reject TXs sent via RPC with no signatures
(cherry picked from commit a888f2f516 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-07-30 08:17:43 +00:00
mergify[bot]
5dc4410d58
Disable cross-program invocations for OperatingMode::Stable (bp #11272 ) ( #11280 )
...
* Disable cross-program invocations for OperatingMode::Stable (#11272 )
(cherry picked from commit 2dbed80e48 )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# programs/bpf_loader/src/lib.rs
# runtime/src/message_processor.rs
# sdk/src/entrypoint_native.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-07-30 05:50:47 +00:00
mergify[bot]
da4642d634
Fix wallet links ( #11284 ) ( #11285 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit e8c0ec53e6 )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-30 05:19:33 +00:00
mergify[bot]
a264be1791
Download and install SPL programs in run.sh/multinode-demo/docker (bp #11271 ) ( #11275 )
...
* Add --bpf-program argument
(cherry picked from commit 8eb6cbf784 )
* Fetch and install SPL programs by default
(cherry picked from commit 3a1ca4efff )
* .sh
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-29 22:42:04 +00:00
mergify[bot]
9aff121949
Add top level link to Clusters page ( #11276 ) ( #11277 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit cd043b5d70 )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-29 21:40:55 +00:00
mergify[bot]
a7f4d1487a
Add SPL Token-specific rpc endpoints (bp #11231 ) ( #11261 )
...
* Add SPL Token-specific rpc endpoints (#11231 )
* Simplify account-decoder program ids + spl_token helper
* Spl program namespace version
* Add getTokenAccountBalance endpoint
* Remove token program id from getTokenAccountBalance request
* Add getTokenSupply endpoint
* Remove token program id from getTokenSupply request
* Add getTokenAccountsByOwner/Delegate endpoints
* Remove token program id from getTokenAccountsByOwner/Delegate requests
* Named parameter
(cherry picked from commit b45ac5d4db )
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
# core/src/rpc.rs
# transaction-status/Cargo.toml
* Fix backport
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-29 17:08:21 +00:00
Trent Nelson
11e43e1654
Bump version to 1.2.15
2020-07-29 06:59:27 +00:00
Jack May
82be47bc18
Revert "Land program addresses on the curve ( #11174 ) ( #11226 )"
...
This reverts commit 43e7107f65 .
2020-07-28 20:48:57 -06:00
Trent Nelson
6498e4fbf6
Rerere-enable RecentBlockhashes fix on testnet (epoch 76)
2020-07-29 02:32:07 +00:00
Trent Nelson
9978971bd9
Fill out missing RPC request received debug logging
2020-07-29 02:04:34 +00:00
mergify[bot]
e28ac2c377
Fix race condition between shrinking and cleaning (bp #11235 ) ( #11252 )
...
* Fix race condition between shrinking and cleaning (#11235 )
* Fix race condition between shrinking and cleaning
* Minor formatting
* fix ci
* Update comments
* More update comment
* Adjust fn naming
(cherry picked from commit 3e4f49f9c9 )
# Conflicts:
# runtime/src/accounts_db.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-28 22:33:21 +00:00
Dan Albert
ef296aa7db
Update non_circulating_supply.rs
2020-07-27 16:39:13 -06:00
mergify[bot]
43e7107f65
Land program addresses on the curve ( #11174 ) ( #11226 )
...
(cherry picked from commit f317c362a8 )
Co-authored-by: Jack May <jack@solana.com >
2020-07-27 21:21:16 +00:00
mergify[bot]
752fa29390
Designate mainnet-beta epoch 61 as an upgrade epoch ( #11229 )
...
(cherry picked from commit ed01591be6 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-27 20:08:45 +00:00
mergify[bot]
7bb7b42356
Use &[u8] for program address seeds rather then &str ( #10744 ) ( #11227 )
...
(cherry picked from commit 73586c1aad )
Co-authored-by: Jack May <jack@solana.com >
2020-07-27 19:32:21 +00:00
mergify[bot]
2a7fc744f9
Add Docusaurus search ( #11135 ) ( #11224 )
...
* Add Docusaurus search
* Add Algolia configuration information
* Trailing whitespace :(
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com >
(cherry picked from commit cbf0b779d7 )
Co-authored-by: R. M. Shea <8948187+rmshea@users.noreply.github.com >
2020-07-27 16:39:56 +00:00
mergify[bot]
90e3da0389
Remove accidental MB activation for RecentBlockhashes consistency fix ( #11216 )
...
(cherry picked from commit 7931579610 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-07-26 18:59:07 +00:00
mergify[bot]
1a62bcee42
Windows binaries are now built with the MSVC instead of the GNU toolchain (bp #11208 ) ( #11211 )
...
* Windows binaries are now built with the MSVC instead of the GNU toolchain.
Update `solana-install-init` target info to match
(cherry picked from commit 01ff6846f7 )
# Conflicts:
# ci/publish-tarball.sh
* Update publish-tarball.sh
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-25 18:29:35 +00:00
Trent Nelson
b83a4cae90
Bump version to 1.2.14
2020-07-25 04:00:17 +00:00
mergify[bot]
05ef21cd3b
Add token account decoding (bp #11136 ) ( #11202 )
...
* Add token account decoding (#11136 )
* Add token decoding
* Bump versions
(cherry picked from commit 32fea0496e )
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# transaction-status/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-25 01:37:07 +00:00
mergify[bot]
dfa27b04d7
Add package-lock.json to docs ( #11200 ) ( #11201 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit eac423f92c )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-24 20:31:45 +00:00
Dan Albert
880b04906e
Restore stake delegation page to sidebar
2020-07-24 13:42:36 -06:00
Trent Nelson
1fe0b1e516
Push back activation epochs redux
...
Effects:
- Re-enabling inflation
- Nonce FeeCalculator overwrite / RecentBlockhashes sysvar inconsistency fix
2020-07-24 18:09:40 +00:00
mergify[bot]
f9fd4bd24c
Test cleanup ( #11192 ) ( #11193 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit c0dc21620b )
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-24 12:09:39 +00:00
mergify[bot]
c55a11d160
Add encoding and filters parameters to rpc Subscriptions (bp #11065 ) ( #11187 )
...
* Add encoding and filters parameters to rpc Subscriptions (#11065 )
* Plumb account configs and enable encoding
* Enable filters for pubsub program accounts
* Update docs
(cherry picked from commit c90de8978d )
* Fix test
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-23 21:53:05 +00:00
Tyera Eulberg
92118de0e1
Skip entrypoint in programs ( #11175 )
2020-07-22 20:59:36 -06:00
Tyera Eulberg
0d9802a2cd
Use OrderedIterator in collect_balances ( #11173 )
2020-07-22 16:59:54 -06:00
Trent Nelson
f6beede01b
Push back activation epochs
...
Effects:
- Re-enabling inflation
- Nonce FeeCalculator overwrite / RecentBlockhashes sysvar inconsistency fix
2020-07-22 16:17:02 -06:00
Trent Nelson
ff48ea20de
Bump version to 1.2.13
2020-07-22 06:08:41 +00:00
Trent Nelson
dd9cb18d65
Enable RecentBlockhashes one tick delay fix on testnet
...
Slot 25_580_256 / Epoch 72
2020-07-22 05:51:47 +00:00
mergify[bot]
71932aed0a
Re-enable inflation again for testnet ( #11156 )
...
(cherry picked from commit 3fd16cea34 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-22 05:14:04 +00:00
mergify[bot]
24dc6680e1
getEpochInfo RPC endpoint now includes the current block height ( #11155 )
...
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-22 01:53:53 +00:00
mergify[bot]
61d9d40e48
Program feature-flag entrypoint ( #11144 ) ( #11152 )
...
(cherry picked from commit 231e2387db )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-21 22:02:13 +00:00
mergify[bot]
e9b40db319
Use OrderedIterator in TransactionStatusService ( #11149 ) ( #11151 )
...
* Split out get-first-err for unit testing
* Add failing test
* Add missing ordering
(cherry picked from commit 6c38369042 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-21 21:36:02 +00:00
mergify[bot]
316356861d
Freeze warped bank to show freeze logs ( #11141 ) ( #11145 )
...
(cherry picked from commit 6935e88148 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-21 08:14:38 +00:00
mergify[bot]
e07c00710a
fix rewards points (bp #10914 ) ( #11142 )
...
* fix rewards points (#10914 )
* fix rewards points
* fixups
* * verify that we don't spend more in rewards than we've allocated for rewards
* purge f64s from calculations that could be done with integers
* test typical values
* simplify iteration over delegations some
* fixups
* Use try_from
* Add a comment for commission_split()
* Add assertion to detect inconsistent reward dist.
* Fix vote_balance_and_staked
* Don't overwrite accounts with stale copies
* Fix CI...
* Add tests for vote_balance_and_staked
* Add test for the determinism of update_rewards
* Revert "Don't overwrite accounts with stale copies"
This reverts commit 9886d085a6 .
* Make stake_delegation_accounts to return hashmap
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit 7cc2a6801b )
# Conflicts:
# runtime/src/serde_snapshot/tests.rs
* Fix conflict
Co-authored-by: Rob Walker <rwalker@rwalker.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-21 06:35:20 +00:00
mergify[bot]
bc47c80610
Insubstantial grammar fix ( #11133 ) ( #11134 )
...
(cherry picked from commit 0cb422fbbb )
Co-authored-by: Wei Tang <accounts@that.world >
2020-07-20 14:46:51 +00:00
mergify[bot]
14baa511f0
Add --warp-epoch and --enable-inflation to ledger-tool cap. (bp #11107 ) ( #11132 )
...
* Add --warp-epoch and --force-inflation to ledger-tool cap. (#11107 )
* Add --warp-epoch and --force-inflation to ledger-tool cap.
* Add more arguments
* Address review comments
* Fix message
* Fix various typos...
(cherry picked from commit 3db246f596 )
# Conflicts:
# ledger-tool/src/main.rs
* Fix conflicts..
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-20 12:00:56 +00:00
carllin
e773faeb24
Add replay votes to gossip vote tracking ( #11124 )
...
* Plumb replay vote channel
* Don't send redundant slots to repair_service
* Update test
* Keep gossip only for debugging gossip in the future
* Add comments
* Switch to using select()
* Fix replay -> gossip vote not counting toward gossip only stake
* tests
Co-authored-by: Carl <carl@solana.com >
2020-07-19 22:25:16 -07:00
Dan Albert
42847516a2
Update build.sh
2020-07-18 08:32:12 -06:00
mergify[bot]
47e9a1ae4f
Remove tictactoe, add Break and Hello World to docs ( #11117 ) ( #11118 )
...
* Remove tictactoe, add Break to apps docs
* Add hello world
* fix whitespace
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 1ad0d210bc )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-18 00:21:48 +00:00
mergify[bot]
549a154394
Fix 404 broken links ( #11113 ) ( #11114 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit d0d4d9b3d1 )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-17 18:01:50 +00:00
mergify[bot]
dca00d1bde
Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected (bp #11082 ) ( #11110 )
...
* Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected
(cherry picked from commit e5d8c4383f )
# Conflicts:
# runtime/src/bank.rs
* Fix merge conflict
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-17 17:29:34 +00:00
mergify[bot]
45ce1b4f96
Always pass affected file check on tagged release ( #11089 ) ( #11091 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 6174cdb579 )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-16 04:29:15 +00:00
Michael Vines
a9232c0633
Update CRATES_IO_TOKEN
2020-07-15 17:53:05 -07:00
carllin
3da254c745
Bump version to 1.2.12 ( #11088 )
...
Co-authored-by: Me <carl_solana_com@carl-dev.c.principal-lane-200702.internal>
2020-07-15 23:55:05 +00:00
mergify[bot]
9ba3ee9683
Change transparent .svg to opaque .png ( #11084 ) ( #11085 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit fe71f9ad1a )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-15 21:47:59 +00:00
Tyera Eulberg
b0addba2a9
Gate nonce-overwrite change ( #11079 )
2020-07-15 21:14:28 +00:00
mergify[bot]
bb59525ff8
Refactor file and URL paths in docusaurus ( #11080 ) ( #11083 )
2020-07-15 14:35:12 -06:00
mergify[bot]
acd25124d4
Make accounts file clean faster ( #11071 ) ( #11077 )
...
(cherry picked from commit 7fe870ba48 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-15 18:00:41 +00:00
mergify[bot]
d718ab2491
accounts_clean: Convert stack dependency calculation with iterative ( #11067 ) ( #11076 )
...
* accounts_clean: Convert stack dependency calculation with iterative
* optimize clean with by creating a reverse-lookup hashset of the affected
keys
* Add dependency bench
reduce bench
* Huge clean
(cherry picked from commit 8bf3a0aa05 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-15 15:13:33 +00:00
mergify[bot]
1860aacd1f
Temporalily disable inflation to fix it later ( #11072 ) ( #11075 )
...
* Revert get_inflation()
* Temporalily disable inflation to fix it later
* Use match and proper type aliases
(cherry picked from commit d81c7250b0 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-15 11:20:02 +00:00
mergify[bot]
d4bbb7f516
Expose TransactionStatusService to the other blockstore_processor path (bp #11070 ) ( #11074 )
...
* Expose tss to the other blockstore_processor path (#11070 )
(cherry picked from commit 9a80e31bae )
# Conflicts:
# core/src/validator.rs
# ledger/src/blockstore_processor.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-15 05:50:45 +00:00
mergify[bot]
d1c0f4b4f1
Fix hygiene issues in declare_program! and declare_loader! (bp #10905 ) ( #11073 )
...
* Fix hygiene issues in `declare_program!` and `declare_loader!`
The `declare_program!` and `declare_loader!` macros both expand to
new macro definitions (based on the `$name` argument). These 'inner'
macros make use of the special `$crate` metavariable to access items in
the crate where the 'inner' macros is defined.
However, this only works due to a bug in rustc. When a macro is
expanded, all `$crate` tokens in its output are 'marked' as being
resolved in the defining crate of that macro. An inner macro (including
the body of its arms) is 'just' another set of tokens that appears in
the body of the outer macro, so any `$crate` identifiers used there are
resolved relative to the 'outer' macro.
For example, consider the following code:
```rust
macro_rules! outer {
() => {
macro_rules! inner {
() => {
$crate::Foo
}
}
}
}
```
The path `$crate::Foo` will be resolved relative to the crate that defines `outer`,
**not** the crate which defines `inner`.
However, rustc currently loses this extra resolution information
(referred to as 'hygiene' information) when a crate is serialized.
In the above example, this means that the macro `inner` (which gets
defined in whatever crate invokes `outer!`) will behave differently
depending on which crate it is invoked from:
When `inner` is invoked from the same crate in which it is defined,
the hygiene information will still be available,
which will cause `$crate::Foo` to be resolved in the crate which defines 'outer'.
When `inner` is invoked from a different crate, it will be loaded from
the metadata of the crate which defines 'inner'. Since the hygiene
information is currently lost, rust will 'forget' that `$crate::Foo` is
supposed to be resolved in the context of 'outer'. Instead, it will be
resolved relative to the crate which defines 'inner', which can cause
incorrect code to compile.
This bug will soon be fixed in rust (see https://github.com/rust-lang/rust/pull/72121 ),
which will break `declare_program!` and `declare_loader!`. Fortunately,
it's possible to obtain the desired behavior (`$crate` resolving in the
context of the 'inner' macro) by use of a procedural macro.
This commit adds a `respan!` proc-macro to the `sdk/macro` crate.
Using the newly-stabilized (on Nightly) `Span::resolved_at` method,
the `$crate` identifier can be made to be resolved in the context of the
proper crate.
Since `Span::resolved_at` is only stable on the latest nightly,
referencing it on an earlier version of Rust will cause a compilation error.
This requires the `rustversion` crate to be used, which allows conditionally
compiling code epending on the Rust compiler version in use. Since this method is already
stabilized in the latest nightly, there will never be a situation where
the hygiene bug is fixed (e.g. https://github.com/rust-lang/rust/pull/72121 )
is merged but we are unable to call `Span::resolved_at`.
(cherry picked from commit 05445c718e )
# Conflicts:
# Cargo.lock
# sdk/Cargo.toml
* Replace FIXME with an issue link
(cherry picked from commit b0cb2b0106 )
* Update lock files
(cherry picked from commit 42f88484f4 )
# Conflicts:
# programs/bpf/Cargo.lock
# programs/librapay/Cargo.lock
# programs/move_loader/Cargo.lock
* Split comment over multiple lines
Due to https://github.com/rust-lang/rustfmt/issues/4325 , leaving this as
one line causes rustfmt to add extra indentation to the surrounding
code.
(cherry picked from commit fed69e96a9 )
* Fix clippy lints
(cherry picked from commit e7387f60a7 )
* Apply #![feature(proc_macro_hygiene)] when needed
This allows the rust-bpf-builder toolchain to build the sdk
(cherry picked from commit 95490ff56e )
# Conflicts:
# sdk/build.rs
# sdk/src/lib.rs
* Update Cargo.toml
* Update lib.rs
* Add rustc_version
* lock file updates
Co-authored-by: Aaron Hill <aa1ronham@gmail.com >
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-15 02:40:36 +00:00
carllin
b72b837ba2
Revert dashboard changes ( #11069 )
...
Co-authored-by: Carl <carl@solana.com >
2020-07-15 00:42:39 +00:00
mergify[bot]
fde85c96c0
Add dropped vote metrics ( #11009 ) ( #11030 )
...
(cherry picked from commit 1880621740 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-14 15:21:49 -07:00
mergify[bot]
121418dad2
CLI: Fix vote blind indexing (bp #11045 ) ( #11050 )
...
* CLI: Fix explicitly plumb withdraw_authority through vote-update-commission
(cherry picked from commit 3392ecc310 )
* CLI: Fix explicitly plumb withdraw_authority through vote-update-validator
(cherry picked from commit 2284699889 )
* CLI: Fix explicitly plumb vote_account through create-vote-account
(cherry picked from commit 14ac233d01 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-07-14 15:35:46 +00:00
Dan Albert
f44f94fe23
Remove docs step from buildkite flow ( #11035 ) ( #11044 )
2020-07-14 08:20:58 -06:00
mergify[bot]
55a4481022
Clean up docs publishing flow ( #11043 ) ( #11051 )
...
* Clean up publishing flow
* Update README
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 303a4df6ef )
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-14 14:09:53 +00:00
mergify[bot]
e859ad37a8
Add TreeDiff trait to reuse tree functions ( #11046 ) ( #11048 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit e9cbdf711b )
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-14 09:03:53 +00:00
mergify[bot]
1a28c7fc12
Fix recent blockhashes delay (bp #11036 ) ( #11040 )
...
* Add failing test
(cherry picked from commit 942c019d50 )
* Factor locked portion of Bank::update_recent_blockhashes() out to helper
(cherry picked from commit 9cc379af6c )
* Synchronize BlockhashQueue and RecentBlockhashes sysvar update
(cherry picked from commit 5357ff6d60 )
* Bump goldens
(cherry picked from commit 837ac77c02 )
* Fix test advancing banks from incomplete slots
(cherry picked from commit 51283c931c )
* Mode gate RecentBlockhashes/BlockhashQueue sync
(cherry picked from commit 5741002a32 )
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Trent Nelson <trent@solana.com >
2020-07-14 04:12:37 +00:00
Dan Albert
c706a07764
Fix travis config ( #11033 )
...
* Fix travis config
* Remove linux build job from travis
2020-07-13 17:00:18 -06:00
Dan Albert
59568e5776
Move from gitbook to docusaurus - backport ( #10970 ) ( #11029 )
...
* Move v1.2 to docusaurus
* Fixup travis conifg
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-07-13 14:45:28 -06:00
Dan Albert
33ca8fa72a
Fix Travis PR detection environment ( #10974 ) ( #11024 )
2020-07-13 14:25:40 -06:00
mergify[bot]
4bb66a81fb
Check for deleting key, make sure list is empty again ( #11007 ) ( #11011 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-13 09:00:48 -07:00
Michael Vines
468c14b14f
Revert "Add UiTransactionEncoding::Raw"
...
This reverts commit bcc890e705 .
2020-07-12 09:00:11 -07:00
Tyera Eulberg
03e505897a
Backport windows build fixes ( #11004 )
...
* Bump spl-memo
* spl memo linking windows (#11000 )
* Update spl-memo to fix windows linking error
* Only programs need the stubs
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-10 21:46:11 -06:00
mergify[bot]
5205eb382e
Switch to using weighted repair in RepairService ( #10735 ) ( #10985 )
...
Co-authored-by: Carl <carl@solana.com >
2020-07-10 16:15:36 -07:00
Michael Vines
b07b6e56fa
getConfirmedBlocks now has an upper limit on slot range
...
(cherry picked from commit aef6bf272e )
2020-07-10 15:40:03 -07:00
Michael Vines
bcc890e705
Add UiTransactionEncoding::Raw
...
(cherry picked from commit a4a5438b6d )
2020-07-10 14:55:27 -07:00
mergify[bot]
07d14f6f07
Add RepairWeight to track votes seen in gossip for weighted repair ( #10903 ) ( #10938 )
...
* Add RepairWeight
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 3f6042d8b3 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-10 14:13:56 -07:00
mergify[bot]
03b213e296
Add block time placeholder to getConfirmedBlock ( #10990 )
...
(cherry picked from commit 491f5ae61a )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-10 11:02:27 -07:00
mergify[bot]
1bfce24c9f
Fix skipped slot detection for eager rent collect ( #10890 ) ( #10978 )
...
(cherry picked from commit f1c1152948 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-10 11:59:44 +09:00
mergify[bot]
94b2565969
Fix nonce fee_calculator overwrite ( #10973 ) ( #10976 )
...
* Add failing test
* Pass fee_calculator to prepare_if_nonce_account; only overwrite in error case
(cherry picked from commit 25228ca957 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-09 16:57:34 -06:00
sakridge
2896fdb603
Update version to v1.2.11 ( #10966 )
2020-07-09 06:48:30 -07:00
sakridge
50970bc8f9
Update version to v1.2.10 ( #10962 )
2020-07-08 15:34:19 -07:00
mergify[bot]
10df45b173
update testnet docs ( #10954 ) ( #10955 )
...
(cherry picked from commit e50227745d )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-08 04:08:16 +00:00
mergify[bot]
d3b8129593
Clean accounts path on validator startup ( #10929 ) ( #10944 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-07 18:27:49 +00:00
Tyera Eulberg
f7fb5aebac
v1.2 instruction and account decoding backports ( #10939 )
...
* Revert "Rpc: add filter to getProgramAccounts (#10888 ) (#10932 )"
This reverts commit 9311a6e356 .
* Add jsonParsed option for EncodedTransactions; add memo parser (#10711 )
* Add jsonParsed option for EncodedTransactions; add memo parser
* Use kebab case for program names
* Add account-key parsing
* Add parse test
* Update transaction encoding docs (#10833 )
* Add account-decoder utilities (#10846 )
* Fix comment and make less pub
* Add account-decoder crate and use to decode vote and system (nonce) accounts
* Update docs
* Rename RpcAccount struct
* s/Rpc/Display
* Call it jsonParsed and update docs
* Revert "s/Rpc/Display"
This reverts commit 6e7149f503 .
* s/Rpc/Ui
* Add tests
* Ui more things
* Comments
* Update struct prefixes to Ui (#10874 )
* Update comments
* Use Ui prefix
* Rpc: add filter to getProgramAccounts (#10888 )
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-07 09:35:35 -06:00
Tyera Eulberg
9311a6e356
Rpc: add filter to getProgramAccounts ( #10888 ) ( #10932 )
...
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-06 21:45:12 +00:00
mergify[bot]
8c706892df
Rpc: Add getStakeActivation endpoint (bp #10902 ) ( #10930 )
...
* Rpc: Add getStakeActivation endpoint (#10902 )
* Add getStakeActivation endpoint
* Add docs
* Update docs/src/apps/jsonrpc-api.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Rework return type
* Update docs
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 4de0713aa3 )
* Fix build
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-06 21:23:27 +00:00
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
sakridge
1584ec220c
Move clean accounts to background service ( #10904 )
2020-07-02 22:39:22 -07:00
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
sakridge
191483cf9f
Update cargo.* version to 1.2.9 ( #10861 )
2020-06-30 23:21:10 +00:00
mergify[bot]
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
sakridge
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.
2020-06-30 12:55:25 -07:00
Stephen Akridge
b777126bd2
Revert removing -e in cargo-for-all-lock-files
2020-06-30 09:13:03 -07:00
Stephen Akridge
89d78dcfcf
Update cargo.* version to 1.2.8
2020-06-30 09:03:28 -07:00
mergify[bot]
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
mergify[bot]
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 >
2020-06-30 04:16:05 +00:00
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
carllin
ab32d13da1
Add debugging ( #10820 )
...
Co-authored-by: Carl <carl@solana.com >
2020-06-26 08:09:04 +00:00
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
carllin
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
Trent Nelson
835bacce4f
Revert some stowaway changes from ccb7b1a
2020-06-24 16:04:28 -06:00
Stephen Akridge
ccb7b1a698
Bump cargo version to v1.2.7
2020-06-24 09:23:12 -07:00
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
52eea215ce
Rework backup and clear function ( #10751 ) ( #10754 )
...
(cherry picked from commit a1ef921b88 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-23 22:56:14 +00:00
mergify[bot]
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
Stephen Akridge
2d94c09aee
Bump Cargo.toml version to 1.2.6
2020-06-22 23:23:16 -07:00
mergify[bot]
9699b61679
Remove slots past wait-for-supermajority slot. ( #10720 ) ( #10745 )
...
(cherry picked from commit 2ba8fc5243 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-23 04:57:57 +00:00
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
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
mergify[bot]
4314a29953
Fix typo ( #10724 ) ( #10726 )
...
(cherry picked from commit cae22efd0e )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-06-20 01:27:20 +00:00
mergify[bot]
e560fff840
Add CLI options and runtime support for selection of output snapshot version (bp #10536 ) ( #10712 )
...
* Add CLI options and runtime support for selection of output snapshot version. (#10536 )
(cherry picked from commit 6d81eede93 )
# Conflicts:
# core/src/accounts_hash_verifier.rs
# core/src/rpc_service.rs
# core/tests/bank_forks.rs
# ledger-tool/src/main.rs
# ledger/src/snapshot_package.rs
# validator/src/main.rs
* Fix conflicts
Co-authored-by: Kristofer Peterson <svenski123@users.noreply.github.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-19 07:52:09 +00:00
mergify[bot]
5ac747ea7d
Reduce responder error prints ( #10664 ) ( #10703 )
...
(cherry picked from commit 0a0f17b9d2 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-19 01:16:43 +00:00
mergify[bot]
f522dc1e18
Don't bother api.github.com on pull requests to avoid getting rate limited ( #10710 )
...
(cherry picked from commit c0389ef82f )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-06-18 23:53:32 +00:00
Michael Vines
486812bf54
Only force up-to-date lock files on edge
2020-06-18 18:57:30 +00:00
Michael Vines
7df8f76df1
Add stub address_labels field for 1.3 compatibility
2020-06-18 18:57:30 +00:00
mergify[bot]
bbe4990e80
Move SDK types to more appropriate files (bp #10638 ) ( #10665 )
...
* Move types to more appropriate files (#10638 )
(cherry picked from commit dac7dc2f10 )
# Conflicts:
# programs/stake/src/stake_instruction.rs
# programs/vote/src/vote_instruction.rs
# sdk/src/system_instruction.rs
* Fix conflicts
* bump lock
Co-authored-by: Jack May <jack@solana.com >
2020-06-18 18:17:43 +00:00
mergify[bot]
a5baaf790d
Do not run buildkite tests if gitbook config modified ( #10692 ) ( #10694 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 89e0584250 )
# Conflicts:
# ci/buildkite-pipeline.sh
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-18 17:37:56 +00:00
mergify[bot]
0a36ed1b8c
Update testnet shred version ( #10684 ) ( #10686 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 9c22a6007d )
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-18 08:58:44 +00:00
mergify[bot]
b7ad240375
Update testnet shred version ( #10681 ) ( #10683 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit dae8bc477b )
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-18 07:47:28 +00:00
mergify[bot]
2cc71f2d55
Merge heaviest bank modules (bp #10672 ) ( #10677 )
...
* Merge heaviest bank modules
* Update lockfiles
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-18 06:14:53 +00:00
Michael Vines
3125c74681
Remove strict from automerge, add rebase opt in
2020-06-17 20:53:38 -07:00
mergify[bot]
d5b1dee8d6
ignore break ( #10666 ) ( #10669 )
...
(cherry picked from commit a5f82c995e )
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 20:41:35 -07:00
Stephen Akridge
4b33a2a1b8
Update Cargo.toml version from 1.2.4 to 1.2.5
2020-06-17 18:55:20 -07:00
Tyera Eulberg
58e6a5c281
Add docs to declare_id macro ( #10673 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 19:19:06 -06:00
mergify[bot]
7eb61074ab
Simd poh ( #10604 ) ( #10658 )
...
* Simd poh
* Fix poh verify bench
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-18 00:34:56 +00:00
mergify[bot]
9b2edbaa9b
Plumb --warp-slot through net scripts (bp #10639 ) ( #10643 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 21:36:04 +00:00
Justin Starry
e8659b45c7
Wait until bank is frozen before sending RPC notifications ( #10654 )
...
(cherry picked from commit 39984cdcc3 )
2020-06-17 13:05:29 -07:00
mergify[bot]
a9553cb401
Entry verify cleanup and gossip counters ( #10632 ) ( #10650 )
...
* Add prune message counter
* Switch to us verification time to match other counters
* Add separate transaction/poh verify timing
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 19:48:05 +00:00
mergify[bot]
800c409698
Factor out testnet automation SW version resolution ( #10660 )
...
(cherry picked from commit a15f60a291 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-17 17:31:11 +00:00
mergify[bot]
b6f484ddee
ClusterInfo cleanup ( #10504 ) ( #10657 )
...
automerge
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-17 15:28:41 +00:00
publish-docs.sh
3c39fee5a8
Add address to non-circulating supply
...
(cherry picked from commit 5673343f49 )
2020-06-16 21:45:51 -07:00
mergify[bot]
560f34d1f6
Fix links in TdS registration docs page ( #10641 ) ( #10645 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 36ca43e15b )
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-17 02:43:58 +00:00
Stephen Akridge
dbda50941a
Bump version to 1.2.4
2020-06-16 17:03:09 -07:00
Trent Nelson
f1e68ac25c
Allow pre-existing stake accounts in multinode-demo/delegate-stake.sh
...
(cherry picked from commit ae0d5ba201 )
2020-06-16 15:15:21 -07:00
mergify[bot]
95029b9b05
Enable fork choice and switch votes, devnet => now, testnet => epoch 63 ( #10615 ) ( #10624 )
...
* Enable fork choice, devnet => now, testnet => epoch 63
* Set development to 0
* Enable switch vote slot
Co-authored-by: Carl <carl@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit f8b88d717e )
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-16 12:47:58 +00:00
mergify[bot]
a789bf4761
Add generic is_parsable() input validator. ( #10621 )
...
Allow input validators to accept &str, &String and String parameters.
(cherry picked from commit daa2e6363f )
Co-authored-by: Kristofer Peterson <kris@tranception.com >
2020-06-16 10:33:13 +00:00
mergify[bot]
d2e7ffa8b9
Fix race in remove_unrooted_slot ( #10607 ) ( #10617 )
...
* Fix race
* clippy fixes
* Rename and add comment
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 8bd62d78eb )
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-16 06:20:48 +00:00
mergify[bot]
0914519f6a
Plumb --wait-for-supermajority through scripts ( #10611 ) ( #10614 )
...
(cherry picked from commit 348bf78cd1 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-16 03:09:29 +00:00
carllin
43cd5f3730
Disable repeated slot dumping ( #10606 )
...
* Disable repeated slot dumping
* Disable entire codepath
Co-authored-by: Carl <carl@solana.com >
2020-06-15 18:00:23 -07:00
Michael Vines
d396a5f45a
|solana withdraw-from-vote-account| now supports ALL, and refuses to deallocate the vote account ( #10602 )
...
(cherry picked from commit 296ac10b3a )
2020-06-15 17:17:43 -07:00
Michael Vines
76a7071dba
Add mergify automerge rules
2020-06-15 09:10:42 -07:00
mergify[bot]
133baa8ce6
Fix udp port check retry and check all udp ports ( #10385 ) ( #10577 )
...
automerge
2020-06-14 18:16:15 -07:00
mergify[bot]
5df3510fde
Fix perf-libs version detection ( #10571 ) ( #10574 )
...
automerge
2020-06-14 13:50:29 -07:00
Stephen Akridge
357339273f
Revert "Look at repair peers"
...
This reverts commit 0013bfff4e .
2020-06-14 09:58:21 -07:00
Stephen Akridge
2500881e0b
Bump version to v1.2.3
2020-06-14 09:58:10 -07:00
Stephen Akridge
0013bfff4e
Look at repair peers
2020-06-14 09:09:57 -07:00
mergify[bot]
f13498b428
Fix fannout gossip bench (bp #10509 ) ( #10556 )
...
automerge
2020-06-14 08:52:00 -07:00
Ryo Onodera
b567138170
Use git diff instead of git show for --check ( #10566 ) ( #10568 )
...
automerge
2020-06-14 07:41:48 -07:00
mergify[bot]
653982cae5
Check the whole range of commits in the topic branch (bp #10560 ) ( #10564 )
...
automerge
2020-06-14 04:53:08 -07:00
mergify[bot]
605f4906ba
Revert "Gossip PullRequests tend to return a lot of duplicates. ( #10326 )" ( #10455 ) ( #10557 )
...
automerge
2020-06-13 23:41:06 -07:00
Michael Vines
d27f24e312
Add merge-stake subcommmand
...
(cherry picked from commit 0510b6e336 )
2020-06-13 09:50:34 -07:00
Dan Albert
c9c1cb5c9c
Add Trust Wallet security info ( #10516 )
...
automerge
(cherry picked from commit 914f285914 )
2020-06-12 22:14:30 -07:00
mergify[bot]
1cc6493ccf
Split commitment module ( #10541 ) ( #10547 )
...
automerge
2020-06-12 20:59:25 -07:00
Michael Vines
ae47862be2
Add FdGYQ... to non-circulation withdrawer authority list ( #10542 )
...
automerge
(cherry picked from commit f54c049b43 )
2020-06-12 18:35:07 -07:00
Michael Vines
8590184df7
Refine build condition
2020-06-12 17:02:50 -07:00
Michael Vines
d840bbab08
Disable PR builds
2020-06-12 16:51:37 -07:00
mergify[bot]
63314de516
Remove redundant BankForks parameter ( #10537 ) ( #10538 )
...
automerge
2020-06-12 16:41:21 -07:00
mergify[bot]
c47a6e12c7
Improve BPF SDK dependency caching ( #10434 ) ( #10513 )
...
(cherry picked from commit 97f9b63507 )
Co-authored-by: Jack May <jack@solana.com >
2020-06-12 15:36:35 -07:00
mergify[bot]
7937c45ba4
Adopt heaviest subtree fork choice rule ( #10441 ) ( #10515 )
...
automerge
2020-06-12 01:25:47 -07:00
mergify[bot]
813b11ac56
Optimize stale slot shrinking for previously cleaned roots ( #10099 ) ( #10534 )
...
automerge
2020-06-12 00:18:40 -07:00
Michael Vines
ad6883b66a
./scripts/cargo-for-all-lock-files.sh update
2020-06-11 20:48:23 -07:00
Michael Vines
a8f4c4e297
Bump version to 1.2.2
2020-06-11 20:45:13 -07:00
mergify[bot]
6d68e94e4e
Add operating mode gating ( #10332 ) ( #10531 )
...
automerge
2020-06-11 20:05:58 -07:00
mergify[bot]
5dd40d7d88
Enable jsonrpc client ( #10522 ) ( #10525 )
...
automerge
2020-06-11 17:19:26 -07:00
mergify[bot]
3f58177670
Update non-circulating pubkeys ( #10524 ) ( #10527 )
...
automerge
(cherry picked from commit fb8612be49 )
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-11 16:58:49 -07:00
mergify[bot]
edfd65b115
Distinguish switch/non-switching votes in ReplayStage ( #10218 ) ( #10523 )
...
automerge
2020-06-11 16:43:40 -07:00
Michael Vines
51da66ec84
Force CI_REPO_SLUG
2020-06-11 13:14:07 -07:00
mergify[bot]
ba36308d69
Add StakeInstruction::Merge ( #10503 ) ( #10507 )
...
automerge
2020-06-10 19:08:56 -07:00
mergify[bot]
ee450b2dd0
More reliable way to detect expired transactions ( #10482 ) ( #10505 )
...
automerge
2020-06-10 17:24:47 -07:00
mergify[bot]
84b28fb261
Add back missing pull_response success counter ( #10491 ) ( #10501 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-10 15:11:13 -07:00
mergify[bot]
1586b86797
Optimize process pull responses ( #10460 ) ( #10484 ) ( #10490 )
...
automerge
2020-06-10 11:17:46 -07:00
mergify[bot]
8f065e487e
Add ability to change the commission of a vote account (bp #10493 ) ( #10498 )
...
automerge
2020-06-10 10:09:04 -07:00
mergify[bot]
953eadd983
Expose last-valid-slot to BankClient and ThinClient users ( #10478 ) ( #10483 )
...
automerge
2020-06-10 08:43:37 -07:00
mergify[bot]
a4a792facd
Update docs for eager rent collection ( #10348 ) ( #10489 )
...
automerge
2020-06-09 21:12:23 -07:00
mergify[bot]
055f808f98
Clean up delinquency slot distance computation ( #10479 )
...
automerge
2020-06-09 14:22:37 -07:00
mergify[bot]
0404878445
Add SendTransactionService ( #10471 )
...
automerge
2020-06-09 12:25:05 -07:00
mergify[bot]
053907f8a4
Add --warp-slot argument to |solana-ledger-tool create-snapshot| ( #10474 )
...
automerge
2020-06-09 10:49:27 -07:00
Michael Vines
f76dcc1f05
Add missing "
2020-06-08 17:44:27 -07:00
Michael Vines
823bc138cd
Bump new_system_program_activation_epoch by 2
2020-06-08 09:40:12 -07:00
mergify[bot]
18f746b025
Add Algo|Stake as a recommended trusted testnet validator ( #10452 ) ( #10453 )
...
automerge
2020-06-08 08:23:40 -07:00
mergify[bot]
c81adaf901
Remove lock around JsonRpcRequestProcessor ( #10417 ) ( #10451 )
...
automerge
2020-06-07 23:04:56 -07:00
mergify[bot]
2d12ddd0f6
Gossip cleanup remove duplicate gossip metrics and name worker threads ( #10435 ) ( #10448 )
...
automerge
2020-06-06 16:46:36 -07:00
mergify[bot]
bee36cc8d0
Enable and add tick rate to metrics ( #10430 ) ( #10447 )
...
automerge
2020-06-06 13:47:16 -07:00
mergify[bot]
f7aee67023
RPC simulateTransaction endpoint now returns program log output ( #10432 ) ( #10444 )
...
automerge
2020-06-06 11:57:24 -07:00
mergify[bot]
c021727009
Lower counter level ( #10428 ) ( #10436 )
...
automerge
2020-06-05 17:40:59 -07:00
mergify[bot]
6653136e1d
Add Certus One as a trusted validator for testnet ( #10433 ) ( #10438 )
...
automerge
2020-06-05 16:54:38 -07:00
mergify[bot]
06c40c807c
Gossip PullRequests tend to return a lot of duplicates. ( #10326 ) ( #10429 )
...
automerge
2020-06-05 11:51:48 -07:00
mergify[bot]
9b262b4915
Add pull request count metrics ( #10421 ) ( #10427 )
...
automerge
2020-06-05 11:25:26 -07:00
mergify[bot]
cc2d3ecfd7
More cluster stats and add epoch stakes cache in retransmit stage ( #10345 ) ( #10351 )
...
automerge
2020-06-05 10:01:42 -07:00
mergify[bot]
92743499bf
Enable more fine-grained control in partition tests ( #10418 ) ( #10423 )
...
automerge
2020-06-05 00:55:14 -07:00
mergify[bot]
aa6a00a03e
ledger_cleanup_service: compact at a slower rate than purging ( #10414 ) ( #10422 )
...
automerge
2020-06-04 22:56:32 -07:00
mergify[bot]
bd19f7c4cb
Avoid AccountInUse errors when simulating transactions ( #10391 ) ( #10420 )
...
automerge
2020-06-04 20:54:08 -07:00
mergify[bot]
988bf65ba4
Deactivate legacy_system_instruction_processor at epoch 58/38 (preview/stable) ( #10406 ) ( #10408 )
...
automerge
2020-06-04 01:33:09 -07:00
mergify[bot]
d5b03bd824
Don't reuse executable accounts between instructions ( #10403 ) ( #10405 )
...
automerge
2020-06-03 23:36:14 -07:00
mergify[bot]
6a72dab111
Enable rolling update of "Permit paying oneself" / "No longer allow create-account to add funds to an existing account" (bp #10375 ) ( #10404 )
...
automerge
2020-06-03 18:22:03 -07:00
mergify[bot]
56e8319a6d
Add built-in programs to InvokeContext ( #10383 ) ( #10402 )
...
automerge
2020-06-03 14:25:16 -07:00
mergify[bot]
aed1e51ef1
Throw error if no release version ( #10396 ) ( #10397 )
...
automerge
2020-06-03 11:15:39 -07:00
mergify[bot]
f4278d61df
Cache tvu peers for broadcast ( #10373 ) ( #10393 )
...
automerge
2020-06-03 10:15:47 -07:00
mergify[bot]
a5c3ae3cef
Don't share same snapshot dir for secondary access ( #10384 ) ( #10387 )
...
automerge
2020-06-03 04:12:51 -07:00
mergify[bot]
05c052e212
Support opening an in-use rocksdb as secondary ( #10209 ) ( #10382 )
...
automerge
2020-06-02 23:09:22 -07:00
mergify[bot]
dc05bb648a
Purge TransactionStatus and AddressSignatures exactly from ledger-tool ( #10358 ) ( #10376 )
...
automerge
2020-06-02 20:12:46 -07:00
mergify[bot]
800b65b2f6
Cleanup program docs ( #10283 ) ( #10360 )
...
automerge
2020-06-02 03:32:09 -07:00
mergify[bot]
ae1a0f57c5
Add preflight checks to sendTransaction RPC method (bp #10338 ) ( #10363 )
...
automerge
2020-06-01 22:27:30 -07:00
mergify[bot]
df7c44bd0c
Add docs for the builtin programs ( #10359 ) ( #10365 )
...
automerge
2020-06-01 20:17:01 -07:00
Tyera Eulberg
3e29cfd712
v1.2: backport exchange doc fmt ( #10357 )
...
* Exchange doc reformat (#10353 )
* Exchange doc reformat pt2 (#10355 )
2020-06-01 15:17:23 -06:00
mergify[bot]
202031538f
Restore archiver design document ( #10352 ) ( #10354 )
...
automerge
2020-06-01 09:55:36 -07:00
mergify[bot]
29ff1b925d
Reduce stable jobs ( #10344 ) ( #10347 )
...
automerge
2020-05-31 22:49:56 -07:00
mergify[bot]
5a91db6e62
Program address nits (bp #10261 ) ( #10262 )
...
automerge
2020-05-31 09:05:37 -07:00
mergify[bot]
94ba700e58
Permit paying oneself ( #10337 ) ( #10342 )
...
automerge
2020-05-31 08:50:42 -07:00
mergify[bot]
1964c6ec29
Don't attempt to resolve mainnet-beta in the test suite ( #10328 ) ( #10334 )
...
automerge
2020-05-29 20:01:26 -07:00
mergify[bot]
4dd6591bfd
Added --health-check-slot-distance ( #10324 ) ( #10331 )
...
automerge
2020-05-29 17:10:46 -07:00
mergify[bot]
163217815b
Improve Rpc inflation tooling (bp #10309 ) ( #10322 )
...
automerge
2020-05-29 14:09:41 -07:00
mergify[bot]
37c182cd5d
log leader ( #10280 ) ( #10315 )
...
automerge
2020-05-29 13:38:46 -07:00
mergify[bot]
0c68f27ac3
Fix repair dos ( #10299 ) ( #10303 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit e68621b8bb )
Co-authored-by: carllin <wumu727@gmail.com >
2020-05-28 21:48:29 -07:00
mergify[bot]
5fb8da9b35
Feign RPC health while in a --wait-for-supermajority holding pattern ( #10295 ) ( #10301 )
...
(cherry picked from commit 0442c45d5b )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-28 21:46:38 -07:00
mergify[bot]
74d9fd1e4f
verify_reachable_ports: Handle errors without expect() ( #10298 ) ( #10305 )
...
automerge
2020-05-28 17:11:34 -07:00
mergify[bot]
e71206c578
Add more logging while unpacking snapshots ( #10266 ) ( #10270 )
...
automerge
2020-05-28 13:47:58 -07:00
mergify[bot]
0141c80238
Skip gossip requests with different shred version and split lock ( #10240 ) ( #10297 )
...
automerge
2020-05-28 13:24:56 -07:00
Michael Vines
ed928cfdf7
Add commitment parameter to getFeeCalculatorForBlockhash ( #10255 ) ( #10296 )
...
automerge
2020-05-28 13:22:46 -07:00
mergify[bot]
2fd319ab7a
Verify TPU and serve repair ports are reachable ( #10291 ) ( #10294 )
...
automerge
2020-05-28 10:14:14 -07:00
mergify[bot]
7813a1decd
Purge next slots to avoid a blockstore_processor panic on restart ( #10281 ) ( #10285 )
...
(cherry picked from commit 5ac2ae1178 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-28 08:40:41 -07:00
mergify[bot]
93e4ed1f75
Include GenesisConfig inflation in Display ( #10282 ) ( #10289 )
...
automerge
2020-05-28 00:21:58 -07:00
mergify[bot]
a70f31b3da
Use correct --url ( #10284 ) ( #10287 )
...
automerge
2020-05-27 22:12:47 -07:00
Michael Vines
2d25227d0a
Adjust mainnet-beta shred version
2020-05-27 17:11:34 -07:00
mergify[bot]
fc7bfd0f67
Cleanup programming model doc ( #10274 ) ( #10276 )
...
automerge
2020-05-27 15:31:40 -07:00
mergify[bot]
2996291b37
CLI: Improve stake (de)activation display ( #10273 )
...
automerge
2020-05-27 14:45:20 -07:00
mergify[bot]
3e80b9231c
Add exchange integration docs ( #10054 ) ( #10267 )
...
automerge
2020-05-27 12:18:24 -07:00
Tyera Eulberg
78231a8682
Update Cargo.lock files ( #10271 )
...
automerge
2020-05-27 12:09:48 -07:00
Michael Vines
ace711e7f1
Bump version to 1.2.1
2020-05-26 19:07:35 -07:00
Michael Vines
c9cbc39ec9
Wait for one slot to be produced ( #10257 )
...
automerge
(cherry picked from commit 22a98bd27a )
2020-05-26 17:58:45 -07:00
mergify[bot]
606a392d50
Cli: expose last-valid-slot in solana fees ( #10254 ) ( #10256 )
...
automerge
(cherry picked from commit b6083ca107 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-05-26 17:38:14 -06:00
mergify[bot]
c67596ceb4
Add mechanism to get blockhash's last valid slot ( #10239 ) ( #10253 )
...
automerge
2020-05-26 14:33:11 -07:00
Ryo Onodera
9a42cc7555
Lower owner hashing activation slot for devnet ( #10244 )
...
automerge
2020-05-26 12:08:22 -07:00
mergify[bot]
2e5ef2a802
Update cross-program and program address proposals (bp #10234 ) ( #10241 )
...
automerge
2020-05-26 08:51:16 -07:00
mergify[bot]
8c8e2c4b2b
Prevent privilege escalation ( #10232 ) ( #10247 )
...
automerge
2020-05-26 02:39:28 -07:00
mergify[bot]
0578801f99
Remove storage rpc docs ( #10238 ) ( #10242 )
...
automerge
2020-05-25 22:45:18 -07:00
mergify[bot]
6141e1410a
Cluster info metrics ( #10215 ) ( #10236 )
...
automerge
2020-05-25 16:39:08 -07:00
mergify[bot]
4fc86807ff
Re-enable move in docker-solana ( #10214 ) ( #10228 )
...
automerge
2020-05-25 01:32:54 -07:00
Michael Vines
d2a2eba69e
v1.2: Include account.owner into account hash ( #9918 ) ( #10222 )
...
automerge
2020-05-25 00:34:54 -07:00
Michael Vines
156387aba4
LedgerCleanupService no longer causes an OOM and actually purges ( #10199 )
...
* cleanup_ledger() now services new_root_receiver while purging
* purge_slots() now fully deletes before compacting
* Add ledger pruning grafana graph
2020-05-24 21:41:54 -07:00
dependabot-preview[bot]
8a8384e674
Bump sha2 from 0.8.1 to 0.8.2 ( #10205 )
...
* Bump sha2 from 0.8.1 to 0.8.2
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.1...sha2-v0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-24 19:44:04 -07:00
dependabot-preview[bot]
58ae9ab34f
Bump zstd from 0.5.1+zstd.1.4.4 to 0.5.2+zstd.1.4.5 ( #10207 )
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.5.1+zstd.1.4.4 to 0.5.2+zstd.1.4.5.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-24 19:39:38 -07:00
dependabot-preview[bot]
3dfef813bf
Bump hidapi from 1.2.1 to 1.2.2 ( #10210 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-24 19:39:06 -07:00
carllin
3aae98c8be
Add switching vote instruction ( #10197 )
...
* Add switching vote
* Make sure vote size stays under gossip limit
Co-authored-by: Carl <carl@solana.com >
2020-05-24 15:38:35 -07:00
Ryo Onodera
8d32441b96
Fix ledger-tool create-snapshot and add sanity test ( #10212 )
...
automerge
2020-05-24 08:27:36 -07:00
Michael Vines
26acd6aafa
Sort notifications for easier scanning on Discord ( #10208 )
...
automerge
2020-05-24 00:20:57 -07:00
Dan Albert
7373163bed
Update whitelist.rs ( #10203 )
2020-05-23 17:46:59 -06:00
Dan Albert
a21409e97e
Update whitelist.rs ( #10202 )
...
automerge
2020-05-23 10:51:15 -07:00
anatoly yakovenko
9fae5aacc2
grammar ( #10200 )
...
automerge
2020-05-23 08:13:20 -07:00
carllin
42aaacf520
Factor out LockedPubkeyReferences ( #10198 )
...
Co-authored-by: Carl <carl@solana.com >
2020-05-22 23:23:17 -07:00
Greg Fitzgerald
36a36d1c83
No longer allow create-account to add funds to an existing account ( #10192 )
...
automerge
2020-05-22 16:39:01 -07:00
dependabot-preview[bot]
2d3a906d55
Bump tar from 0.4.27 to 0.4.28 ( #10185 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.27 to 0.4.28.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.27...0.4.28 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 15:55:40 -07:00
Michael Vines
48c0845359
Update another non-circulating account
2020-05-22 15:11:33 -07:00
sakridge
10b1895357
Optimize banking processing of AccountInUse ( #10154 )
...
* Optimize banking processing of AccountInUse and thread count
* Add more options to banking-bench
2020-05-22 15:01:01 -07:00
sakridge
f1e932c90a
Trigger notifications on supermajority votes confirmation ( #10137 )
...
automerge
2020-05-22 14:53:47 -07:00
Michael Vines
269db1710e
Retry a couple times before declaring a UDP port unreachable ( #10181 )
2020-05-22 14:33:01 -07:00
Michael Vines
e2b5cd6d47
Add another non-circulating account ( #10186 )
...
automerge
2020-05-22 13:06:03 -07:00
Tyera Eulberg
2928c5d103
Add SingleGossip commitment level to use for subscriptions ( #10147 )
...
automerge
2020-05-22 12:55:17 -07:00
sakridge
2324eb9ff9
Make slot history a billion times faster ( #10175 )
2020-05-22 11:15:16 -07:00
Kristofer Peterson
b7a32f01c0
Multi-version snapshot support ( #9980 )
...
* Multi-version snapshot support
* rustfmt
* Remove CLI options and runtime support for selection output snapshot version.
Address some clippy complaints.
* Muzzle clippy type complexity warning.
Despite clippy's suggestion, it is not currently possible to create type aliases
for traits and so everything within the 'Box<...>' cannot be type aliased.
This then leaves creating full blown traits, and either implementing
said traits by closure (somehow) or moving the closures into new structs
implementing said traits which seems a bit of a palaver.
Alternatively it is possible to define and use the type alias 'type ResultBox<T> = Result<Box<T>>'
which does seems rather pointless and not a great reduction in complexity but is enough to keep clippy happy.
In the end I simply went with squelching the clippy warning.
* Remove now unused Serialize/Deserialize trait implementations for AccountStorageEntry and AppendVec
* refactor versioned de/serialisers
* rename serde_utils to serde_snapshot
* move call to accounts_db.generate_index() back down to context_accountsdb_from_stream()
* update version 1.1.1 to 1.2.0
remove nested use of serialize_bytes
* cleanups
* Add back measurement of account storage entry serialization.
Remove construction of Vec and HashMap temporaries during serialization.
* consolidate serialisation test cases into serde_snapshot.
clean up leakage of implementation details in serde_snapshot.
* move short term / legacy snapshot code into child module
* add serialize_iter_as_tuple
* preliminary integration of following commit
commit 6d58b73c47294bfb93465d5a83cd2175660b6e6d
Author: Ryo Onodera <ryoqun@gmail.com >
Date: Wed May 20 14:02:02 2020 +0900
Confine snapshot 1.1 relic to versioned codepath
* refactored serde_snapshot, rustfmt
legacy accounts_db format now "owns" both leading u64s, legacy bank_rc format has none
* reduce type complexity (clippy)
2020-05-23 02:54:24 +09:00
Dan Albert
967320a091
Update whitelist.rs ( #10183 )
...
automerge
2020-05-22 10:10:26 -07:00
Michael Vines
4779858dd4
Clean up RPCClient retry handling: only retry on 429, after a little sleep ( #10182 )
2020-05-22 08:53:53 -07:00
dependabot-preview[bot]
c7cdbc98e5
Bump thiserror from 1.0.18 to 1.0.19 ( #10180 )
...
* Bump thiserror from 1.0.18 to 1.0.19
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.18...1.0.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-21 23:36:04 -07:00
anatoly yakovenko
c78fd2b36d
document optimistic confirmation and slashing roadmap ( #10164 )
...
* docs
* book nits
* Update docs/src/proposals/optimistic-confirmation-and-slashing.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* fixups
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-21 18:15:09 -07:00
Tyera Eulberg
12a3b1ba6a
Fixup deserialize_bs58_transaction, and make a few error types more targeted ( #10171 )
...
automerge
2020-05-21 17:30:02 -07:00
Michael Vines
18be7a7966
REST API now returns supply in SOL rather than lamports ( #10170 )
...
automerge
2020-05-21 15:50:06 -07:00
Michael Vines
56c7e4a66c
ping now reuses the same blockhash for a minute ( #10165 )
2020-05-21 14:11:47 -07:00
Michael Vines
486168b796
Revert "Add AVX2 runtime checks ( #10033 )" ( #10167 )
...
This reverts commit cf8eb7700b .
2020-05-21 13:13:52 -07:00
Michael Vines
074c41556f
Add hQB.. to the testnet whitelist
2020-05-21 12:22:38 -07:00
Justin Starry
10d60288e8
Update default subscription commitment level from recent to single ( #10161 )
...
* Update default subscription commitment level from recent to single
* Update jsonrpc docs
* Fix failing tests
2020-05-22 00:33:24 +08:00
Michael Vines
77d42654dc
Update .gitignore
2020-05-20 23:59:41 -07:00
Michael Vines
07243dc87f
Add stake-o-matic.sh
2020-05-20 22:30:09 -07:00
Michael Vines
429802a138
Avoid sending duplicate stake delegation transactions for the same epoch ( #10158 )
...
automerge
2020-05-20 21:26:47 -07:00
dependabot-preview[bot]
8da2e1b2f7
Bump tar from 0.4.26 to 0.4.27 ( #10150 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.26 to 0.4.27.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.26...0.4.27 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 20:04:22 -07:00
Michael Vines
324cfd40f0
Add v0 REST APIs for circulating and total supply ( #10102 )
2020-05-20 20:04:07 -07:00
Greg Fitzgerald
64cec764b9
Allow RpcClient users to inject custom "senders" ( #10157 )
...
automerge
2020-05-20 18:40:45 -07:00
sakridge
ce17de7d25
Add option to wait for a specific epoch length to bench-tps ( #10083 )
2020-05-20 16:42:46 -07:00
Michael Vines
417f0e41fa
Add stake-o-matic ( #10044 )
...
automerge
2020-05-20 16:15:03 -07:00
Michael Vines
d6d032dd49
Fetch rpc-url from the gossip entrypoint ( #10152 )
...
automerge
2020-05-20 14:52:41 -07:00
Michael Vines
357a00d2bc
transaction-history now searches over the entire history by default ( #10145 )
...
automerge
2020-05-20 14:15:31 -07:00
Tyera Eulberg
276815bd33
Fixup subscription docs ( #10146 )
2020-05-20 13:19:03 -06:00
Jack May
4a72c2b054
Support cross-program invocation to native programs ( #10136 )
2020-05-20 09:24:57 -07:00
Tyera Eulberg
9d89fb5c35
Fix another unstable test after eager rent ( #10120 )
2020-05-20 09:57:33 -06:00
Michael Vines
ad7b113944
Ignore test_tvu_exit ( #10134 )
...
automerge
2020-05-19 23:40:27 -07:00
Michael Vines
f33688361c
multinode-demo/faucet.sh is no longer required ( #10129 )
2020-05-19 20:07:30 -07:00
Jack May
36627fb8b3
move builtin programs out of bank ( #10132 )
...
automerge
2020-05-19 19:45:30 -07:00
Michael Vines
f27d001b7a
Remove obsolete testnet management scripts ( #10130 )
...
automerge
2020-05-19 18:26:27 -07:00
Greg Fitzgerald
d9919b99d2
Remove folds ( #10128 )
...
automerge
2020-05-19 18:13:41 -07:00
carllin
439fd30840
Fix erasure ( #10095 )
...
* Fix bad FEC blocks
* Add test
Co-authored-by: Carl <carl@solana.com >
2020-05-19 16:13:12 -07:00
Greg Fitzgerald
e66b5d09db
Rename getCirculatingSuppy to getSupply in JSON API doc ( #10121 )
...
automerge
2020-05-19 15:37:26 -07:00
Michael Vines
d5d06e6be0
Add CommitmentConfig::single() support to the cli ( #10114 )
...
automerge
2020-05-19 13:45:21 -07:00
carllin
97f2bcff69
master: Add nonce to shreds repairs, add shred data size to header ( #10109 )
...
* Add nonce to shreds/repairs
* Add data shred size to header
Co-authored-by: Carl <carl@solana.com >
2020-05-19 12:38:18 -07:00
Michael Vines
427c78d891
Add SimulateTransaction RPC endpoint ( #10106 )
...
automerge
2020-05-19 12:08:19 -07:00
dependabot-preview[bot]
5e43304eca
Bump byte-unit from 3.0.3 to 3.1.1 ( #10098 )
...
Bumps [byte-unit](https://github.com/magiclen/byte-unit ) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/magiclen/byte-unit/releases )
- [Commits](https://github.com/magiclen/byte-unit/compare/v3.0.3...v3.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 09:03:30 -06:00
dependabot-preview[bot]
d34b9ba306
Bump thiserror from 1.0.17 to 1.0.18 ( #10079 )
...
* Bump thiserror from 1.0.17 to 1.0.18
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.17...1.0.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <anatoly+githubjenkins@solana.io >
2020-05-19 09:02:45 -06:00
Tyera Eulberg
fac854eb9d
Remove sdk-c ( #10107 )
2020-05-18 21:04:47 -06:00
Jack May
431a228402
fix clock bankhash mismatch ( #10078 )
...
automerge
2020-05-18 19:48:06 -07:00
Greg Fitzgerald
300b33a20e
Add unique_signers() to SDK ( #10105 )
...
automerge
2020-05-18 18:31:45 -07:00
Tyera Eulberg
759c0e0b03
Update accounts whitelist ( #10100 )
2020-05-18 14:17:56 -06:00
Michael Vines
bbc549f592
Rename program_id to owner in system instructions ( #10069 )
2020-05-18 12:55:41 -07:00
Tyera Eulberg
bac4aec16f
Trigger RPC notifications after block commitment cache update ( #10077 )
...
* Fixup commitment-aggregation metric
* Trigger notifications after commitment-cache update
* Fixup fn name
* Add single-confirmation commitment level
* Rename to highest_confirmed_slot
* Pass commitment-cache info directly to notifications
* Use match
* Update commitment docs
* Update out of date pubsub docs
2020-05-18 12:49:01 -06:00
Kristofer Peterson
4ca352a344
Use serde provided serialization for atomics ( #10096 )
...
automerge
2020-05-18 08:30:27 -07:00
Reisen
bfcfbab818
Add Vote PubSub endpoint for live gossip votes. ( #10045 )
...
* Add Vote PubSub endpoint for live gossip votes.
* Updated tests for Vote RPC and Vote Listener
* Add JSON RPC documentation for Vote RPC.
* Base58 encode hash in Vote RPC response.
2020-05-17 15:01:08 -06:00
sakridge
9222bc2b35
Add 30s option to metrics. ( #10081 )
...
10s too short, 1m too long, 30s just right.
2020-05-16 10:46:17 -07:00
sakridge
f562ed4cc8
Distinguish between shred type in shred fetch stage duplicate filter ( #10068 )
...
* Shred type check
* Test
2020-05-15 13:23:56 -07:00
sakridge
c4a096d8d4
Wait 15 seconds for gossip rpc url ( #10053 )
2020-05-15 13:23:40 -07:00
Greg Fitzgerald
5e89bd8868
Panic if no fee-payer found via Message::new() ( #10050 )
...
automerge
2020-05-15 12:23:09 -07:00
Michael Vines
7080fb9b37
Abort if the open fd limit cannot be increased ( #10064 )
...
automerge
2020-05-15 12:14:21 -07:00
Dan Albert
a32f34f131
Add docs section to upgrade Solana App on Ledger Live ( #10070 )
...
automerge
2020-05-15 11:26:40 -07:00
Greg Fitzgerald
f342a50a76
Don't discard transaction record when blockhash not found ( #10058 )
...
* Don't discard transaction records
Not enough certainty, because only half the blockhashes
are returned via the RPC call. Even if all 300, there's
still the possiblity other validators are behind, and
a superamajority will vote on on a block that includes
the transaction.
* fmt
2020-05-15 11:43:30 -06:00
Kristofer Peterson
58ef02f02b
9951 clippy errors in the test suite ( #10030 )
...
automerge
2020-05-15 09:35:43 -07:00
Michael Vines
1da1667920
Forge a confirmed root before halting for RPC inspection ( #10061 )
2020-05-15 09:02:48 -07:00
Justin Starry
b762319fc5
Correct comment stating lockup gates stake authorize ixs ( #10063 )
...
* Correct old comment stating lockup gates stake authorize ixs
* Delete dead stake code
2020-05-15 22:02:20 +08:00
dependabot-preview[bot]
6a6c5f196a
Bump libc from 0.2.69 to 0.2.70 ( #10006 )
...
* Bump libc from 0.2.69 to 0.2.70
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.69 to 0.2.70.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.69...0.2.70 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-15 06:18:43 -06:00
dependabot-preview[bot]
22cddcb1a6
Bump thiserror from 1.0.16 to 1.0.17 ( #10020 )
...
* Bump thiserror from 1.0.16 to 1.0.17
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.16...1.0.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-15 06:17:42 -06:00
Tyera Eulberg
63813fe69f
Add Ledger error codes ( #10056 )
...
automerge
2020-05-14 21:52:11 -07:00
Greg Fitzgerald
adcd2f14a5
Minor fixes to solana-tokens ( #10057 )
...
automerge
2020-05-14 21:23:35 -07:00
Jack May
eb1acaf927
Remove archiver and storage program ( #9992 )
...
automerge
2020-05-14 18:22:47 -07:00
Michael Vines
9ef9969d29
Remove notifier module duplication ( #10051 )
2020-05-14 17:32:08 -07:00
Tyera Eulberg
40b7c11262
Base58 ( #10052 )
2020-05-14 17:23:29 -06:00
Dan Albert
d195dce5d1
Clean up Ledger instructions ( #10047 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-05-14 14:03:16 -06:00
dependabot-preview[bot]
816bf6ebdd
Bump fnv from 1.0.6 to 1.0.7 ( #10046 )
...
* Bump fnv from 1.0.6 to 1.0.7
Bumps [fnv](https://github.com/servo/rust-fnv ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/servo/rust-fnv/releases )
- [Commits](https://github.com/servo/rust-fnv/compare/v1.0.6...v1.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-14 12:29:11 -07:00
Tyera Eulberg
ed53a70b5c
Cli: transfer ALL; check spend+fee in client ( #10012 )
...
* lamports->SOL in user-facing error msg
* Check for sufficient balance for spend and fee
* Add ALL option to solana transfer
* Rework TransferAmount to check for sign_only in parse
* Refactor TransferAmount & fee-check handling to be more general
* Add addl checks mechanism
* Move checks out of cli.rs
* Rename to SpendAmount to be more general & move
* Impl ALL/spend helpers for create-nonce-account
* Impl spend helpers for create-vote-account
* Impl ALL/spend helpers for create-stake-account
* Impl spend helpers for ping
* Impl ALL/spend helpers for pay
* Impl spend helpers for validator-info
* Remove unused fns
* Remove retry_get_balance
* Add a couple unit tests
* Rework send_util fn signatures
2020-05-14 12:24:14 -06:00
Michael Vines
4e4a21f9b7
solana-gossip spy can now specify a shred version (#10040 )
2020-05-13 19:37:40 -07:00
Jack May
c5460e7fee
Remove inline from all BPF C functions ( #10038 )
2020-05-13 17:23:39 -07:00
Trent Nelson
cf8eb7700b
Add AVX2 runtime checks ( #10033 )
...
automerge
2020-05-13 12:19:22 -07:00
Ryo Onodera
13bc3f8094
Fix unstable test after eager rent collection ( #10031 )
...
automerge
2020-05-13 10:35:58 -07:00
sakridge
9575afc8fa
Refactor blockstore recovery code ( #10008 )
2020-05-13 10:09:38 -07:00
Jack May
1e80044e93
fix docs makefile ( #10016 )
2020-05-13 09:08:25 -07:00
Greg Fitzgerald
e09f517094
Add solana-tokens ( #10011 )
...
* Initial commit
* Execute transfers
* Refactor for testing
* Cleanup readme
* Rewrite
* Cleanup
* Cleanup
* Cleanup client
* Use a Null Client to move prints closer to where messages are sent
* Upgrade Solana
* Move core functionality into its own module
* Handle transaction errors
* Merge allocations
* Fixes
* Cleanup readme
* Fix markdown
* Add example input
* Add integration test - currently fails
* Add integration test
* Add metrics
* Use RpcClient in dry-run, just don't send messages
* More metrics
* Fix dry run with no keys
* Only require one approval if fee-payer is the sender keypair
* Fix bugs
* Don't create the transaction log if nothing to put into it;
otherwise the next innvocation won't add the header
* Apply previous transactions to allocations with matching recipients
* Bail out of any account already has a balance
* Polish
* Add new 'balances' command
* 9 decimal places
* Add missing file
* Better dry-run; keypair options now optional
* Change field name from 'bid' to 'accepted'
Also, tolerate precision change from 2 decimal places to 4
* Write to transaction log immediately
* Rename allocations_csv to bids_csv
So that we can bypass bids_csv with an allocations CSV file
* Upgrade Solana
* Remove faucet from integration test
* Cleaner integration test
Won't work until this lands and is released:
https://github.com/solana-labs/solana/pull/9717
* Update README
* Add TravicCI script to build and test (#1 )
* Add distribute-stake command (#2 )
* Distribute -> DistributeTokens (#3 )
* Cache cargo deps (#4 )
* Add docs (#5 )
* Switch to latest Solana 1.1 release (#7 )
* distribute -> distribute-tokens (#9 )
* Switch from CSV to a pickledb database (#8 )
* Switch from CSV to a pickledb database
* Allow PickleDb errors to bubble up
* Dedup
* Hoist db
* Add finalized field to TransactionInfo
* Don't allow RPC client to resign transactions
* Remove dead code
* Use transport::Result
* Record unconfirmed transaction
* Fix: separate stake account per allocation
* Catch transport errors
* Panic if we attempt to replay a transaction that hasn't been finalized
* Attempt to fix CI
PickleDb isn't calling flush() or close() after writing to files.
No issue on MacOS, but looks racy in CI.
* Revert "Attempt to fix CI"
This reverts commit 1632394f636c54402b3578120e8817dd1660e19b.
* Poll for signature before returning
* Add --sol-for-fees option for stake distributions
* Add --allocations-csv option (#14 )
* Add allocations-csv option
* Add tests or GTFO
* Apply review feedback
* apply feedback
* Add read_allocations function
* Update arg_parser.rs
* Fix balances command (#17 )
* Fix balances command
* Fix readme
* Add --force to transfer to non-empty accounts (#18 )
* Add --no-wait (#16 )
* Add ThinClient methods to implement --no-wait
* Plumb --no-wait through
No tests yet
* Check transaction status on startup
* Easier to test
* Wait until transaction is finalized before checking if it failed with an error
It's possible that a minority fork thinks it failed.
* Add unit tests
* Remove dead code and rustfmt
* Don't flush database to file if doing a dry-run
* Continue when transactions not yet finalized (#20 )
If those transactions are dropped, the next run will execute them.
* Return the number of confirmations (#21 )
* Add read_allocations() unit-test (#22 )
Delete the copy-pasted top-level test.
Fixes #19
* Add a CSV printer (#23 )
* Remove all the copypasta (#24 )
* Move resolve_distribute_stake_args into its own function
* Add stake args to token args
* Unify option names
* Move Command::DistributeStake into DistributeTokens
* Remove process_distribute_stake
* Only unique signers
* Use sender keypair to fund new fee-payer accounts
* Unify distribute_tokens and distribute_stake
* Rename print-database command to transaction-log (#25 )
* Send all transactions as quickly as possible, then wait (#26 )
* Send all transactions as quickly as possible, then wait
* Exit when finalized or blockhashes have expired
* Don't need blockhash in the CSV output
* Better types
CSV library was choking on Pubkey as a type. PickleDb doesn't have that problem.
* Resend if blockhash has not expired
* Attempt to fix CI
* Move log to stderr
* Add constructor, tuck away client (#30 )
* Add constructor, tuck away client
* Fix unwrap() caught by CI
* Fix optional option flagged as required
* Bunch of cleanup (#31 )
* Remove untested --no-wait feature
* Make --transactions-db an option, not an arg
So that in the future, we can make it optional
* Remove more untested features
Too many false positives in that santity check. Use --dry-run
instead.
* Add dry-run mode to ThinClient
* Cleaner dry-run
* Make key parameters required
Just don't use them in --dry-run
* Add option to write the transaction log
--dry-run doesn't write to the database. Use this option if you
want a copy of the transaction log before the final run.
* Revert --transaction-log addition
Implement #27 first
* Fix CI
* Update readme
* Fix CI in copypasta
* Sort transaction log by finalized date (#33 )
* Make --transaction-db option implicit (#34 )
* Move db functionality into its own module (#35 )
* Move db functionality into its own module
* Rename tokens module to commands
* Version bump
* Upgrade Solana
* Add solana-tokens to build
* Remove Cargo.lock
* Remove vscode file
* Remove TravisCI build script
* Install solana-tokens
Co-authored-by: Dan Albert <dan@solana.com >
2020-05-13 08:36:30 -06:00
Ryo Onodera
1eb40c3fe0
Introduce eager rent collection ( #9527 )
...
* Switch AccountsIndex.account_maps from HashMap to BTreeMap
* Introduce eager rent collection
* Start to add tests
* Avoid too short eager rent collection cycles
* Add more tests
* Add more tests...
* Refacotr!!!!!!
* Refactoring follow up
* More tiny cleanups
* Don't rewrite 0-lamport accounts to be deterministic
* Refactor a bit
* Do hard fork, restore tests, and perf. mitigation
* Fix build...
* Refactor and add switch over for testnet (TdS)
* Use to_be_bytes
* cleanup
* More tiny cleanup
* Rebase cleanup
* Set Bank::genesis_hash when resuming from snapshot
* Reorder fns and clean ups
* Better naming and commenting
* Yet more naming clarifications
* Make prefix width strictly uniform for 2-base partition_count
* Fix typo...
* Revert cluster-dependent gate
* kick ci?
* kick ci?
* kick ci?
2020-05-13 16:22:14 +09:00
Tyera Eulberg
ee7f15eff1
Rpc: optionally filter getLargestAccounts by circulating/nonCirculating ( #10007 )
...
* Add circ/non-circ filter to getLargestAccounts
* Plumb largest accounts into client and cli
* Bump timeout toward CI flakiness
* Update docs
2020-05-12 21:05:05 -06:00
sakridge
a9b82cf95b
Enable disk metrics ( #10009 )
2020-05-12 15:24:39 -07:00
Justin Starry
5cc252d471
Remove hash field from account ( #9915 )
2020-05-12 23:39:46 +08:00
Michael Vines
a75086287c
Use CommitmentConfig::root() when checking accounts, CommitmentConfig::max() may not be available yet ( #9999 )
...
automerge
2020-05-12 00:24:04 -07:00
Michael Vines
a5fb3fc220
Update testnet shred version ( #10000 )
...
automerge
2020-05-11 23:30:00 -07:00
Michael Vines
28d1f7c5e7
Fix crash when CI_COMMIT=HEAD ( #9994 )
...
automerge
2020-05-11 22:49:29 -07:00
carllin
59de1b3b62
Compute Switch Threshold ( #9218 )
...
* Add switching threshold check
Co-authored-by: Carl <carl@solana.com >
2020-05-11 22:20:11 -07:00
Michael Vines
84b6120983
getClusterNodes RPC API now includes the node software version ( #9990 )
2020-05-11 21:30:01 -07:00
Michael Vines
3b9dc50541
Fix up a couple cli commands that fail when a node is in the --wait-for-supermajority state ( #9985 )
...
automerge
2020-05-11 16:07:40 -07:00
Michael Vines
2521f75c18
Advertise node software version in gossip ( #9981 )
...
* Advertise node version in gossip
* Remove solana_clap_utils::version! macro
2020-05-11 15:02:01 -07:00
Tyera Eulberg
965204b8e0
Check slot cleaned up for RPC blockstore/slot queries ( #9982 )
...
automerge
2020-05-11 14:47:40 -07:00
dependabot-preview[bot]
6660e93c39
Bump clap from 2.33.0 to 2.33.1 ( #9978 )
...
* Bump clap from 2.33.0 to 2.33.1
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.0 to 2.33.1.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-11 14:32:50 -07:00
dependabot-preview[bot]
4fd7526852
Bump signal-hook from 0.1.14 to 0.1.15 ( #9979 )
...
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.1.14 to 0.1.15.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.1.14...v0.1.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-11 14:32:26 -07:00
sakridge
903a8a3196
Add retransmit packets_by_slot metrics ( #9975 )
2020-05-11 13:49:10 -07:00
Jack May
7e364d01c2
Bump solana-rbpf to v0.1.28 ( #9976 )
2020-05-11 13:34:56 -07:00
Jack May
bfe179e911
nudge
2020-05-11 09:06:05 -07:00
Jack May
af84dff9ef
nudge
2020-05-11 09:06:05 -07:00
Jack May
97e17f9b32
Programs can only sign their accounts
2020-05-11 09:06:05 -07:00
Michael Vines
b4b4d6b00d
Write non-error output to stdout ( #9960 )
...
automerge
2020-05-11 08:39:10 -07:00
dependabot-preview[bot]
1f9d0fc284
Bump dialoguer from 0.5.1 to 0.6.2 ( #9970 )
...
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.5.1 to 0.6.2.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/0.5.1...v0.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-11 08:21:16 -07:00
sakridge
1a47b1cd86
Retransmit and shred fetch metrics ( #9965 )
...
* Retransmit stats
* Shred fetch stats
2020-05-10 21:37:05 -07:00
dependabot-preview[bot]
9c0b80ea1b
Bump serde_yaml from 0.8.11 to 0.8.12 ( #9966 )
...
automerge
2020-05-10 18:11:23 -07:00
dependabot-preview[bot]
288c9751c1
Bump serde from 1.0.106 to 1.0.110 ( #9964 )
...
* Bump serde from 1.0.106 to 1.0.110
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.106 to 1.0.110.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.106...v1.0.110 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-10 16:24:25 -07:00
carllin
ad3c8fb812
More logging around failure ( #9967 )
...
automerge
2020-05-10 16:01:20 -07:00
Michael Vines
19722fceb3
Fixup supply_with_commitment
2020-05-10 11:50:15 -07:00
dependabot-preview[bot]
0541431ea8
Bump serde_json from 1.0.52 to 1.0.53 ( #9957 )
...
* Bump serde_json from 1.0.52 to 1.0.53
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.52...v1.0.53 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-10 11:46:29 -07:00
Tyera Eulberg
dd78184f8f
Cli: Add solana supply command; hide total-supply ( #9956 )
...
* Add cli supply command; hide total-supply
* Use print-accounts arg instead of verbose
2020-05-10 12:05:14 -06:00
Michael Vines
af6a8f5fac
Remove RpcClient code duplication ( #9952 )
2020-05-10 08:51:53 -07:00
Dan Albert
405e39fb9f
Reduce stability testcase throughput to 40k TPS ( #9959 )
...
automerge
2020-05-10 08:34:47 -07:00
Tyera Eulberg
3ee702a922
Rpc: Add getCirculatingSupply endpoint, redux ( #9953 )
...
* Add Bank.clock() helper
* Add non-circulating calculations
* Plumb getSupply rpc endpoint
* Add docs for getSupply, and remove getTotalSupply from docs
* Add pubkeys! procedural macro
* Use procedural macro in non_circulating_supply
2020-05-09 12:05:29 -06:00
Michael Vines
cb50877bbf
send_and_confirm_transaction() no longer needs a keypair ( #9950 )
2020-05-09 09:06:32 -07:00
Jack May
84885d79d5
Pull in hardened BPF virtual machine ( #9931 )
2020-05-08 12:37:04 -07:00
Greg Fitzgerald
57a9996921
Clean up --output help ( #9941 )
...
automerge
2020-05-08 12:27:56 -07:00
Ryo Onodera
00e45ec935
Maintain sysvar balances for consistent market cap. ( #9936 )
...
* Maintain sysvar balances for consistent market cap.
* Unindent
2020-05-09 02:42:32 +09:00
sakridge
f98bfda6f9
Security changes ( #9923 )
...
* Move test-only functions to test modules
* Remove sigverify disable
* Remove chacha CTR code
2020-05-08 10:00:23 -07:00
carllin
01ab1d1369
Add metrics for logging time taken in replaystage steps ( #9933 )
...
automerge
2020-05-08 03:46:29 -07:00
carllin
e970c58330
Properly handle ancestor/descendant maps ( #9932 )
...
* Account for descendants < root not existing in BankForks, purge ancestors/descendants map for consistency with BankForks and progress map
Co-authored-by: Carl <carl@solana.com >
2020-05-07 23:39:57 -07:00
dependabot-preview[bot]
c970bbea4f
Bump serde_bytes from 0.11.3 to 0.11.4 ( #9914 )
...
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.3...0.11.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 23:26:37 -07:00
Trent Nelson
f12c6c1ed1
BSD compat for 9493de4 ( #9922 )
...
automerge
2020-05-07 16:38:33 -07:00
Ryo Onodera
2ac50177a6
Include account.owner into account hash ( #9917 )
...
automerge
2020-05-07 13:01:11 -07:00
dependabot-preview[bot]
3757754c89
Bump signal-hook from 0.1.13 to 0.1.14 ( #9913 )
...
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.1.13...v0.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 08:33:58 -07:00
Tyera Eulberg
754c65c066
Refactor RPC subscriptions account handling ( #9888 )
...
* Switch subscriptions to use commitment instead of confirmations
* Add bank method to return account and last-modified slot
* Add last_modified_slot to subscription data and use to filter account subscriptions
* Update tests to non-zero last_notified_slot
* Add accounts subscriptions to test; fails at higher tx load
* Pass BankForks to RpcSubscriptions
* Use BankForks on add_account_subscription to properly initialize last_notified_slot
* Bundle subscriptions
* Check for non-equality
* Use commitment to initialize last_notified_slot; revert context.slot chage
2020-05-07 00:23:06 -06:00
VadimGrznk
f6e26f6c8c
Add using OutputFormat enum to --sign-only transactions ( #9650 )
...
* Add using OutputFormat enum to --sign-only commands
* Renaming
* Code formating
* Appease clippy
* Add returning json string to pay command for tests
* Code refactoring
* Appease clippy
* Rebase and dedupe signature prints
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-05-06 22:21:48 -06:00
Dan Albert
d08d9322d2
Limit performance testcases to 40k TPS client ( #9906 )
2020-05-06 21:36:13 -06:00
Tyera Eulberg
65a52a4145
Cli: Update OutputFormat method to return a String to restore consistency ( #9904 )
...
* Update OutputFormat method to return a String to restore consistency
* Remove process_show_account special case
2020-05-06 20:27:15 -06:00
sakridge
d5c889d6b0
Re-enable gpu sigverify ( #9870 )
...
Add sigverify fuzz and scalar test
2020-05-06 15:44:55 -07:00
carllin
445e6668c2
Fix ( #9896 )
...
Co-authored-by: Carl <carl@solana.com >
2020-05-06 11:44:49 -07:00
Michael Vines
766062b2cc
Correct method name
2020-05-06 11:27:55 -07:00
dependabot-preview[bot]
068666b0e3
Bump cbindgen from 0.14.1 to 0.14.2 ( #9900 )
...
automerge
2020-05-06 09:07:57 -07:00
Michael Vines
09ae61651a
Eliminate BankForksInfo ( #9887 )
2020-05-06 08:24:59 -07:00
dependabot-preview[bot]
e951f8d0ed
Bump libloading from 0.6.1 to 0.6.2 ( #9895 )
...
* Bump libloading from 0.6.1 to 0.6.2
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/nagisa/rust_libloading/releases )
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.6.1...0.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-06 08:19:39 -07:00
Michael Vines
e078ba1dde
Display transaction fee in SOL ( #9892 )
...
automerge
2020-05-05 22:10:41 -07:00
Michael Vines
16ddd001f6
Gossip no longer pushes/pulls from nodes with a different shred version ( #9868 )
2020-05-05 20:15:19 -07:00
Michael Vines
72312ad615
Avoid holding the entire rooted path while loading bank forks ( #9885 )
2020-05-05 19:45:41 -07:00
carllin
3442f36f8a
Repair alternate versions of dead slots ( #9805 )
...
Co-authored-by: Carl <carl@solana.com >
2020-05-05 14:07:21 -07:00
Tyera Eulberg
b2672fd623
Cli: add cluster-date subcommand, and make block-time slot optional ( #9878 )
...
* Add CliBlockTime struct
* Add cli cluster-date subcommand
* Make slot param optional; also jsonify
* Make prints prettier
2020-05-05 09:42:03 -06:00
jon-chuang
16af67d5e1
Focus bench on squash and fix log errors ( #9759 )
...
* Focus bench on squash
Squash performance does not depend on adding a small number accounts. It mainly depends on total number of accounts that need to be hashed during freeze operation. New bank means a clone of accounts db, so we don't get previous errors in log.
* Fix fmt and add slot counter
2020-05-05 08:33:41 -07:00
Tyera Eulberg
627bc7e3a9
Rpc: Filter blockstore data by cluster-confirmed root ( #9873 )
...
automerge
2020-05-04 18:39:27 -07:00
Tyera Eulberg
f5b0d13f08
Rpc: add getLargestAccounts endpoint ( #9869 )
...
automerge
2020-05-04 16:46:10 -07:00
Kristofer Peterson
3aedb81d48
Avoid panic caused by converting non-positive / non-normal floating points values to duration ( #9867 )
2020-05-04 13:08:27 -07:00
Greg Fitzgerald
f8ad3aca25
Speed up setting lockups ( #9849 )
...
* De-dup sending messages
* Add --no-wait option for setting lockups
* Don't set lockups that are already set
* Extend adjacent lockups
2020-05-04 13:05:04 -06:00
Jack May
a8394317c7
Wait for at least one confirmation when uploading program data ( #9850 )
...
automerge
2020-05-02 20:11:50 -07:00
Michael Vines
ffbbdd46e8
Add clap.rs default for --commitment ( #9859 )
2020-05-02 13:06:35 -07:00
sakridge
f37f83fd12
Fuzzer test and fixes ( #9853 )
2020-05-02 08:07:52 -07:00
Michael Vines
de04563f18
Watchtower can now emit a notifiation on all non-vote transactions ( #9845 )
2020-05-01 17:48:22 -07:00
sakridge
894549f002
Put empty accounts in the accounts list on load ( #9840 )
...
Indexing into accounts array does not match account_keys otherwise.
Also enforce program accounts not at index 0
Enforce at least 1 Read-write signing fee-payer account.
2020-05-01 17:23:33 -07:00
Jack May
fc46a0d441
Reenable move lock files ( #9844 )
...
automerge
2020-05-01 17:12:51 -07:00
Jack May
6eb50450ec
Reenable move ( #9841 )
...
automerge
2020-05-01 12:51:29 -07:00
Michael Vines
79a6b4b596
Add delay to keep RPC traffic down on error
2020-05-01 10:32:46 -07:00
Tyera Eulberg
db8011f4f3
Enable multiple lockup fields to be set at once ( #9831 )
...
automerge
2020-04-30 22:17:23 -07:00
Michael Vines
8dfe0affd4
Add incinerator sysvar ( #9815 )
2020-04-30 22:04:08 -07:00
Greg Fitzgerald
450f1d2867
Add set-lockup to solana-stake-accounts ( #9827 )
...
* Add a command to set lockups or authorize a new custodian on derived stake accounts
* Thanks clippy
2020-04-30 17:56:37 -06:00
Jack May
7678af6300
Cleanup BPF helper symbols ( #9804 )
2020-04-30 11:29:11 -07:00
Greg Fitzgerald
217931479b
Bump Ledger Beta app version ( #9822 )
...
automerge
2020-04-30 11:15:09 -07:00
Leopold Schabel
e5bad7594f
Clarify Ledger security implications ( #9820 )
...
* Clarify Ledger security implications
* Remove trailing whitespace
2020-04-30 12:14:51 -06:00
Jack May
de9d8cd849
Rename BPF helper to syscall ( #9819 )
...
automerge
2020-04-30 01:43:11 -07:00
Tyera Eulberg
6deaf649ef
Add commitment Root variant, and add fleshed out --commitment arg to Cli ( #9806 )
...
automerge
2020-04-29 21:55:33 -07:00
Ryo Onodera
a91236012d
Pass around --max-genesis-archive-unpacked-size ( #9161 )
...
automerge
2020-04-29 18:53:34 -07:00
anatoly yakovenko
a0514eb2ae
thiserror, docs, remove general Failure case ( #9741 )
...
automerge
2020-04-29 18:12:51 -07:00
Michael Vines
230df0ec0c
Upgrade to Rust 1.43.0 ( #9754 )
2020-04-29 18:02:05 -07:00
Tyera Eulberg
2f08b12753
Rpc Client: Prevent error out on get_num_blocks_since_signature_confirmation ( #9792 )
...
automerge
2020-04-29 13:12:38 -07:00
Tyera Eulberg
efb4988d10
Rpc: remove unwraps ( #9793 )
...
automerge
2020-04-29 12:06:09 -07:00
Michael Vines
6ed29b3653
Don't divide by zero
2020-04-29 11:04:52 -07:00
Jack May
1018807db9
Bump Rust-BPF version to be interoperable with latest Rust ( #9783 )
...
automerge
2020-04-28 23:47:59 -07:00
Michael Vines
0954ea19e8
catchup now estimates the time remaining ( #9782 )
...
automerge
2020-04-28 22:32:12 -07:00
Jack May
b26c07b788
Fix BPF tool caching ( #9781 )
...
automerge
2020-04-28 21:06:04 -07:00
Stephen Akridge
eb24f3df84
Update dalek version
2020-04-28 21:02:47 -06:00
Trent Nelson
3d40ca86b0
Disable Move/Libra components
2020-04-28 21:02:47 -06:00
Jack May
d836dfff14
Fix bpf unit test linkage ( #9780 )
...
automerge
2020-04-28 19:41:08 -07:00
Jack May
a4fe11fad2
Remove old logging enabler artifacts ( #9777 )
...
automerge
2020-04-28 15:56:51 -07:00
Tyera Eulberg
9d91cca73c
Remove commented code
2020-04-28 15:47:41 -06:00
Tyera Eulberg
0a16d09e1f
typo ( #9776 )
...
automerge
2020-04-28 14:40:10 -07:00
Jack May
068f12fd6f
Add Cross-program invocations ( #9582 )
2020-04-28 14:33:56 -07:00
Michael Vines
063f616a19
Don't --use-move
2020-04-28 12:47:31 -07:00
Michael Vines
87827b2330
Reorder steps by relative priority for when there aren't enough agents
2020-04-28 12:44:55 -07:00
Michael Vines
f5aaf7ff28
Disable move more
2020-04-28 12:39:36 -07:00
Michael Vines
6e42989309
Report duration of last alarm in the All Clear message ( #9766 )
...
automerge
2020-04-28 10:48:16 -07:00
Michael Vines
d67ad70443
Revert "Bump console from 0.10.1 to 0.11.2 ( #9763 )"
...
This reverts commit 2de999fb61 .
2020-04-28 10:43:18 -07:00
Tyera Eulberg
655e3bc418
Rpc: Use cluster largest_confirmed_root as commitment max ( #9750 )
...
automerge
2020-04-28 10:20:43 -07:00
dependabot-preview[bot]
659e87703b
Bump generic-array from 0.13.2 to 0.14.1 ( #9446 )
...
* Bump generic-array from 0.13.2 to 0.14.1
Bumps [generic-array](https://github.com/fizyk20/generic-array ) from 0.13.2 to 0.14.1.
- [Release notes](https://github.com/fizyk20/generic-array/releases )
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fizyk20/generic-array/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
* Optional generic-array
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Jack May <jack@solana.com >
2020-04-28 09:43:48 -07:00
dependabot-preview[bot]
2de999fb61
Bump console from 0.10.1 to 0.11.2 ( #9763 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.10.1 to 0.11.2.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.10.1...0.11.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 09:36:07 -07:00
Tyera Eulberg
a12428a5b8
Use Blockstore lowest_slot to start root iterator ( #9738 )
2020-04-28 10:22:10 -06:00
Ryo Onodera
3d8fc8a4a8
Enable cargo audit for all Cargo.lock ( #9751 )
...
* Enable cargo audit for all Cargo.lock
* Update http from 0.1.19 to 0.1.21
* Update bumpalo from 3.2.0 to 3.2.1
2020-04-28 17:43:47 +09:00
Ryo Onodera
ef7196cec2
Relax update preciseness ( #9758 )
...
automerge
2020-04-28 01:40:25 -07:00
Michael Vines
a61904b2dc
Set HOME correctly ( #9757 )
...
automerge
2020-04-28 01:18:52 -07:00
sakridge
aac580686f
fix test compilation from add_static_program change ( #9755 )
2020-04-27 23:37:08 -07:00
Jack May
efad193180
Make default programs static ( #9717 )
2020-04-27 21:05:12 -07:00
anatoly yakovenko
193dbb1794
sanitize lowest slots ( #9747 )
2020-04-27 20:22:30 -07:00
Michael Vines
c11abf88b7
Clean up use to keep rust 1.43.0 from complaining ( #9740 )
2020-04-27 16:54:11 -07:00
Trent Nelson
2f705b5b55
Docs: Fix linkcheck errors ( #9743 )
...
automerge
2020-04-27 14:51:53 -07:00
Michael Vines
839ff51b9a
Fix build
2020-04-27 12:26:23 -07:00
anatoly yakovenko
8ef097bf6f
Input values are not sanitized after they are deserialized, making it far too easy for Leo to earn SOL ( #9706 )
...
* sanitize gossip protocol messages
* sanitize transactions
* crds protocol sanitize
2020-04-27 11:06:00 -07:00
dependabot-preview[bot]
c372a39dd3
Bump dialoguer from 0.5.0 to 0.5.1 ( #9725 )
...
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/0.5.0...0.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 09:57:13 -07:00
dependabot-preview[bot]
c5a7df9221
Bump console from 0.10.0 to 0.10.1 ( #9726 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.10.0...0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 09:16:24 -06:00
Justin Starry
f71a23a72a
Fix broken doc link to anatomy of transaction ( #9728 )
...
automerge
2020-04-27 00:58:27 -07:00
Ryo Onodera
41eba7d1c7
Strictly match against package names ( #9727 )
...
automerge
2020-04-26 20:56:00 -07:00
Ryo Onodera
9918539229
Introduce type alias Ancestors ( #9699 )
...
* Introduce type alias AncestorList
* Rename AncestorList => Ancestors
2020-04-27 11:07:03 +09:00
sakridge
e907c0e650
Filter program ids to store ( #9721 )
...
automerge
2020-04-26 00:11:37 -07:00
Jack May
d3e3f51330
Ignore log tests due to concurrency conflicts ( #9719 )
2020-04-25 22:38:59 -07:00
Michael Vines
c9d6c39c31
Fix up test
2020-04-25 09:33:44 -07:00
Ryo Onodera
05acd4b29f
Cargo check all targets ( #9718 )
...
automerge
2020-04-25 05:14:37 -07:00
Tyera Eulberg
a7f33b5014
Cache banks in BankForks until optional largest_confirmed_root ( #9678 )
...
automerge
2020-04-24 15:49:57 -07:00
dependabot-preview[bot]
d7f37a703e
Bump jsonrpc-derive from 14.0.5 to 14.1.0 ( #9702 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-derive-v14.0.5...v14.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-24 15:24:18 -07:00
dependabot-preview[bot]
c92f95e0b8
Bump jsonrpc-ws-server from 14.0.6 to 14.1.0 ( #9701 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.6 to 14.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/ipc-14.0.6...v14.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-24 15:24:07 -07:00
sakridge
fa20963b93
Revert shred fs ( #9712 )
...
* Revert "Untar is called for shred archives that do not exist. (#9565 )"
This reverts commit 729cb5eec6 .
* Revert "Dont insert shred payload into rocksdb (#9366 )"
This reverts commit 5ed39de8c5 .
2020-04-24 15:04:23 -07:00
Michael Vines
50f1ec0374
Add support for log rotation, sending SIGUSR1 will cause the log file to be re-opened ( #9713 )
2020-04-24 14:26:53 -07:00
Greg Fitzgerald
76b1c2baf0
One less alloc per transaction ( #9705 )
...
* One less alloc per transaction
* Fix benches
* Fix compiler warnings in bench build
* Fix move build
* Fix bench
2020-04-24 13:03:46 -06:00
Leopold Schabel
767a0f9384
Fix comment in serve_repair ( #9703 )
...
automerge
2020-04-24 10:00:23 -07:00
Ryo Onodera
d44e0b7cd8
Support ad-hoc genesis args in run.sh ( #9697 )
...
automerge
2020-04-23 22:48:53 -07:00
Michael Vines
3670d3fd7a
Add missing slash
2020-04-23 21:37:25 -07:00
Michael Vines
cb2efd530f
Update testnet expected shred version
2020-04-23 20:36:52 -07:00
sakridge
79829c98db
Fix vote listener passing bad transactions ( #9694 )
2020-04-23 17:04:09 -07:00
dependabot-preview[bot]
d2cef8ed9b
Bump num_cpus from 1.12.0 to 1.13.0 ( #9682 )
...
* Bump num_cpus from 1.12.0 to 1.13.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.12.0...v1.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-04-23 13:08:06 -07:00
dependabot-preview[bot]
17a8b0f783
Bump jsonrpc-core-client from 14.0.5 to 14.1.0 ( #9683 )
...
Bumps [jsonrpc-core-client](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-core-client-v14.0.5...v14.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 13:07:50 -07:00
Michael Vines
3acfe42622
Exit cleanly on panic! so the process don't limp along in a half-dead state ( #9690 )
2020-04-23 12:05:13 -07:00
Michael Vines
d1cbccd9ba
solana-dos can now DoS gossip nodes ( #9652 )
...
automerge
2020-04-23 11:46:12 -07:00
sakridge
504160b11f
Update to rocksdb 0.14 and set max wal size ( #9668 )
2020-04-23 08:38:09 -07:00
Ryo Onodera
b21fd27360
Sync all Cargo.locks with num_cpus:1.12.0 ( #9685 )
...
automerge
2020-04-23 05:13:46 -07:00
Michael Vines
8df79a3559
Remove stray 'v' ( #9679 )
2020-04-22 23:26:37 -07:00
sakridge
ecb343c23b
reduce errors ( #9669 )
...
Co-authored-by: Anatoly Yakovenko <anatoly@solana.com >
2020-04-22 19:46:06 -07:00
Greg Fitzgerald
7e48e5859d
Delete dead code ( #9670 )
...
automerge
2020-04-22 18:17:23 -07:00
Dan Albert
57a25de910
Remove validator-info publish from net scripts ( #9673 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-04-22 18:04:22 -06:00
Dan Albert
24354ccd6a
Clean up wallet URL paths ( #9667 )
...
automerge
2020-04-22 16:48:21 -07:00
Greg Fitzgerald
71f7a7243b
Add custodian option to withdraw-stake command ( #9662 )
...
automerge
2020-04-22 15:00:18 -07:00
Jack May
17e7667da4
Serialize test ( #9655 )
2020-04-22 14:53:06 -07:00
Tyera Eulberg
5d2f488004
Add getLowestNonpurgedBlock rpc; use blockstore api in getConfirmedBlocks ( #9656 )
...
automerge
2020-04-22 13:33:06 -07:00
Dan Albert
ab4bdd59db
Extend snapshot interval in multinode demo ( #9657 )
...
automerge
2020-04-22 12:25:15 -07:00
Tyera Eulberg
d5abff82e0
Add largest_confirmed_root to BlockCommitmentCache ( #9640 )
...
* Add largest_confirmed_root to BlockCommitmentCache
* clippy
* Add blockstore to BlockCommitmentCache to check root
* Add rooted_stake helper fn and test
* Nodes that are behind should correctly id confirmed roots
* Simplify rooted_stake collector
2020-04-22 12:22:09 -06:00
Dan Albert
611d2fa75d
Add single region TPS report testcases ( #9609 )
...
automerge
2020-04-22 11:05:05 -07:00
Jack May
89b30b4853
Ignore test_helper_sol_log due to solana_logger concurency issue ( #9654 )
2020-04-22 10:03:41 -07:00
Michael Vines
9b71573965
Align ci/publish-docs and ci/test-checks doc builds ( #9653 )
...
* Align ci/publish-docs and ci/test-checks doc builds
* Fix links
2020-04-22 09:51:01 -07:00
Greg Fitzgerald
77c3a1f372
Don't attempt to rebase or move empty accounts ( #9651 )
...
automerge
2020-04-22 09:45:44 -07:00
dependabot-preview[bot]
08e73e5366
Bump jsonrpc-http-server from 14.0.6 to 14.1.0 ( #9628 )
...
automerge
2020-04-22 09:21:05 -07:00
sakridge
2e8349196e
Custom epochslots debug ( #9647 )
2020-04-22 08:55:08 -07:00
dependabot-preview[bot]
2a935ec15f
Bump jsonrpc-pubsub from 14.0.6 to 14.1.0 ( #9649 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.6 to 14.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/ipc-14.0.6...v14.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 07:49:35 -07:00
Ryo Onodera
7bf1720a76
Handle no hit correctly... ( #9648 )
...
automerge
2020-04-22 01:23:33 -07:00
Greg Fitzgerald
ba58589656
Relax setting withdraw authority during lockup ( #9644 )
...
automerge
2020-04-21 21:05:49 -07:00
Michael Vines
5b8d963ee2
Clean up TdS/validator docs ( #9638 )
2020-04-21 16:59:09 -07:00
Michael Vines
45ff1f2379
dos: Tidy up clap argument handling, and adapt to newer solana-dos arguments ( #9633 )
...
* Tidy up clap argument handling
* Adapt to newer solana-dos arguments
2020-04-21 16:58:30 -07:00
Greg Fitzgerald
0d24e758b2
Add docs for installing the beta Ledger app ( #9641 )
2020-04-21 17:36:37 -06:00
Greg Fitzgerald
cbc7b3b0b7
Cleanup CLI help message ( #9632 )
...
automerge
2020-04-21 16:09:34 -07:00
carllin
111a86f3ec
Added no superminority and isolated node test cases ( #9306 )
...
Co-authored-by: Carl <carl@solana.com >
2020-04-21 15:35:48 -07:00
carllin
bab3502260
Push down cluster_info lock ( #9594 )
...
* Push down cluster_info lock
* Rework budget decrement
Co-authored-by: Carl <carl@solana.com >
2020-04-21 12:54:45 -07:00
Michael Vines
ad186b8652
Flag test_tvu_exit as serial to hopefully reduce CI flakiness ( #9509 )
2020-04-21 12:54:16 -07:00
Justin Starry
3023691487
RPC: Allow single slot address history queries ( #9630 )
2020-04-22 01:08:06 +08:00
Justin Starry
92afe9020f
Document potential null responses in RPC API docs ( #9629 )
2020-04-22 01:07:57 +08:00
dependabot-buildkite
7d6cdf83dc
[auto-commit] Update all Cargo lock files
2020-04-21 08:07:00 -07:00
dependabot-preview[bot]
64e5684d45
Bump bs58 from 0.3.0 to 0.3.1
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-21 08:07:00 -07:00
Jack May
4d97d3bdb1
Cleanup move ( #9622 )
...
automerge
2020-04-20 23:37:54 -07:00
Tyera Eulberg
18cba86f77
Wait for supermajority of cluster to have rooted a transaction to consider it finalized ( #9618 )
...
* Add rooted stake to BlockCommitment
* Use rooted stake to include cluster check
2020-04-20 23:25:49 -06:00
Michael Vines
914b022663
cli: Add transaction-history ( #9614 )
...
automerge
2020-04-20 22:01:09 -07:00
Jack May
6e908a1be8
Nit: More informative error message ( #9616 )
2020-04-20 21:35:22 -07:00
Ryo Onodera
5402434218
Explicitly specificy old version for cargo update ( #9621 )
2020-04-21 12:44:04 +09:00
Ryo Onodera
6793c10860
Update Cargo.lock files ( #9619 )
2020-04-21 10:49:06 +09:00
Ryo Onodera
c856d8bdbd
Backpropagate Cargo.lock updates to all lock files ( #9180 )
...
* Experiment to backpropagate Cargo.lock updates to all lock files
* Move most of dependabot-specific code to its own file
* Various cleanups
* Fine tune..
* Clean up shells and stop obscure API...
2020-04-21 10:07:29 +09:00
Greg Fitzgerald
a6ad660e5e
Merge stake::withdraw instructions ( #9617 )
2020-04-20 18:16:50 -06:00
Jack May
b1a0abc7a6
Bump libloading to v0.6.1 ( #9615 )
...
automerge
2020-04-20 16:46:06 -07:00
Dan Albert
3fbe7f0bb3
Fixup scripts to set up a new CI node ( #9348 )
...
* Clean up node setup scripts for new CI boxes
* Move files under ci directory
* Set CUDA env var to setup cuda drivers
* Fixup and add README
* shellcheck
* Apply review feedback, rename dir and setup files
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-04-20 17:43:13 -06:00
Tyera Eulberg
41fec5bd5b
Handle outdated and current ledger-solana-apps ( #9605 )
...
* Add version check, handling for outdated+current ledger-solana-apps
* Add derivation-path prefix
2020-04-20 14:57:37 -06:00
Michael Vines
44cced3ffc
Add decode-transaction
2020-04-20 12:14:30 -07:00
Dan Albert
498d025bd3
Update solana-user-authorized_keys.sh
2020-04-20 09:52:33 -06:00
Anatoly Yakovenko
8a69ea971f
test
2020-04-20 08:44:39 -07:00
dependabot-preview[bot]
b1ca74ed30
Bump regex from 1.3.6 to 1.3.7
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.6...regex-1.3.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-20 08:02:22 -07:00
Dan Albert
6d941c82fd
Update solana-user-authorized_keys.sh
2020-04-20 07:55:16 -06:00
anatoly yakovenko
77fb4230d6
Calculate distance between u64 without overflow ( #9592 )
...
* fix overflow
* fixed num_live_peers overflow
2020-04-19 23:05:26 -07:00
sakridge
a5419fe79e
Error for invalid shred. ( #9588 )
2020-04-19 21:15:09 -07:00
carllin
1607891b29
log proper slot ( #9576 )
...
Co-authored-by: Carl <carl@solana.com >
2020-04-19 14:24:45 -07:00
Michael Vines
75b25e33f6
Adjust dashboard time range
2020-04-19 09:24:42 -07:00
Jack May
d08517db8c
Nit picks ( #9580 )
2020-04-18 22:39:08 -07:00
sakridge
65a9658b13
Budget for gossip traffic ( #9550 )
2020-04-18 22:11:17 -07:00
sakridge
3205361163
Fix local-cluster test - archiver should wait for itself + 1 validator ( #9577 )
2020-04-18 20:00:02 -07:00
Jack May
58887c591b
Add and update tests ( #9566 )
2020-04-18 17:04:13 -07:00
anatoly yakovenko
657fbfbefa
Proposal for deterministic program generated Pubkey's that can be used only by programs to create signatures in process_instruction. ( #8155 )
...
* program keys
* cleanup
* update
* missing SUMMARY
* review comments
* fixed @jackmay comment
* update to take a user base address
* rename
2020-04-18 16:51:20 -07:00
Jack May
36bf7ad694
Update link
2020-04-18 15:11:55 -07:00
Tyera Eulberg
679e7863cb
Tame wallet manager better ( #9567 )
...
automerge
2020-04-18 11:54:21 -07:00
Michael Vines
a7aa7e172b
validator: Consider the activated stake of this node to be online again ( #9573 )
...
automerge
2020-04-18 10:16:19 -07:00
anatoly yakovenko
729cb5eec6
Untar is called for shred archives that do not exist. ( #9565 )
...
automerge
2020-04-18 08:34:55 -07:00
Tyera Eulberg
addbdcb660
Remove wait_for_majority
2020-04-18 08:23:00 -07:00
Michael Vines
f142451a33
Reduce metrics log output
2020-04-17 23:38:14 -07:00
Michael Vines
124287a0ea
Add ramp-tps
2020-04-17 22:29:35 -07:00
Michael Vines
9da366c193
Remove old stuff
2020-04-17 20:38:29 -07:00
dependabot-preview[bot]
cb0a1a94a7
Bump jsonrpc-core from 14.0.5 to 14.1.0
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-17 20:06:15 -07:00
Michael Vines
dbaebe101c
Clean up metrics dashboard
2020-04-17 18:08:59 -07:00
Michael Vines
8509dcb8a0
Report offline/wrong-shred nodes while waiting for a super majority in gossip
2020-04-17 13:32:19 -07:00
Michael Vines
7b5cdf6adf
Reduce ReceiveUpdates log spam
2020-04-17 13:32:19 -07:00
Michael Vines
7207a91aa5
confirm --verbose now displays failed transactions
2020-04-17 13:17:38 -07:00
Michael Vines
55ed52a71d
Increase the number of JSON RPC service threads ( #9551 )
...
automerge
2020-04-17 12:37:33 -07:00
Vadim Grozinok
cd4927053e
Format code
2020-04-17 11:39:03 -07:00
Vadim Grozinok
982e6c4916
Add after_help to watchtower --help command
2020-04-17 11:39:03 -07:00
Michael Vines
b58338b066
Make rpc_subscriptions.rs tests serial ( #9556 )
...
automerge
2020-04-17 10:48:39 -07:00
Tyera Eulberg
a9c38fb0df
Consider config in check_for_usb ( #9555 )
2020-04-17 11:37:13 -06:00
Ryo Onodera
9bba27a3aa
Update outdated lock files... ( #9554 )
2020-04-17 23:57:25 +09:00
sakridge
e655cba5bd
Make rpc tests serial ( #9537 )
2020-04-16 22:02:55 -07:00
carllin
bcfd379f32
Simplify EpochSlots update ( #9545 )
...
Co-authored-by: Carl <carl@solana.com >
2020-04-16 19:32:19 -07:00
Michael Vines
47ae57610a
Only build x86_64-unknown-linux-gnu on docs.rs
2020-04-16 19:06:17 -07:00
anatoly yakovenko
5ed39de8c5
Dont insert shred payload into rocksdb ( #9366 )
...
automerge
2020-04-16 18:20:55 -07:00
sakridge
66abe45ea1
Decouple accounts hash calculation from snapshot hash ( #9507 )
2020-04-16 15:12:20 -07:00
Michael Vines
425b4fe6dd
Don't upload tarballs to buildkite to speed up build
2020-04-16 13:54:36 -07:00
Stephen Akridge
93669ab1fc
Write wallet key to explicit file
2020-04-16 13:34:19 -07:00
Michael Vines
16b2d41dd6
Improve error message on solana-keygen new filesystem permission errors
2020-04-16 10:28:49 -07:00
Stephen Akridge
30b3862770
Don't unwrap on session new
2020-04-16 08:25:45 -07:00
Michael Vines
7e7cbec8a1
Passing -v/--verbose to solana confirm now displays the full transaction
2020-04-16 08:19:30 -07:00
Michael Vines
4ac15e68cf
Default to RUST_BACKTRACE=1 for more informative validator logs
2020-04-15 22:37:22 -07:00
Michael Vines
a7ed33b552
Pacify shellcheck
2020-04-15 17:46:19 -07:00
Michael Vines
9cc7265b05
Always run shellcheck
2020-04-15 17:46:19 -07:00
Michael Vines
d567799d43
Use $rust_stable
2020-04-15 17:15:14 -07:00
Tyera Eulberg
530c542002
Rpc: Speed up getBlockTime ( #9510 )
...
* Add get-block-time metrics
* Add datapoints to blockstore rpc apis
* Tune timestamp_slot_range
* Refactor get_timestamp_slots
* Cargo.lock
2020-04-15 18:09:14 -06:00
carllin
7aa4d401f7
Fix broadcast metrics ( #9461 )
...
* Rework broadcast metrics to support multiple threads
* Update dashboards
Co-authored-by: Carl <carl@solana.com >
2020-04-15 15:22:16 -07:00
sakridge
a8b8c2f438
Move slow compaction test to integration ( #9506 )
2020-04-15 11:54:03 -07:00
Jack May
241a05fc52
Add native loader entry points ( #9486 )
2020-04-15 09:41:29 -07:00
Michael Vines
40737e9efa
Add health check URI
2020-04-15 09:06:24 -07:00
sakridge
217828a849
Reduce accounts_db prints ( #9469 )
2020-04-15 09:05:54 -07:00
sakridge
69f1e487b3
Reduce cluster-info metrics. ( #9465 )
2020-04-14 21:21:58 -07:00
sakridge
2b2b2cac1f
limit test jobs to 16 to prevent OOM ( #9500 )
2020-04-14 16:40:13 -07:00
sakridge
ee72714c08
Fix race in multi_bind_in_range ( #9493 )
2020-04-14 13:34:41 -07:00
Michael Vines
83a96c557d
Ensure --dynamic-port-range is wide enough
2020-04-14 12:21:05 -07:00
Michael Vines
892e425d87
Improve sys-tuner error message
2020-04-14 12:21:05 -07:00
Tyera Eulberg
5298e3872c
Cli: enable json output ( #9478 )
...
automerge
2020-04-14 12:10:25 -07:00
Ryo Onodera
c77ed82caa
Use same max_age regardless of leader/not-leader ( #9423 )
...
automerge
2020-04-14 00:34:41 -07:00
Ryo Onodera
2d0224b64e
Switch reed-solomon-erasure from vendored to upstream ( #9483 )
2020-04-14 14:33:21 +09:00
Tyera Eulberg
68b099c277
Print signature as part of progress spinner ( #9484 )
...
automerge
2020-04-13 22:04:20 -07:00
Michael Vines
283f3ff620
Fail coverage faster in CI
2020-04-13 21:10:09 -07:00
carllin
9a95257c40
Optimistic Confirmation Proposal ( #9157 )
...
* Add summary of one block conf
Co-authored-by: Carl <carl@solana.com >
2020-04-13 19:50:05 -07:00
Michael Vines
bcfadd6085
Assume json_rpc_url can be upgrade to a websocket if no port is supplied
2020-04-13 19:42:13 -07:00
Michael Vines
d4ea1ec6ad
Unfold coverage test failures
2020-04-13 18:07:06 -07:00
dependabot-preview[bot]
a0f0e199b7
Bump libc from 0.2.68 to 0.2.69
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.68 to 0.2.69.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.68...0.2.69 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-13 17:30:02 -07:00
Michael Vines
5a0c2a0c1d
Rename UpdateNode to UpdateValidatorIdentity
2020-04-13 17:25:39 -07:00
Michael Vines
ce027da236
Reorder CI jobs to allow for more concurrent PRs
2020-04-13 12:57:10 -07:00
Michael Vines
37b048effb
Improve address in use error message for RPC pubsub
2020-04-13 12:13:37 -07:00
Dan Albert
92a5a51632
Update buildkite-tests.yml
2020-04-13 10:58:29 -07:00
dependabot-preview[bot]
230f014b9e
Bump thiserror from 1.0.14 to 1.0.15
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.14...1.0.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-13 09:13:04 -07:00
Michael Vines
3f33f4d3a9
Sort the output of solana validators by active stake ( #9459 )
...
automerge
2020-04-12 17:39:02 -07:00
dependabot-preview[bot]
47fc0a5cfa
Bump parking_lot from 0.10.0 to 0.10.2
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.10.0...0.10.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-12 12:42:38 -07:00
Michael Vines
c86b0d8a85
Remove "Credits Observed:" field from solana stake-account output
2020-04-12 12:42:18 -07:00
Michael Vines
8cda974552
Fix flaky new_archiver_external_ip_test ( #9457 )
...
automerge
2020-04-12 11:49:34 -07:00
Michael Vines
3f1399cb0d
accounts subcommand now prints account balances in SOL instead of lamports
2020-04-12 10:09:59 -07:00
sakridge
99655206c8
Calculate account refs fix ( #9447 )
2020-04-11 12:52:10 -07:00
carllin
3037eb8d4f
Remove slot field, add test ( #9444 )
...
Co-authored-by: Carl <carl@solana.com >
2020-04-10 23:52:37 -07:00
Greg Fitzgerald
31ebdbc77f
Don't subject authorizing a new stake authority to lockup ( #9434 )
2020-04-10 17:21:24 -06:00
Jack May
6e1ce5ab6c
Safer cargo command ( #9437 )
2020-04-10 15:44:24 -07:00
carllin
aa8dfac313
Simplify vote simulation ( #9435 )
...
Co-authored-by: Carl <carl@solana.com >
2020-04-10 15:16:12 -07:00
Dan Albert
c6da2ab0de
Fix automation stake parser ( #9403 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-04-10 15:42:38 -06:00
dependabot-preview[bot]
f0291dc5d3
Bump users from 0.9.1 to 0.10.0 ( #9343 )
...
automerge
2020-04-10 12:47:21 -07:00
dependabot-preview[bot]
994f8c325a
Bump cbindgen from 0.14.0 to 0.14.1
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.14.0...v0.14.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-10 11:54:12 -07:00
sakridge
ae5a6419d4
ReceiveUpdates spams the log, adjust the threshold higher ( #9429 )
2020-04-10 10:21:46 -07:00
Michael Vines
85feca305b
Avoid port conflict in new_with_external_ip_test_gossip
2020-04-09 20:27:54 -07:00
Michael Vines
7b71a331c6
clippy
2020-04-09 20:27:54 -07:00
Michael Vines
032127b591
Search for ports sequentially instead of at random for more predictable port selection
2020-04-09 20:27:54 -07:00
Tyera Eulberg
91159ea8e3
Rpc: Add getConfirmedSignaturesForAddress ( #9407 )
...
automerge
2020-04-09 20:21:31 -07:00
Michael Vines
d5a9ee97f2
Add --allow-dead-slots argument to slot/print/json commands ( #9408 )
...
automerge
2020-04-09 20:10:51 -07:00
sakridge
900933bbcc
Reduce rpc test code ( #9413 )
...
automerge
2020-04-09 18:05:56 -07:00
Michael Vines
aeddd8c95a
Use consistent vote account filename ( #9414 )
...
automerge
2020-04-09 17:53:56 -07:00
sakridge
be77bdef12
Allow lower shred count ( #9410 )
2020-04-09 16:36:44 -07:00
Michael Vines
f3afe5c99c
Remove dead code ( #9404 )
...
automerge
2020-04-09 13:09:59 -07:00
Michael Vines
aab9d9229c
Cargo.lock
2020-04-09 12:28:59 -07:00
Raj Gokal
a714b8052d
Update README.md
2020-04-09 11:06:09 -07:00
Raj Gokal
e873c93be3
Update README.md
2020-04-09 10:58:42 -07:00
Raj Gokal
cb5c337540
Update README.md
2020-04-09 10:56:17 -07:00
Raj Gokal
4d14372d5e
Update README.md
2020-04-09 10:56:01 -07:00
Raj Gokal
4b8d1abb5d
Update README.md
2020-04-09 10:55:00 -07:00
Raj Gokal
d63ada489a
Update README.md
2020-04-09 10:51:16 -07:00
Dan Albert
d4e284b7c5
Remove Trust Wallet Beta install instructions ( #9396 )
...
automerge
2020-04-09 08:48:07 -07:00
carllin
21cb56d808
Fix partition setup ( #9386 )
...
automerge
2020-04-09 01:57:18 -07:00
Tyera Eulberg
e1aa247548
Rpc: Add getConfirmedTransaction ( #9381 )
...
* Add blockstore method to return a complete transaction by signature
* Plumb getConfirmedTransaction rpc
* Add doc
2020-04-09 00:57:30 -06:00
Tyera Eulberg
638108e9d5
Add --no-wait arg to transfer ( #9388 )
...
automerge
2020-04-08 22:46:19 -07:00
Tyera Eulberg
f655b3f0fd
Fix lowest_cleanup_slot check in Blockstore ( #9382 )
...
automerge
2020-04-08 18:47:16 -07:00
Michael Vines
6a2be8b0ca
Moar vm.max_map_count
2020-04-08 18:14:27 -07:00
Jack May
ad0482be73
Revert "Add native loader entry points ( #9275 )" Breaks genesis_config abi ( #9377 )
...
This reverts commit ed86d8d1fc .
2020-04-08 14:36:18 -07:00
carllin
4522e85ac4
Add Metrics/Dashboards tracking block production ( #9342 )
...
* Add metric tracking blocks/dropped blocks
Co-authored-by: Carl <carl@solana.com >
2020-04-08 14:35:24 -07:00
Tyera Eulberg
36e73cada4
Add blockstore address-to-signature index ( #9367 )
...
automerge
2020-04-08 12:50:39 -07:00
Michael Vines
8e5ac1338f
Update baseline version
2020-04-08 12:14:18 -07:00
Ryo Onodera
cb6cf189b4
Improve ledger-tool/accounts for easier debuging ( #9370 )
...
automerge
2020-04-08 10:25:46 -07:00
sakridge
8ed05c27f2
Improve ledger-tool help ( #9365 )
2020-04-07 19:21:31 -07:00
Michael Vines
9883ca8549
Add 1 SOL grace, to allow for a complaint system account to fund a reasonable number of transactions. ( #9359 )
...
automerge
2020-04-07 13:43:43 -07:00
Michael Vines
dc91698b3a
Cache solana-perf.tgz to speed up CI ( #9360 )
...
automerge
2020-04-07 13:13:45 -07:00
Michael Vines
b4e00275b2
Cache downloads to speed up CI
2020-04-06 22:53:19 -07:00
Michael Vines
03978ac5a5
Add support for monitoring system account balances ( #9345 )
...
automerge
2020-04-06 21:41:53 -07:00
Dan Albert
33a68ec9c3
Fix docs ( #9349 )
...
automerge
2020-04-06 20:17:20 -07:00
Dan Albert
c78b658a92
Clean up paper/file system wallet docs ( #9340 )
...
* Add filesystem wallet page
* Move validator paper wallet instructions to validator page
* Remove paper wallet staking section
* Add steps for multiple fs and paper wallets
* Add keypair convention page and better multi-wallet example
2020-04-06 19:32:02 -06:00
Tyera Eulberg
6b988155e1
RpcClient: include signature check in send_transaction, bump send retries in get_num_blocks_since_signature_confirmation ( #9341 )
...
* Bump rpc send retries
* Add signature check to send_transaction and update mocks to test
2020-04-06 19:27:37 -06:00
sakridge
4677cdb4c2
Optimize broadcast cluster_info critical section ( #9327 )
2020-04-06 17:36:22 -07:00
Tyera Eulberg
96c23110ae
Make TestValidator mint_lamports configurable ( #9337 )
...
automerge
2020-04-06 16:20:55 -07:00
Greg Fitzgerald
a4e2ee99d3
Add Rust client proposal ( #9246 )
...
* Add Rust client proposal
* Apply review feedback
2020-04-06 16:38:03 -06:00
Dan Albert
9a9fa5594d
Add instructions for multiple trust wallet addresses ( #9335 )
...
automerge
2020-04-06 15:00:06 -07:00
Greg Fitzgerald
1c73f3e100
Default to mainnet-beta ( #9326 )
2020-04-06 15:47:37 -06:00
Dan Albert
75234e28e5
Update choose cluster docs ( #9328 )
...
automerge
2020-04-06 12:16:32 -07:00
Michael Vines
b20edaca26
Allow v1.0 backports from v1.1
2020-04-06 11:26:39 -07:00
dependabot-preview[bot]
62cb2cd13c
Bump serde_json from 1.0.49 to 1.0.51
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.49 to 1.0.51.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.49...v1.0.51 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-06 08:40:55 -07:00
Michael Vines
bfea3572ea
Fix solana-dos arguments
2020-04-06 08:28:45 -07:00
Tyera Eulberg
acf64f8476
Update getSignatureStatuses to return historical statuses ( #9314 )
...
automerge
2020-04-06 03:04:54 -07:00
Ryo Onodera
b28ec430e4
Introduce background stale AppendVec shrink mechanism ( #9219 )
...
* Introduce background AppendVec shrink mechanism
* Support ledger tool
* Clean up
* save
* save
* Fix CI
* More clean up
* Add tests
* Clean up yet more
* Use account.hash...
* Fix typo....
* Add comment
* Rename accounts_cleanup_service
2020-04-06 17:30:23 +09:00
carllin
7b68628e6c
Remove write lock ( #9311 )
...
* Remove write lock
Co-authored-by: Carl <carl@solana.com >
2020-04-05 15:18:45 -07:00
Justin Starry
b584174d67
Deprecate confirmTransaction, getSignatureStatus, and getSignatureConfirmation ( #9298 )
...
* Deprecate `confirmTransaction`, `getSignatureStatus`, etc
* Rename get_signature_statuses to get_signature_statuses_with_commitment
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-04-05 14:31:24 +08:00
Tyera Eulberg
49e2cc6593
Rework TransactionStatus index in blockstore ( #9281 )
...
automerge
2020-04-04 20:24:06 -07:00
Michael Vines
36ab7e0600
Remove h
2020-04-04 16:18:25 -07:00
Michael Vines
ad0997e15f
RPC: add err field to TransactionStatus, alongside the now deprecated status field ( #9296 )
...
automerge
2020-04-04 16:13:26 -07:00
dependabot-preview[bot]
8cdf406dd3
Bump serde from 1.0.105 to 1.0.106
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.105...v1.0.106 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-04 15:13:52 -07:00
dependabot-preview[bot]
2d618722e6
Bump cbindgen from 0.13.2 to 0.14.0
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.13.2...v0.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-04 15:13:43 -07:00
sakridge
c0afbae940
Reduce bench-tps funding printing ( #9290 )
2020-04-04 08:21:28 -07:00
Jack May
ed86d8d1fc
Add native loader entry points ( #9275 )
2020-04-03 17:40:59 -07:00
Michael Vines
c1441a2a8f
Advance if no blocks are available in the given range
2020-04-03 14:59:04 -07:00
Michael Vines
b557b3170e
Add log before opening database
2020-04-03 14:55:06 -07:00
sakridge
9493de4443
Add snapshot compression option ( #9276 )
2020-04-03 13:13:49 -07:00
Dan Albert
175ffd9054
Update set-solana-release-tag.sh
2020-04-03 11:21:34 -06:00
Michael Vines
66c78cb819
Apply suggestions from code review
2020-04-03 09:58:40 -07:00
Michael Vines
962e41f9ca
vote-authorize-voter no longer fails if the current authorized voter is not the fee payer
2020-04-03 09:58:40 -07:00
Dan Albert
fd5f8a8046
Fix sed command for mac and linux ( #9286 )
2020-04-03 10:42:33 -06:00
Jack May
d61191db40
fix bench warnings ( #9277 )
2020-04-02 21:56:38 -07:00
carllin
0139236464
ReplayStage fixes ( #9271 ) ( #9279 )
...
automerge
2020-04-02 21:05:33 -07:00
Michael Vines
c5b2db72a2
Add option to monitor catchup at max commitment
2020-04-02 19:05:33 -07:00
Michael Vines
303a1207c1
Add --follow option to catchup command to allow for easy ongoing monitoring between two nodes
2020-04-02 19:05:33 -07:00
Jack May
1078c86100
Streamer test is linux only, remove warnings on not-linux ( #9274 )
...
automerge
2020-04-02 18:02:49 -07:00
Jack May
c67e9fabc4
Nit: ProgramError cleanup ( #9273 )
...
automerge
2020-04-02 17:46:51 -07:00
Dan Albert
ad98f14fc1
Minor doc fixup
2020-04-02 15:59:49 -06:00
Tyera Eulberg
ec4745d174
Tame overeager wallet manager ( #9262 )
...
* Add helper fn to check for usb cli args
* Use helper fn to prevent wallet_manager connecting unnecessarily
* Review improvements
2020-04-02 15:47:17 -06:00
Dan Albert
0e53939e00
Add windows instructions to CLI install docs ( #9270 )
2020-04-02 15:36:02 -06:00
Dan Albert
8d1cd3ae5c
Set checks timeout back to 20 minutes
2020-04-02 13:10:26 -06:00
Dan Albert
18fe0f0c44
Add instructions for Trust Wallet Beta for Android ( #9261 )
...
automerge
2020-04-02 11:26:22 -07:00
Dan Albert
3b89708653
Add ledger live screenshots and reduce duplicate instructions ( #9258 )
...
automerge
2020-04-02 10:17:40 -07:00
Michael Vines
23bf7b8d63
Add epoch subcommand ( #9249 )
...
automerge
2020-04-01 20:42:28 -07:00
sakridge
a8817fb973
Add some information about what an address can be for CLI commands ( #9233 )
2020-04-01 19:45:37 -07:00
Michael Vines
8b14eb9020
Place AccountsHashes in same enum ordinal position as the v1.0 version ( #9251 )
...
automerge
2020-04-01 18:47:50 -07:00
Tyera Eulberg
25ee36bbba
Undo breaking rpc removal of getSignatureConfirmation ( #9245 )
2020-04-01 17:56:18 -06:00
Dan Albert
19693a85cd
Do not trigger tests if only docs were modified ( #9240 )
2020-04-01 14:18:29 -06:00
Justin Starry
c7ba1994ac
Undo getSignatureStatus breaking change, add getSignatureStatuses ( #9228 )
...
automerge
2020-04-01 11:30:58 -07:00
Jack May
9aab0b9388
More custom error rename ( #9227 )
...
automerge
2020-04-01 11:13:31 -07:00
Greg Fitzgerald
492b7d5ef9
Add fee-payer option to docs ( #9230 )
...
automerge
2020-04-01 10:38:55 -07:00
Dan Albert
352de7929b
Add a support page for wallet docs ( #9229 )
...
automerge
2020-04-01 10:37:52 -07:00
dependabot-preview[bot]
9f5d3f0ee5
Bump socket2 from 0.3.11 to 0.3.12 ( #9222 )
...
Bumps [socket2](https://github.com/alexcrichton/socket2-rs ) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/alexcrichton/socket2-rs/releases )
- [Commits](https://github.com/alexcrichton/socket2-rs/compare/0.3.11...0.3.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-01 09:33:22 -07:00
Dan Albert
691a3c6087
Add single testcase to run entire TPS report ( #9143 )
2020-04-01 10:29:18 -06:00
Jack May
268e04cb4a
Rename CustomError to Custom ( #9207 )
2020-04-01 09:01:11 -07:00
sakridge
7605f1f540
Fix repair dos ( #9056 )
2020-04-01 06:48:35 -07:00
Michael Vines
b543aee24e
Tune udp buffers and vmmap immediately ( #9194 )
2020-03-31 22:53:36 -07:00
sakridge
a74a64084d
Fix error with account hash list getting too big for gossip ( #9197 )
...
Nodes will stop publishing hashes on gossip and also
slow memory leak.
2020-03-31 21:39:48 -07:00
Greg Fitzgerald
743b8cddf9
Clean up solana-stake-accounts ( #9211 )
...
* Resolve pubkey/keypair args in a separate module
* Rename CommandConfig to Args
2020-03-31 21:47:43 -06:00
Jack May
74774dd44f
Add program_error conversions ( #9203 )
2020-03-31 19:56:09 -07:00
Jack May
a8d4b1c90a
Nit: fmt ( #9204 )
...
automerge
2020-03-31 19:19:59 -07:00
Greg Fitzgerald
3a6cdf02e5
Fix solana-stake-accounts rebase/move ( #9199 )
...
automerge
2020-03-31 19:07:00 -07:00
Tyera Eulberg
56667e17c9
Fix panic ( #9195 )
...
automerge
2020-03-31 18:33:46 -07:00
Jack May
1e6b789bfa
Improve BPF Loader reporting ( #9202 )
...
automerge
2020-03-31 18:18:44 -07:00
sakridge
a61ddb6f61
max_ledger_slots -> max_ledger_shreds ( #9198 )
...
automerge
2020-03-31 17:21:19 -07:00
sakridge
62e12e3af5
Remove unecessary exception and add a new one ( #9200 )
2020-03-31 15:58:30 -07:00
Jack May
93be7370d9
Nit: print program error as hex ( #9171 )
2020-03-31 10:08:07 -07:00
Jack May
130c0b484d
Enforce an executable's rent exemption in the runtime ( #9134 )
2020-03-31 10:07:38 -07:00
Greg Fitzgerald
974848310c
Add more Ledger wallet documentation ( #9182 )
...
* Add a note for getting past the 'pending Ledger review' screen
* Add a note about zsh question marks
2020-03-31 10:56:06 -06:00
Dan Albert
49494be653
Fix links ( #9184 )
...
automerge
2020-03-31 09:46:50 -07:00
Michael Vines
0e2722c638
solana-validator now supports multiple --authorized-voter arguments ( #9174 )
...
* Use Epoch type
* Vote account's authorized voter is now supported without a validator restart
2020-03-31 08:23:42 -07:00
carllin
66946a4680
Check ClusterSlots for confirmation of block propagation ( #9115 )
2020-03-30 19:57:11 -07:00
dependabot-preview[bot]
24d887a38a
Bump assert_cmd from 1.0.0 to 1.0.1 ( #9172 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.0...v1.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 20:42:07 -06:00
sakridge
73e99cc513
Ledger cleanup fixes ( #9131 )
...
* Fix purging happening every slot when cleanup service is not started at slot 0
* Purge by shred count instead of slots since slots can have variable
number of shreds
2020-03-30 19:02:12 -07:00
Greg Fitzgerald
e6db701c17
Install solana-stake-accounts ( #9169 )
...
automerge
2020-03-30 17:45:10 -07:00
Tyera Eulberg
50fa577af8
Use cluster confirmations in rpc and pubsub ( #9138 )
...
* Add runtime methods to simply get status and slot
* Add helper function to get slot confirmation_count from BlockCommitmentCache
* Return cluster confirmations in getSignatureStatus
* Remove use of invalid get_signature_confirmation_status
* Remove unused methods
* Update pubsub to use cluster confirmations
* Fix test_check_signature_subscribe failure
* Refactor confirmations to read commitment cache only once
* Review comments
* Use bank, root from BlockCommitmentCache
* Update docs
* Add metric for block-commitment aggregations
Co-authored-by: Justin Starry <justin@solana.com >
2020-03-30 17:53:25 -06:00
Greg Fitzgerald
8636ef5e24
Add solana-stake-accounts CLI tool ( #9164 )
...
automerge
2020-03-30 15:04:46 -07:00
Tyera Eulberg
62040cef56
Store BlockCommitmentCache slot and root metadata ( #9154 )
...
automerge
2020-03-30 10:29:30 -07:00
dependabot-preview[bot]
8731b6279f
Bump thiserror from 1.0.13 to 1.0.14 ( #9151 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.13...1.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-29 15:33:11 -07:00
sakridge
ae66c0e497
Add repair message support to dos tool ( #9090 )
2020-03-29 14:44:25 -07:00
sakridge
c67703e7a3
Make repair metrics less chatty ( #9094 )
2020-03-29 14:43:58 -07:00
sakridge
b1771b92ec
Calculate ref counts earlier to prevent bad clean ( #9147 )
2020-03-29 14:42:34 -07:00
Michael Vines
5f31444300
catchup now retries when the desired node is not yet online ( #9148 )
2020-03-29 09:40:53 -07:00
Ryo Onodera
729cc4e04f
Sanitize zero lamport accounts in append vecs ( #9083 )
2020-03-29 15:45:45 +09:00
dependabot-preview[bot]
2ed3e2160d
Bump serde_json from 1.0.48 to 1.0.49 ( #9139 )
...
* Bump serde_json from 1.0.48 to 1.0.49
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.49 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update serde_json in programs
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com >
2020-03-28 12:19:40 -07:00
Justin Starry
8bbf6e3f54
Fix race in RPC subscriptions test ( #9142 )
2020-03-29 01:58:51 +08:00
Michael Vines
d7fa40087c
Bump version to 1.2.0
2020-03-28 09:44:13 -07:00
Michael Vines
3ae6e0b8ab
Add solana-stake-monitor program ( #9081 )
2020-03-27 22:55:55 -07:00
Jack May
4b7da6e60d
Bump rBPF version to v0.1.25: Fix Windows build ( #9136 )
...
automerge
2020-03-27 19:07:58 -07:00
sakridge
2863f8ec65
Use 1gb as genesis limit to fix bench-tps ledger from not starting ( #9133 )
...
automerge
2020-03-27 16:50:19 -07:00
Jack May
e2491c6322
Prevent add/subtract from executable account ( #9132 )
2020-03-27 16:43:25 -07:00
Michael Vines
4a8b1d9b2c
RpcClient now returns Signatures instead of Strings ( #9129 )
2020-03-27 15:46:00 -07:00
Dan Albert
74aed5cb58
Fix offline stake ops test script ( #9130 )
2020-03-27 12:20:32 -06:00
Michael Vines
b130c298df
Remove chatty 'setting snapshot root:' info log ( #9122 )
2020-03-27 10:24:59 -07:00
Dan Albert
e5a6f8c2de
fix links ( #9125 )
...
automerge
2020-03-27 10:21:34 -07:00
Greg Fitzgerald
87e5f8acbf
Add mdbook-linkcheck to docker ( #9123 )
...
automerge
2020-03-27 10:18:01 -07:00
Justin Starry
c1a3b6ecc2
Add RPC subscription api for rooted slots ( #9118 )
...
automerge
2020-03-27 09:33:40 -07:00
Justin Starry
c242d66130
Document transaction field in getConfirmedBlock responses ( #9121 )
...
automerge
2020-03-27 09:08:18 -07:00
Michael Vines
864d212c64
solana account now displays the account's rent epoch (#9114 )
2020-03-27 08:58:21 -07:00
dependabot-preview[bot]
a9564d207b
Bump assert_cmd from 0.12.1 to 1.0.0 ( #9104 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.12.1 to 1.0.0.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.12.1...v1.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 09:57:01 -06:00
Greg Fitzgerald
b82a9c832b
Fix links in docs ( #9119 )
2020-03-27 09:36:55 -06:00
Justin Starry
5d9298543f
Exclude all executable accounts from rent collection ( #9116 )
...
* Whitelist executable accounts for rent exemption
* nudge
2020-03-27 23:28:18 +08:00
Justin Starry
4e9ae61044
Add "transaction confirmations" term to docs ( #9087 )
...
* Add transaction confirmations term to docs
* feedback
2020-03-27 21:08:36 +08:00
carllin
d47262d233
Reduce transmit frequency ( #9113 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-26 23:33:28 -07:00
Ryo Onodera
8fdcf9f968
Make colo.sh support Bash 5 ( #9112 )
2020-03-27 15:01:42 +09:00
Dan Albert
c82d37f6c3
Fix broken gitbook links ( #9107 )
2020-03-26 21:10:09 -06:00
carllin
5a8658283a
Add check for propagation of leader block before generating further blocks ( #8758 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-26 19:57:27 -07:00
Tyera Eulberg
4b97e58cba
Consolidate signature-status rpcs ( #9069 )
...
* getSignatureStatus: return confirmations for non-rooted transactions
* Remove getNumConfirmations.. rpc
* Remove getSignatureConfirmation
* Review comments
* More review comments
2020-03-26 19:21:01 -06:00
Dan Albert
48031651a0
Add docs for app wallets ( #9098 )
2020-03-26 19:09:39 -06:00
carllin
f3d556e3f9
Refactor VoteTracker ( #9084 )
...
* Refactor VoteTracker
Co-authored-by: Carl <carl@solana.com >
2020-03-26 17:55:17 -07:00
Jack May
8d4cecdb77
Account data may not change once the executable bit is set ( #9099 )
...
automerge
2020-03-26 17:10:11 -07:00
Jack May
39a622f66e
Revert setting the default toolchain ( #9093 )
...
automerge
2020-03-26 14:21:22 -07:00
Jack May
dae28b9cfe
Bump rBPF to v0.1.24, update rBPF/BPF Loader error handling ( #9089 )
2020-03-26 14:00:26 -07:00
sakridge
b7b4aa5d4d
move rpc types from client to client-types crate ( #9039 )
...
* Separate client types into own crate, so ledger does not need it
Removes about 50 crates of dependency from ledger
* Drop Rpc name from transaction-status types
2020-03-26 13:29:30 -07:00
sakridge
ed036b978d
Accumulate blockstore metrics and submit every 2s ( #9075 )
2020-03-26 12:51:41 -07:00
Dan Albert
284920433f
Restructure wallet docs to prep for app wallet content ( #9088 )
...
automerge
2020-03-26 12:42:05 -07:00
Jack May
30bed18b77
Install xargo using CI dictated cargo version if available ( #9068 )
2020-03-26 11:47:41 -07:00
Greg Fitzgerald
6678dd10a5
Remove command-line install instructions of Solana's Ledger wallet app ( #9085 )
2020-03-26 10:37:48 -06:00
Dan Albert
296d740f83
Remove contractions in intro doc ( #9086 )
2020-03-26 09:54:47 -06:00
Michael Vines
b8fda9d730
Log how much data the ledger holds before processing it ( #9079 )
2020-03-25 21:41:50 -07:00
Ryo Onodera
2623c71ed3
Use type aliases/resulting var names consistently ( #9060 )
2020-03-26 13:08:56 +09:00
Justin Starry
e4472db33f
Unflake rpc subscriptions test by reducing sub count ( #9078 )
...
automerge
2020-03-25 20:43:38 -07:00
carllin
076fef5e57
Update Cluster Slots to support multiple threads ( #9071 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-25 18:09:19 -07:00
dependabot-preview[bot]
40eba48109
Bump assert_cmd from 0.12.0 to 0.12.1 ( #9074 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 17:38:13 -07:00
dependabot-preview[bot]
095c79e863
Bump regex from 1.3.5 to 1.3.6 ( #9055 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.5...1.3.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 17:24:14 -07:00
Tyera Eulberg
959c1ea857
Cargo update bumpalo ( #9067 )
...
* Cargo update bumpalo
* Remove ignore warning
2020-03-25 18:11:08 -06:00
Justin Starry
ef3af104ae
Return appropriate error for invalid program account ( #9047 )
...
automerge
2020-03-25 13:23:05 -07:00
carllin
9dc69d9843
Store and compute node/stake state in EpochStakes struct ( #8958 )
...
* Store and compute needed bank state in EpochStakes struct
2020-03-25 12:19:15 -07:00
sakridge
45348b2c83
Remove accounts unwrap ( #9062 )
...
automerge
2020-03-25 10:21:30 -07:00
Justin Starry
c558db2a48
Fix xargo to version 0.3.19 to avoid unstable feature ( #9065 )
...
automerge
2020-03-25 08:43:36 -07:00
Ryo Onodera
f987c18a7e
Strictly validate the contents of snapshot/genesis ( #8959 )
...
automerge
2020-03-25 02:46:41 -07:00
Ryo Onodera
5d3f43c10b
Ignore RUSTSEC-2020-0006 for the moment ( #9057 )
...
automerge
2020-03-24 20:10:20 -07:00
Ryo Onodera
216b01b224
Improve coverage.sh usability when used locally ( #9054 )
...
automerge
2020-03-24 13:47:16 -07:00
Michael Vines
35dd52e9ba
Remove SLP from grafana
2020-03-24 12:23:30 -07:00
sakridge
b0c83921be
Move streamer test to integration test ( #9050 )
...
Failing in the coverage build.
2020-03-24 11:39:36 -07:00
dependabot-preview[bot]
e744b15ad2
Bump thiserror from 1.0.12 to 1.0.13 ( #9017 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.12...1.0.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 10:51:24 -07:00
Michael Vines
1fd695d337
Use all cores ( #8908 )
2020-03-24 10:33:53 -07:00
Justin Starry
8f38bc7dc0
Refactor how pubsub subscriptions are added ( #9042 )
2020-03-25 00:53:32 +08:00
Michael Vines
7d6ea6c17e
ledger-tool can now decode stake instructions ( #9045 )
...
automerge
2020-03-24 05:23:29 -07:00
Michael Vines
56dc958116
Add get_confirmed_block_with_encoding() ( #9046 )
...
automerge
2020-03-24 05:05:38 -07:00
Justin Starry
19dfb87b1f
Fix timeout for subscriptions test ( #9043 )
...
automerge
2020-03-24 01:57:28 -07:00
Michael Vines
a5287f56fc
Remove ,
2020-03-23 22:12:16 -07:00
Justin Starry
eed8087d87
Respect confirmations param for signature subscription notifications ( #9019 )
...
automerge
2020-03-23 17:00:34 -07:00
Greg Fitzgerald
4115d73b9a
Remove Ledger-specific analysis of hardware wallets ( #9028 )
...
automerge
2020-03-23 14:05:38 -07:00
Greg Fitzgerald
064b95c16a
Fix link in gitbook ( #9027 )
...
automerge
2020-03-23 14:05:27 -07:00
Michael Vines
70c167182a
ledger tool now outputs transaction status information if available ( #9024 )
...
automerge
2020-03-23 12:49:21 -07:00
Jack May
fee002382e
Program address generator ( #8995 )
2020-03-23 12:38:56 -07:00
sakridge
d75a470ffa
Ledger processing speed tracking ( #9005 )
2020-03-23 12:19:11 -07:00
sakridge
c530fbd22b
Remove thread-priority crate which is not cross-platform ( #9023 )
2020-03-23 12:18:52 -07:00
Tyera Eulberg
1b8f9e75dd
Update getSignatureStatus: support multiple signatures, include slot in each response item ( #9022 )
...
* Rename enable-rpc-get-confirmed-block
* Rename RpcTransactionStatus -> RpcTransactionStatusMeta
* Return simplified RpcTransactionStatus; Add support for multiple transactions
* Update docs
* typo
2020-03-23 11:25:39 -06:00
Greg Fitzgerald
1a5b01676d
Remove equal sign separators from CLI options ( #9021 )
...
automerge
2020-03-23 09:27:43 -07:00
sakridge
4b397d15b3
Accounts cleanup service and perf improvements ( #8799 )
...
* Use atomic for ref count instead of taking rwlock
* Accounts cleanup service
* Review comments
2020-03-23 08:50:23 -07:00
sakridge
4d2b83d01f
Add option to disable rocks compaction ( #9011 )
2020-03-23 08:42:32 -07:00
Justin Starry
87096f13d2
Update outdated solana-genesis cli help text ( #9020 )
...
automerge
2020-03-23 08:16:31 -07:00
Justin Starry
a0ffcc61ae
Add slot info to Bank::get_signature_confirmation_status ( #9018 )
2020-03-23 21:55:15 +08:00
Justin Starry
4b4819cd07
Add slot context to rpc pubsub notifications ( #9001 )
...
automerge
2020-03-23 05:34:42 -07:00
Michael Vines
ca791a0378
Ensure --identity is provided when --vote-account is provided ( #9014 )
...
automerge
2020-03-22 22:21:00 -07:00
Greg Fitzgerald
b08f8d3103
Add stake-account to docs ( #9010 )
2020-03-22 12:20:24 -06:00
Michael Vines
88ba8439fc
Add frozen account support ( #8989 )
...
automerge
2020-03-22 11:10:04 -07:00
sakridge
4dd0367136
Rwlock storage opt ( #9006 )
...
* Remove unecessary account paths rwlock
* Remove path rwlock in accounts_db and optimize storage critical section
2020-03-22 10:04:03 -07:00
Michael Vines
ff2c183ac1
Add set-dead-slot command ( #9008 )
2020-03-21 21:43:33 -07:00
Michael Vines
aa24181a53
Remove blockstream unix socket support. RPC or bust ( #9004 )
...
automerge
2020-03-21 20:17:11 -07:00
Greg Fitzgerald
1f83c56e05
Add staking docs ( #8988 )
...
automerge
2020-03-21 19:50:09 -07:00
Trent Nelson
2592894958
CLI: Support setting both stake authorities at once ( #8976 )
...
automerge
2020-03-21 18:56:17 -07:00
dependabot-preview[bot]
85027caf42
Bump thiserror from 1.0.11 to 1.0.12 ( #9000 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.11...1.0.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-21 14:52:25 -06:00
sakridge
3ea556bc24
Drop storage lock ( #8997 )
2020-03-21 13:37:52 -07:00
Greg Fitzgerald
ca4a22d4ba
Distinguish account addresses from public keys ( #8998 )
2020-03-21 13:30:01 -06:00
Michael Vines
18c1f0dfe9
Remove stub core/src/genesis_utils.rs ( #8999 )
2020-03-21 10:54:40 -07:00
dependabot-preview[bot]
734afee5e0
Bump cbindgen from 0.13.1 to 0.13.2 ( #8996 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.13.1...v0.13.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-20 21:51:28 -06:00
Jack May
271e17547a
Nit thiserror for pubkey ( #8994 )
...
automerge
2020-03-20 18:07:37 -07:00
Jack May
e28368ff1b
Move address creation with seed into pubkey ( #8991 )
2020-03-20 15:20:48 -07:00
Greg Fitzgerald
1aab959d4e
Revert "Move Install Solana doc into the Command-line Guide ( #8982 )" ( #8992 )
...
This reverts commit 5fa36bbab3 .
2020-03-20 15:52:20 -06:00
sakridge
bca769111f
Dos all the things ( #8914 )
...
* Dos all the things
* Use solana-dos for gossip dos test
2020-03-20 12:55:38 -07:00
sakridge
909321928c
Shred fetch comment and debug message tweak ( #8980 )
...
automerge
2020-03-20 11:00:48 -07:00
Greg Fitzgerald
8b0a7f6838
Update value names in docs ( #8983 )
...
automerge
2020-03-20 09:22:02 -07:00
Greg Fitzgerald
5fa36bbab3
Move Install Solana doc into the Command-line Guide ( #8982 )
...
automerge
2020-03-20 09:19:18 -07:00
Greg Fitzgerald
d65a7a3c30
Fix versioning script on MacOS ( #8981 )
...
automerge
2020-03-20 09:16:48 -07:00
sakridge
453f5ce8f2
Shred filter ( #8975 )
...
Thread bank_forks into shred fetch
2020-03-20 07:49:48 -07:00
carllin
dc1db33ec9
Add Capabilities to Signal BroadcastStage to Retransmit ( #8899 )
2020-03-19 23:35:01 -07:00
Greg Fitzgerald
c68e80c93b
Improve CLI usage messages ( #8972 )
...
* Improve CLI usage messages
* stragglers
* Apply review feedback
Co-authored-by: Trent Nelson <trent@solana.com >
2020-03-19 21:43:11 -06:00
Tyera Eulberg
6b9a0935c1
Some Cli polish ( #8966 )
...
automerge
2020-03-19 12:03:36 -07:00
Tyera Eulberg
b84468ecd3
Cli: polish transaction progress bar ( #8963 )
...
automerge
2020-03-19 11:10:35 -07:00
Trent Nelson
ff4ba54553
CLI: Fix create-nonce-account with seed ( #8929 )
...
* CLI: Fix `create-nonce-account --seed ...`
* CLI: Add test another for `create-nonce-account --seed...`
Explicitly demonstrates a partner workflow with the following
requirements:
1) Nonce account address derived from an offline nonce
authority address
2) Fully online account creation
3) Account creation in a single signing session
* alphabetize
2020-03-19 10:36:53 -06:00
Michael Vines
f78a90bce2
Vote InitializeAccount and UpdateNode instructions now need a signature from the validator identity ( #8947 )
...
automerge
2020-03-19 01:58:52 -07:00
dependabot-preview[bot]
24d871b529
Bump serde from 1.0.104 to 1.0.105 ( #8954 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.104...v1.0.105 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 22:35:30 -07:00
Trent Nelson
e547f38589
Docs: Fix error during CLI usage build ( #8956 )
...
automerge
2020-03-18 22:24:42 -07:00
dependabot-preview[bot]
6fb16f9879
Bump flate2 from 1.0.13 to 1.0.14 ( #8901 )
...
Bumps [flate2](https://github.com/alexcrichton/flate2-rs ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/alexcrichton/flate2-rs/releases )
- [Commits](https://github.com/alexcrichton/flate2-rs/compare/1.0.13...1.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 21:37:41 -07:00
dependabot-preview[bot]
2dc50cff5b
Bump bv from 0.11.0 to 0.11.1 ( #8952 )
...
automerge
2020-03-18 21:37:21 -07:00
Trent Nelson
98228c392e
CLI: Add multi-session signing support ( #8927 )
...
* SDK: Add `NullSigner` implementation
* SDK: Split `Transaction::verify()` to gain access to results
* CLI: Minor refactor of --sign_only result parsing
* CLI: Enable paritial signing
Signers specified by pubkey, but without a matching --signer arg
supplied fall back to a `NullSigner` when --sign-only is in effect.
This allows their pubkey to be used for TX construction as usual,
but leaves their `sign_message()` a NOP. As such, with --sign-only
in effect, signing and verification must be done separately, with
the latter's per-signature results considered
* CLI: Surface/report missing/bad signers to user
* CLI: Suppress --sign-only JSON output
* nits
* Docs for multi-session offline signing
2020-03-18 20:49:38 -07:00
Greg Fitzgerald
aeb7278b00
Delete broken link ( #8950 )
...
automerge
2020-03-18 17:49:21 -07:00
Greg Fitzgerald
42d7609d54
Fix links for gitbook ( #8948 )
...
automerge
2020-03-18 16:45:15 -07:00
sakridge
a70008cc5c
Increase vmap count in sys-tuner ( #8940 )
2020-03-18 16:24:39 -07:00
Michael Vines
306a5c849e
Use into_iter()
2020-03-18 16:11:57 -07:00
Michael Vines
bb92184085
Refactor distribute_rent_to_validators() for clarity
2020-03-18 16:11:57 -07:00
Dan Albert
90c9462dd4
Automated test framework can run scripts on launched clusters. Add offline stake operations test case and script. ( #8510 )
...
automerge
2020-03-18 14:57:19 -07:00
Greg Fitzgerald
21b287ef0b
Add docs on wallets and generating keys ( #8905 )
...
* Add docs on wallets and generating keys
* Directory wallet -> FS wallet
* New section
* Add instructions for receiving tokens
* Add missing file
* Reorg
* Polish
* Polish
* Prefer solana-keygen
* Polish
* on -> in
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* wallets -> wallet
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* compare -> contrast
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* de-hyphenate
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/cli/choose-a-wallet.md
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* typo
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/cli/generate-keys.md
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* proof -> prove
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* Apply review feedback
* Apply more review feedback
* More review feedback
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-03-18 15:21:48 -06:00
Dan Albert
b0c524765e
Update gce-5-node-3-partition.yml
2020-03-18 14:07:09 -07:00
Tyera Eulberg
6d0318cbe6
Remove product string from device keypair URL ( #8942 )
...
* Remove product string from device url
* Update docs
2020-03-18 13:36:48 -06:00
dependabot-preview[bot]
8f5ee6832f
Bump libc from 0.2.67 to 0.2.68 ( #8915 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.67 to 0.2.68.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.67...0.2.68 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 13:27:08 -06:00
dependabot-preview[bot]
38fe766fa7
Bump crossbeam-channel from 0.3.9 to 0.4.2 ( #8930 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.3.9 to 0.4.2.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/v0.4.2/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.3.9...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 13:26:42 -06:00
Michael Vines
74866882f2
Document account/signer requirements for vote instructions
2020-03-18 11:11:48 -07:00
sakridge
c638e83bf5
Add --no-untrusted-rpc to docs ( #8935 )
...
automerge
2020-03-18 09:40:51 -07:00
Jack May
de6ef68571
Add BPF virtual address translate helpers ( #8919 )
2020-03-18 08:39:55 -07:00
sakridge
c51049a59b
Add counter for accounts hash verification. ( #8928 )
2020-03-18 08:39:09 -07:00
anatoly yakovenko
9cedeb0a8d
Pull streamer out into its own module. ( #8917 )
...
automerge
2020-03-17 23:30:23 -07:00
Michael Vines
e37a4823f1
Remove appveyor config, Travis CI for windows now seems to work
2020-03-17 23:14:24 -07:00
Michael Vines
bf60345b7a
Remove all snapshots not matching the desired hash
2020-03-17 22:58:01 -07:00
Michael Vines
cb29b8dd2a
Travis CI builds windows-gnu instead of windows-msvc
2020-03-17 22:37:57 -07:00
Michael Vines
3a501ad69e
Remove all snapshot not matching the desired hash
2020-03-17 22:18:25 -07:00
Michael Vines
e6e43d236f
Remove unused default update manifest pubkeys
2020-03-17 21:46:39 -07:00
Michael Vines
142601d4b6
solana-install-init: --pubkey is no longer required on platforms without a default update manifest
2020-03-17 21:46:39 -07:00
Jack May
f192e4f08f
Nit: Align Rust and C names ( #8918 )
2020-03-17 19:37:16 -07:00
sakridge
f020370ae7
Add docs for --trusted-validator options ( #8911 )
...
and --halt-on-trusted-validator-hash-mismatch
2020-03-17 18:57:33 -07:00
Dan Albert
24935af867
Extend local-cluster CI timeout ( #8921 )
...
automerge
2020-03-17 18:23:22 -07:00
Michael Vines
6a213bc8f5
Build less for windows
2020-03-17 17:03:56 -07:00
Tyera Eulberg
f0414711b7
Cli: add spinner progress bar when waiting for transaction confirmation ( #8916 )
...
* Add _with_spinner method
* Use _with_spinner method in cli
2020-03-17 17:58:02 -06:00
Jack May
d087ed5bf6
Remove copypasta ( #8912 )
2020-03-17 15:59:09 -07:00
Michael Vines
d14dea4660
Restore solana-install for non-windows
2020-03-17 13:47:53 -07:00
Michael Vines
29abfebb68
Limit windows to end-user command-line tools
2020-03-17 13:11:00 -07:00
Jack May
668dfc40c7
Align C and Rust handling of AccountInfos ( #8906 )
2020-03-17 12:34:14 -07:00
Jack May
61514e3b0e
Allow program accounts to be passed as program and parameter ( #8907 )
2020-03-17 12:06:15 -07:00
Michael Vines
46fcab14dd
Try enabling windows build again, maybe it's more stable now
2020-03-17 11:14:08 -07:00
sakridge
2435c3ce0c
Add accounts-bench, a benchmark to test the accounts store speed ( #8866 )
2020-03-17 11:02:07 -07:00
prographo
55907b2167
code layout changes only for ci tests
2020-03-17 10:18:04 -07:00
prographo
a03eff51af
code layout changes only
2020-03-17 10:18:04 -07:00
prographo
10175618d2
solana-keygen grind: do not ignore case (as default)
2020-03-17 10:18:04 -07:00
Michael Vines
4ff033852d
Increase buffer on low SOL fault to over a week ( #8903 )
...
automerge
2020-03-17 09:18:13 -07:00
Tyera Eulberg
2237f47b90
Sort device paths for select ( #8896 )
2020-03-16 18:23:21 -06:00
Greg Fitzgerald
bfca226964
Hoist USB URL docs ( #8894 )
2020-03-16 17:07:39 -06:00
Tyera Eulberg
6077458ad8
Cli: enable flexible flexible signer paths for pubkey args ( #8892 )
...
automerge
2020-03-16 15:17:13 -07:00
sakridge
7079559c2d
Fix windows build by removing sys-info ( #8860 )
...
Doesn't build for windows.
2020-03-16 12:53:13 -07:00
Dan Albert
0641244378
Add genesis token counter test to system test ( #8824 )
...
automerge
2020-03-16 12:09:18 -07:00
Greg Fitzgerald
563da2bb18
Cleanup CLI types ( #8888 )
2020-03-16 12:27:09 -06:00
sakridge
dc347dd3d7
Add Accounts hash consistency halting ( #8772 )
...
* Accounts hash consistency halting
* Add option to inject account hash faults for testing.
Enable option in local cluster test to see that node halts.
2020-03-16 08:37:31 -07:00
Greg Fitzgerald
eab4fe50a3
Use types for CLI value names ( #8878 )
...
* Use types for CLI value names
* keygen too
* More cleanup
* nonce keypair -> pubkey
2020-03-16 09:24:59 -06:00
Carl
ead6dc553a
If let
2020-03-16 07:57:07 -07:00
Carl
009c124fac
Remove generic
2020-03-16 07:57:07 -07:00
Carl
7029c88305
use matches macro
2020-03-16 07:57:07 -07:00
Carl
9411fc00b8
Lower error level
2020-03-16 07:57:07 -07:00
Justin Starry
5a93a4c466
Fix faucet command in run.sh ( #8883 )
...
automerge
2020-03-16 04:44:54 -07:00
carllin
9afc5da2e1
Fix vote polling ( #8829 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-15 20:31:05 -07:00
Michael Vines
49706172f3
Quietly re-introduce legacy --voting-keypair/--identity-keypair args for v1.0.6 compatibility
2020-03-15 20:00:58 -07:00
Michael Vines
b2a0cdaa38
Rename leader to validator, drop _keypair/-keypair suffix ( #8876 )
...
automerge
2020-03-15 13:19:55 -07:00
Michael Vines
5481d1a039
Validators now run a full gossip node while looking for a snapshot
2020-03-15 09:31:55 -07:00
scriptrunner2049
dd5e320aa1
TdS registration
...
Updated some outdated information re TdS registration.
2020-03-15 18:45:29 +11:00
Tyera Eulberg
3c2aff2b5b
Cli: Add resolve-signer subcommand ( #8859 )
...
* Expose remote-wallet device pretty path
* Add resolve-signer helpers
* Add cli resolve-signer subcommand
* Print pretty-path in waiting msg
2020-03-14 20:48:41 -07:00
Dan Albert
c3c4c9326b
Refactor system tests dir structure ( #8865 )
...
automerge
2020-03-14 18:37:37 -07:00
Dan Albert
ae70f4ea92
Apply s/faucet-keypair/faucet renaming to net scripts ( #8867 )
2020-03-14 16:49:28 -07:00
Michael Vines
29fb79382c
Rework validator vote account defaults to half voting fees
2020-03-13 20:13:33 -07:00
Tyera Eulberg
5c2cf04e10
Enable any signer in various cli subcommands ( #8844 )
...
automerge
2020-03-13 16:06:33 -07:00
Michael Vines
9e0a26628b
Drop :8899 port from http://devnet.solana.com references
2020-03-13 16:00:54 -07:00
Michael Vines
ce88602ced
Surface the missing pubkey
2020-03-13 15:57:41 -07:00
carllin
53b8d0d528
Remove holding Poh lock ( #8838 )
...
automerge
2020-03-13 15:15:13 -07:00
Sunny Gleason
96a61cc4e4
Cli: add subcommand to withdraw from vote account ( #8550 )
...
* feat: cli command for vote account withdraw
* Rework names
* Update to flexible signer, and make consistent with other cli apis
* Add integration test
* Clean up default help msg
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-03-13 14:30:04 -06:00
Michael Vines
b7b36bb0a4
Upgrade to Rust 1.42 ( #8836 )
...
* Upgrade to Rust 1.42
* deref
* parens
Co-authored-by: Trent Nelson <trent@solana.com >
2020-03-13 14:15:22 -06:00
dependabot-preview[bot]
52b254071c
Bump regex from 1.3.4 to 1.3.5 ( #8830 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.4...1.3.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-13 07:43:07 -06:00
Trent Nelson
fbf2dd1672
CLI: Error message cleanup ( #8804 )
...
automerge
2020-03-12 23:20:49 -07:00
Ryo Onodera
4bbf09f582
Enable conservative out-of-bound snapshot cleaning ( #8811 )
...
* Enable conservative out-of-bound snapshot cleaning
* Add tests
2020-03-13 14:44:00 +09:00
Ryo Onodera
952cd38b7b
Avoid early clean and bad snapshot by ref-counting ( #8724 )
...
* Avoid early clean and bad snapshot by ref-counting
* Add measure
* Clean ups
* clean ups
2020-03-13 14:14:37 +09:00
anatoly yakovenko
9a79be5ca0
Use cluster information about slots to prioritize repair ( #8820 )
...
automerge
2020-03-12 17:34:46 -07:00
Greg Fitzgerald
2182521a8b
Move history out of intro ( #8825 )
...
automerge
2020-03-12 16:36:05 -07:00
Michael Vines
fe65c2ae02
Add all of docs/src
2020-03-12 14:45:54 -07:00
Michael Vines
554d36c74b
Update source markdown in CI
2020-03-12 14:34:28 -07:00
Greg Fitzgerald
29ef0916db
Update keys ( #8821 )
...
automerge
2020-03-12 13:22:12 -07:00
dependabot-preview[bot]
f93c8290f4
Bump sys-info from 0.5.9 to 0.5.10 ( #8810 )
...
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/FillZpp/sys-info-rs/releases )
- [Changelog](https://github.com/FillZpp/sys-info-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FillZpp/sys-info-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 13:42:31 -06:00
dependabot-preview[bot]
a69293df24
Bump base64 from 0.11.0 to 0.12.0 ( #8809 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.11.0...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 11:32:56 -06:00
dependabot-preview[bot]
48ac038f7a
Bump serial_test from 0.3.2 to 0.4.0 ( #8808 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.3.2...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 11:14:37 -06:00
Michael Vines
5a7d2560c9
Don't tell users to install unreleased software versions
2020-03-12 10:01:25 -07:00
Justin Starry
d91027f771
Fix malformed doc link ( #8817 )
...
automerge
2020-03-12 09:25:15 -07:00
Jack May
deaf3cb416
Instruction member function ( #8801 )
2020-03-12 09:08:39 -07:00
Greg Fitzgerald
f95e1ea40f
Update keys ( #8814 )
...
automerge
2020-03-12 08:30:24 -07:00
anatoly yakovenko
f64ab49307
Cluster has no way to know which slots are available ( #8732 )
...
automerge
2020-03-11 21:31:50 -07:00
Greg Fitzgerald
fe1c99c0cf
Update keys ( #8800 )
...
automerge
2020-03-11 17:18:14 -07:00
Dan Albert
bdb7b73b8a
Add longer running performance tests and new partition testcase ( #8773 )
...
* Add 1 hour perf stability tests to colo and GCE
* Add GCE full loss partition testcase to automation
2020-03-11 16:42:52 -07:00
Dan Albert
293fff90d3
Restrict which nodes can run stable and coverage
...
Band-aid fix until https://github.com/solana-labs/solana/issues/8798 is resolved
2020-03-11 14:46:17 -07:00
Jack May
6eb4973780
Don't use move semantics if not needed ( #8793 )
2020-03-11 14:37:23 -07:00
Michael Vines
5f5824d78d
Rework cluster metrics dashboard to support the modern clusters
2020-03-11 14:14:56 -07:00
Dan Albert
0ef9d79056
Collapse verbose buildkite logging ( #8794 )
...
automerge
2020-03-11 11:54:49 -07:00
dependabot-preview[bot]
215650f6e7
Bump console from 0.9.2 to 0.10.0 ( #8786 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 12:30:15 -06:00
Greg Fitzgerald
a0d0d4c0e9
Update keys ( #8791 )
2020-03-11 12:29:50 -06:00
Trent Nelson
0422af2aae
CLI: Plumb nonce-stored fees ( #8750 )
...
automerge
2020-03-11 11:14:15 -07:00
Michael Vines
cef8e42938
Notify when validator balance goes below 1 SOL
2020-03-11 10:30:51 -07:00
dependabot-preview[bot]
0eeeec38fa
Bump winreg from 0.6.2 to 0.7.0 ( #8788 )
...
automerge
2020-03-11 08:59:26 -07:00
dependabot-preview[bot]
75a84ecdae
Bump reqwest from 0.10.1 to 0.10.4 ( #8787 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.1 to 0.10.4.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.1...v0.10.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 09:02:40 -06:00
Dan Albert
87c507fdbe
Refactor system test automation ( #8780 )
2020-03-10 23:38:50 -07:00
Greg Fitzgerald
3783ae823d
Update keys ( #8783 )
...
automerge
2020-03-10 19:08:02 -07:00
Tyera Eulberg
f3ed00e28e
Add checkmark ( #8781 )
...
automerge
2020-03-10 17:28:50 -07:00
dependabot-preview[bot]
307d023b2e
Bump hidapi from 1.2.0 to 1.2.1 ( #8770 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 18:07:14 -06:00
Michael Vines
775ce3a03f
Permit fee-payer/split-stake accounts to be the same when using --seed
2020-03-10 16:12:02 -07:00
Michael Vines
f655372b08
Revert to a computed websocket_url value when json_rpc_url is changed
2020-03-10 15:55:13 -07:00
Tyera Eulberg
2c4079f4c8
Print approved msg after Ledger interaction ( #8771 )
...
automerge
2020-03-10 14:08:51 -07:00
Michael Vines
ac1f90f1a9
clippy
2020-03-10 12:31:00 -07:00
Michael Vines
4bb55b1622
Add --monitor-active-stake flag
2020-03-10 12:31:00 -07:00
Michael Vines
23c5bb17c7
Refactor
2020-03-10 12:31:00 -07:00
Dan Albert
a0ed3261c9
Automated tests should use dedicated colo nodes ( #8766 )
...
automerge
2020-03-10 12:25:16 -07:00
Trent Nelson
261732f140
CLI Nonce account access dereplicode ( #8743 )
...
* Spruce up CliNonceError
* Add nonce account access helpers
* Use helpers throughout
2020-03-10 13:00:15 -06:00
Dan Albert
595c96b262
Plumb pre-emptibility and associated overrides into colo allocation and automated testing ( #8754 )
...
automerge
2020-03-10 11:25:44 -07:00
Greg Fitzgerald
496999beba
Configure the cluster right after installing it ( #8761 )
2020-03-10 10:23:58 -06:00
Greg Fitzgerald
bb50881346
Fix Gitbook's markdown rendering ( #8759 )
...
automerge
2020-03-10 08:05:30 -07:00
Greg Fitzgerald
948902eae0
Better titles ( #8752 )
...
automerge
2020-03-10 07:43:38 -07:00
dependabot-preview[bot]
e41ff2df66
Bump chrono from 0.4.10 to 0.4.11 ( #8755 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.10...v0.4.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 08:43:18 -06:00
dependabot-preview[bot]
f88b79d42b
Bump itertools from 0.8.2 to 0.9.0 ( #8756 )
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bluss/rust-itertools/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 08:42:11 -06:00
dependabot-preview[bot]
1a0dd53450
Bump rayon from 1.2.0 to 1.3.0 ( #8757 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.2.0...rayon-core-v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 08:40:02 -06:00
carllin
9872430bd2
Add VoteTracker for tracking cluster's votes in gossip ( #8327 )
...
Track votes by slot in cluster_vote_listener
2020-03-09 22:03:09 -07:00
Michael Vines
ae8badb141
Support monitoring multiple validators
2020-03-09 20:40:23 -07:00
Michael Vines
36fa3a1a0a
Wait for 80% of the active stake instead of 75%
2020-03-09 20:31:09 -07:00
Greg Fitzgerald
df8a69d15f
Less links to docs ( #8748 )
...
automerge
2020-03-09 19:55:17 -07:00
dependabot-preview[bot]
fad08a19cc
Bump serde_json from 1.0.46 to 1.0.48 ( #8260 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.46 to 1.0.48.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.46...v1.0.48 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 20:20:19 -06:00
Trent Nelson
6527d05d77
Docs: Fix missing CLI usage.md ( #8745 )
...
automerge
2020-03-09 19:11:58 -07:00
Dan Albert
d303e6b94e
Override GCE self-destruct timer in automation ( #8728 )
2020-03-09 18:02:07 -07:00
Greg Fitzgerald
5fa397ceed
Remove --derivation-path option ( #8741 )
...
automerge
2020-03-09 17:49:01 -07:00
Greg Fitzgerald
c0fd017906
Move intro out of README ( #8735 )
...
automerge
2020-03-09 16:39:57 -07:00
Michael Vines
74e7da214a
watchtower now uses cli-config/
2020-03-09 15:43:14 -07:00
Michael Vines
756ba07b16
Move cli-config default out of cli/ into cli-config/
2020-03-09 15:43:14 -07:00
Michael Vines
5c236fd06c
Rename 'url' to 'json_rpc_url'
2020-03-09 15:43:14 -07:00
Greg Fitzgerald
f671be814e
Move bench-tps instructions ( #8734 )
...
automerge
2020-03-09 15:26:03 -07:00
Tyera Eulberg
e277437bd2
Limit waiting-message to single- or last-chunk apdus ( #8730 )
2020-03-09 15:22:50 -06:00
dependabot-preview[bot]
beead7e54d
Bump hidapi from 1.1.1 to 1.2.0 ( #8588 )
...
automerge
2020-03-09 11:53:47 -07:00
Dan Albert
ea010be5cb
Wait for stake distribution before starting clients ( #8692 )
2020-03-09 10:57:51 -07:00
Greg Fitzgerald
97b6c41d42
Fix typos in error messages ( #8726 )
...
automerge
2020-03-09 10:12:42 -07:00
dependabot-preview[bot]
6d0f3762b2
Bump hex from 0.4.1 to 0.4.2 ( #8725 )
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.1...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 09:23:54 -06:00
Michael Vines
132a2a73af
Add total-supply command ( #8722 )
...
automerge
2020-03-09 01:28:44 -07:00
Tyera Eulberg
eab80d0aea
Cli: Fix create-with-seed ( #8706 )
...
* Add failing test
* Fix create-address-with-seed regression
* Add apis to enable generating a pubkey from all various signers
* Enable other signers as --from in create-with-seed
2020-03-09 00:02:24 -06:00
Michael Vines
88b1383eed
Permit --no-untrusted-rpc without any --trusted-validators
2020-03-08 22:34:04 -07:00
dependabot-preview[bot]
ff74452ef3
Bump libc from 0.2.66 to 0.2.67 ( #8680 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.66 to 0.2.67.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.66...0.2.67 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-08 21:38:58 -07:00
sakridge
bf8e9b3d71
Better error message for cli ( #8702 )
2020-03-08 19:19:34 -07:00
sakridge
de34187db0
Add purge function to ledger-tool ( #8719 )
2020-03-08 12:40:56 -07:00
Michael Vines
acb23e8ef0
Groom ledger-tool bounds output ( #8710 )
2020-03-07 09:05:15 -07:00
Michael Vines
f992ee3140
Remove unnecessary snapshot hash verification ( #8711 )
2020-03-07 09:04:52 -07:00
sakridge
97986a5241
Move download code to download-utils crate ( #8704 )
2020-03-07 07:08:01 -08:00
Tyera Eulberg
a7d1346d51
Remove ask-seed-phrase arg from validator, archiver ( #8697 )
...
* Remove ask-seed-phrase from validator
* Update paper-wallet docs
* Remove ask-seed-phrase from archiver
* Remove unused structs, methods
2020-03-06 22:22:23 -07:00
Greg Fitzgerald
983ec5debc
Docs version bump ( #8709 )
...
automerge
2020-03-06 21:06:41 -08:00
Greg Fitzgerald
cb28ac3aed
Fix Ledger docs ( #8705 )
...
automerge
2020-03-06 20:05:34 -08:00
sakridge
a817a7c889
Call usage when getting incorrect arguments ( #8703 )
...
automerge
2020-03-06 19:08:20 -08:00
Jack May
a5f2444ad2
Remove copypasta ( #8700 )
...
automerge
2020-03-06 18:18:01 -08:00
Michael Vines
cea8067219
Disable setLogFilter RPC API by default ( #8693 )
...
automerge
2020-03-06 16:03:10 -08:00
Trent Nelson
4db074a5aa
RPC: Add getFeeCalculatorForBlockhash method call ( #8687 )
...
Returns the `FeeCalculator` associated with the given blockhash, or
`null` if said blockhash has expired
2020-03-06 17:01:31 -07:00
Dan Albert
3eb00ef60f
Add ability to start clients separately from validators ( #8690 )
...
automerge
2020-03-06 15:32:27 -08:00
Tyera Eulberg
ca8bf8f964
Ledger: return specific error if ledger-app-solana is not running ( #8684 )
...
* Specific error if ledger-app-solana is not running
* Return helpful error
* Include signer name in multiple-device prompt
2020-03-06 16:03:23 -07:00
Michael Vines
39b3ce9bd3
Add shred version support to net/ ( #8689 )
...
* Add shred version support to net/
* Update remote-node.sh
2020-03-06 15:49:04 -07:00
Greg Fitzgerald
4caa313aef
Remove releases from readme ( #8685 )
...
automerge
2020-03-06 14:03:10 -08:00
Michael Vines
a78a339407
Properly escape current version ( #8686 )
2020-03-06 14:36:01 -07:00
Greg Fitzgerald
0919b13c87
Split staker infos ( #8682 )
2020-03-06 13:49:23 -07:00
Dan Albert
f2b0e2f418
Add slot rate check to automation framework ( #8676 )
2020-03-05 23:58:31 -08:00
Michael Vines
cb6848aa80
Publish initial snapshot hash in gossip on validator startup ( #8679 )
...
automerge
2020-03-05 22:52:31 -08:00
Grimes
542691c4e4
Docs: Use correct flag in keypair verification instructions ( #8677 )
...
automerge
2020-03-05 16:32:17 -08:00
Jack May
8ad6a8767f
Simplify runtime account handling ( #8674 )
2020-03-05 16:17:31 -08:00
Greg Fitzgerald
2242b1b4a5
Bump byteorder from 1.3.2 to 1.3.4 ( #8159 )
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.2...1.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-05 17:07:18 -07:00
Jack May
8df4d8b905
Update to rbpf v0.1.23 - Use trait objects to convey helper context ( #8648 )
2020-03-05 14:14:21 -08:00
Grimes
7fad53b112
Use iterated account ( #8673 )
...
automerge
2020-03-05 13:10:20 -08:00
Grimes
9d667db634
SDK: Allow RecentBlockhashes to hold the entire BlockhashQueue ( #8632 )
...
automerge
2020-03-05 11:03:21 -08:00
carllin
f47a789b15
Add find_incomplete_slots ( #8654 )
...
* Add find_incomplete_slots
* Add live slots iterator
2020-03-05 10:58:00 -08:00
Jack May
5e3ce30d02
Pass the correct program_id to programs ( #8630 )
2020-03-05 10:57:35 -08:00
Jack May
97c5fb8141
Allow passing of program_ids to programs ( #8639 )
2020-03-05 10:57:12 -08:00
sakridge
0e3a8fa6d9
Add retransmit_stage diagram ( #8645 )
2020-03-05 10:12:02 -08:00
Michael Vines
5eae76c66e
Remove solana-archiver from release artifacts
2020-03-05 11:01:53 -07:00
Greg Fitzgerald
849f79e4ed
Delete Archiver installation docs ( #8665 )
2020-03-05 11:00:00 -07:00
Grimes
ff7cf839d8
Choose a cluster before checking balances ( #8666 )
...
automerge
2020-03-05 09:37:16 -08:00
Grimes
f3cbd243cc
Fix docs build ( #8663 )
...
automerge
2020-03-05 09:33:46 -08:00
Michael Vines
f146c92e88
Always and fully normalize stored 0-lamport accts. ( #8657 )
2020-03-05 09:14:40 -07:00
Michael Vines
fb2620b3a5
Set ignore_conflicts, the new mergify behaviour is worse
2020-03-05 08:44:20 -07:00
Trent Nelson
fd00e5cb35
Store FeeCalculator with blockhash in nonce accounts ( #8650 )
...
* Copy current state version to v0
* Add `FeeCalculator` to nonce state
* fixup compile
* Dump v0 handling...
Since we new account data is all zeros, new `Current` versioned accounts
look like v0. We could hack around this with some data size checks, but
the `account_utils::*State` traits are applied to `Account`, not the
state data, so we're kind SOL...
* Create more representative test `RecentBlockhashes`
* Improve CLI nonce account display
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Fix that last bank test...
* clippy/fmt
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-03-05 07:40:26 -07:00
Grimes
44fde2d964
genesis: Add support for multiple bootstrap validators ( #8656 )
...
automerge
2020-03-04 23:42:01 -08:00
Michael Vines
448b957a13
Add --bind-address and --rpc-bind-address validator arguments ( #8628 )
2020-03-04 22:46:43 -07:00
Grimes
01607b9860
Add NextSlotsIterator ( #8652 )
...
automerge
2020-03-04 20:46:58 -08:00
sakridge
23d8c7ff0e
Generate a snapshot at synchronized points ( #8532 )
...
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2020-03-04 19:23:40 -08:00
Grimes
b321da00b4
Nit: Use accessor function ( #8647 )
...
automerge
2020-03-04 18:26:58 -08:00
carllin
dec3da8f9d
Add orphan iterator ( #8636 )
2020-03-04 18:10:30 -08:00
Grimes
80aae18794
Nit: Update native loader to iterate accounts ( #8640 )
...
automerge
2020-03-04 17:10:22 -08:00
Michael Vines
1f2aaf3f98
Generate CLI usage ( #8637 )
...
* Generate CLI usage
* Apply review feedback
2020-03-04 17:44:30 -07:00
Greg Fitzgerald
2534a028c0
Move docs to imperative mood ( #8643 )
...
* Move docs to imperative tone
* Apply review feedback
2020-03-04 17:42:22 -07:00
Grimes
fc409d9262
Consistency nits and spelling ( #8642 )
...
automerge
2020-03-04 16:26:32 -08:00
sakridge
b70d195473
Connect partition flag to validators ( #8622 )
2020-03-04 16:18:45 -08:00
Grimes
7eedff2714
Install Solana before using it ( #8638 )
...
automerge
2020-03-04 15:21:42 -08:00
sakridge
6d9185d121
Update TVU drawing ( #8611 )
2020-03-04 15:16:35 -08:00
Grimes
f89c22b5ee
solana catchup now detects when you try to catchup to yourself (#8635 )
...
automerge
2020-03-04 14:44:21 -08:00
carllin
f23dc11a86
compute_bank_stats needs to return newly computed ForkStats ( #8608 )
...
* Fix broken confirmation, add test
2020-03-04 11:49:56 -08:00
Grimes
09a0325534
catchup now supports an optional RPC URL argument for validators with private RPC (#8629 )
...
automerge
2020-03-04 11:44:13 -08:00
Jack May
408d5da50f
Add test for program_ids passed in metas ( #8618 )
2020-03-04 11:13:33 -08:00
Trent Nelson
561808cf90
SDK: Store FeeCalculator in recent_blockhashes sysvar ( #8609 )
...
* SDK: Store FeeCalculators in recent_blockhashes sysvar
* nits
2020-03-04 12:01:32 -07:00
Jack May
25df95be6f
Expose executable and rent_epoch in AccountInfo ( #8619 )
2020-03-04 10:52:09 -08:00
Jack May
b85d7c1f70
Fix account tests ( #8615 )
2020-03-04 10:40:41 -08:00
Jack May
642720a2fe
nit: describe the root program id ( #8621 )
2020-03-04 08:55:01 -08:00
Trent Nelson
1cc7131bb7
Consolidate Nonce state under one struct ( #8624 )
...
automerge
2020-03-04 08:51:48 -08:00
Tyera Eulberg
8f60f1093a
Fix sendTransaction doc ( #8625 )
...
automerge
2020-03-04 08:23:29 -08:00
Michael Vines
d3b458dd9b
Keep GenesisConfig binary compatible with v0.23 ( #8617 )
...
automerge
2020-03-04 00:04:44 -08:00
Michael Vines
a08e2cc434
nit: clean up MessageHeader output
2020-03-04 00:16:19 -07:00
Trent Nelson
b83a0434a4
Prepare for multiple nonce account state versions ( #8612 )
...
automerge
2020-03-03 21:19:09 -08:00
sakridge
b68b74ac32
Check transaction signatures in entry verify ( #8596 )
2020-03-03 20:49:51 -08:00
sakridge
b084c1d437
Remove accounts hack and correctly restore accounts store counts ( #8569 )
...
* Remove accounts hack and correctly restore append-vec counts
* Add test
2020-03-03 20:48:55 -08:00
sakridge
63ed892502
Remove flaky merkle timing test ( #8602 )
2020-03-03 19:26:38 -08:00
Trent Nelson
1cb6101c6a
SDK: Add versioning to nonce state ( #8607 )
2020-03-03 19:39:09 -07:00
Trent Nelson
be0cc0273f
SDK: Re-org nonce state module to facilitate versioning ( #8603 )
...
automerge
2020-03-03 17:00:39 -08:00
Michael Vines
abf33b3b3b
Add commitment flag to vote-account and validators commands ( #8597 )
2020-03-03 17:53:30 -07:00
Jack May
d9b0490f72
Update rust-bpf to include matching cargo ( #8598 )
2020-03-03 14:14:31 -08:00
Michael Vines
caa70d2bca
Remove v0.23 as a backport target
2020-03-03 15:10:06 -07:00
sakridge
4f05f08f5d
Use fs::rename which is much faster than move_items ( #8579 )
2020-03-03 10:03:17 -08:00
Trent Nelson
0c76b89e55
Fix c/p error. We want a rent sysvar account here ( #8559 )
2020-03-03 09:49:02 -07:00
Greg Fitzgerald
08ab4b93ea
Add Ledger wallet installation instructions ( #8581 )
...
automerge
2020-03-03 08:12:29 -08:00
Ryo Onodera
f0028b6972
Remove trailing white space
2020-03-03 18:27:07 +09:00
HM
b6553357f9
watchtower: flag to suppress duplicate notifications ( #8549 )
...
* watchtower: send error message as notification
* watchtower: send all clear notification when ok again
* watchtower: add twilio sms notifications
* watchtower: flag to suppress duplicate notifications
* remove trailing space character
* changes as per suggestion on PR
* all changes together
* cargo fmt
2020-03-02 23:37:57 -07:00
Ryo Onodera
d86103383a
Do periodic inbound cleaning for rooted slots ( #8436 )
...
* Do periodic inbound compaction for rooted slots
* Add comment
* nits
* Consider not_compacted_roots in cleanup_dead_slot
* Renames in AccountsIndex
* Rename to reflect expansion of removed accounts
* Fix a comment
* rename
* Parallelize clean over AccountsIndex
* Some niceties
* Reduce locks and real chunked parallelism
* Measure each step for sampling opportunities
* Just noticed par iter is maybe lazy
* Replace storage scan with optimized index scan
* Various clean-ups
* Clear uncleared_roots even if no updates
2020-03-03 14:57:25 +09:00
Trent Nelson
1265afebbb
SDK: Return a full RecentBlockhashes for tests ( #8580 )
...
automerge
2020-03-02 18:44:29 -08:00
Michael Vines
306783c661
Don't advertise the snapshot that the node was loaded from
...
snapshot_packager_service will remove this snapshot hash from gossip
when it starts
2020-03-02 18:58:53 -07:00
Justin Starry
8ec8204a30
Run pubsub test poller in tokio runtime ( #8494 )
2020-03-03 09:44:39 +08:00
Trent Nelson
8cf3ef895d
Prevent trailing space in CLI usage docs generation ( #8578 )
...
automerge
2020-03-02 16:37:38 -08:00
Tyera Eulberg
e4498adb1f
Make block-time more human-readable ( #8575 )
2020-03-02 14:58:15 -08:00
Michael Vines
42c5c59800
Only gossip packaged snapshots
2020-03-02 14:17:17 -07:00
carllin
8ef8c9094a
Add ReplayStage changes for checking switch threshold ( #8504 )
...
* Refactor for supporting switch threshold check
2020-03-02 12:43:43 -08:00
Tyera Eulberg
8dc4724340
Allow stake lockup fields to be updated independently ( #8568 )
...
* Make Lockup fields optional for SetLockup instruction
* Use LockupArgs in cli
* Include lockup timestamp in stake-account print
2020-03-02 12:28:43 -08:00
Michael Vines
13551885c2
--wait-for-supermajority now requires a SLOT
2020-03-02 12:59:35 -07:00
Michael Vines
d677e83ed4
Add ---no-untrusted-rpc flag
2020-03-02 11:49:38 -07:00
Ryo Onodera
5d9130a3c4
Hack to skip cleanup_dead_slots upon snapshot load
2020-03-02 10:24:12 -07:00
Michael Vines
1ca4913328
Avoid is_x86_feature_detected when not building for x86
2020-03-01 18:10:43 -07:00
Trent Nelson
b7614abb9e
Docs: Update CLI offline cmds ( #8548 )
...
* Docs: Update CLI usage
* Docs: Add script to generate offline command links
* Docs: Update list of commands supporting offline signing
* Docs: Omit deprecated `pay` command from offline command list
2020-03-01 17:20:37 -07:00
Michael Vines
862a4a243f
Demote gossip responder error log messages to info!
2020-03-01 10:43:20 -07:00
Sunny Gleason
db291234ed
feat: implement websocket_url as a get/set-able global parameter w/ value computation
2020-03-01 01:07:45 -07:00
Michael Vines
2a5605db24
Reduce max snapshot hashes to stay under MTU
2020-02-29 09:21:52 -07:00
Michael Vines
b4362cc18b
Log RPC node root slot
2020-02-29 09:21:52 -07:00
carllin
6a5a6387e2
Fix skipping own leader slots ( #8533 )
...
automerge
2020-02-29 00:05:35 -08:00
Michael Vines
0f31adeafb
GET for /snapshot.tar.bz2 now redirects to the latest snapshot
2020-02-28 23:23:59 -07:00
Michael Vines
ae817722d8
Include validator version in log
2020-02-28 23:23:59 -07:00
Trent Nelson
90bedd7e06
Split signature throughput tracking out of FeeCalculator ( #8447 )
...
* SDK: Split new `FeeRateGovernor` out of `FeeCalculator`
Leaving `FeeCalculator` to *only* calculate transaction fees
* Replace `FeeCalculator` with `FeeRateGovernor` as appropriate
* Expose recent `FeeRateGovernor` to clients
* Move `burn()` back into `FeeCalculator`
Appease BPF tests
* Revert "Move `burn()` back into `FeeCalculator`"
This reverts commit f3035624307196722b62ff8b74c12cfcc13b1941.
* Adjust BPF `Fee` sysvar test to reflect removal of `burn()` from `FeeCalculator`
* Make `FeeRateGovernor`'s `lamports_per_signature` private
* rebase artifacts
* fmt
* Drop 'Recent'
* Drop _with_commitment variant
* Use a more portable integer for `target_signatures_per_slot`
* Add docs for `getReeRateCalculator` JSON RPC method
* Don't return `lamports_per_signature` in `getFeeRateGovernor` JSONRPC reply
2020-02-28 13:27:01 -07:00
Michael Vines
7d27be2a73
Upgrade to Rust 1.41.1
2020-02-28 10:10:42 -07:00
Michael Vines
74da2de3b7
Ensure the validator's identity pubkey is not provided as a --trusted-validator ( #8525 )
...
automerge
2020-02-27 20:26:53 -08:00
Tyera Eulberg
35db70a56c
Use legit solana message in verify ( #8513 )
2020-02-27 19:23:28 -07:00
Michael Vines
7dac8e2dde
Reorder InstructionError to remain compatible with v0.23
2020-02-27 18:05:12 -07:00
Justin Starry
82c6992d6f
Import Tour de SOL docs ( #8516 )
...
* Import Tour de SOL docs
* Fix checks
* Fix docs/build.sh
2020-02-28 09:03:14 +08:00
Greg Fitzgerald
4831c7b9af
Remove granularity from genesis ( #8514 )
2020-02-27 17:45:10 -07:00
Ryo Onodera
113db8d656
Improve net/README.md a bit ( #8503 )
2020-02-28 08:00:54 +09:00
Jack May
de6679ea95
Improve install messaging ( #8477 )
2020-02-27 14:07:36 -08:00
Tyera Eulberg
0b66ae5c53
Ledger messaging cleanup ( #8506 )
2020-02-27 12:23:13 -07:00
Greg Fitzgerald
61a20febb9
Set withdrawer keys ( #8499 )
2020-02-27 07:32:35 -07:00
Justin Starry
29f81577e9
Fix cluster economics figures and spelling in docs ( #8502 )
2020-02-27 18:15:17 +08:00
Michael Vines
3acf956f6f
Fix test_concurrent_snapshot_packaging
2020-02-26 23:32:53 -07:00
Michael Vines
87b13bef8e
Remove bank_slot_from_archive
2020-02-26 23:32:53 -07:00
Michael Vines
0d4cb252c4
Adapt local-cluster/
2020-02-26 23:32:53 -07:00
Michael Vines
fcabc6f799
Rename snapshot.tar.bz2 to snapshot-<slot>-<hash>.tar.bz2
2020-02-26 23:32:53 -07:00
Michael Vines
848c43a9ab
Peg snapshot version to 1.0.0
2020-02-26 22:44:39 -07:00
carllin
5f766cd20b
Remove loop ( #8493 )
2020-02-26 19:59:28 -08:00
Michael Vines
8c07ba635e
Cargo.lock
2020-02-26 20:47:43 -07:00
Michael Vines
bb07aecfec
Cargo.lock
2020-02-26 20:47:43 -07:00
Michael Vines
27c5ec0149
Use the same reqwest features across the repo
2020-02-26 20:47:43 -07:00
Vladimir Komendantskiy
4f01db0482
fix reqwest json issue
2020-02-26 20:47:43 -07:00
Michael Vines
f2f8a7a90e
Reference the v1.0.0 installer
2020-02-26 19:20:42 -07:00
Justin Starry
e743414908
Choose more appropriate options for pubsub websocket server ( #8354 )
...
* Choose more sensible options for pubsub websocket server
* Increase max payload size for pubsub service
2020-02-27 08:54:53 +08:00
Tyera Eulberg
f6f0f94e17
Add flag to confirm key on device ( #8478 )
2020-02-26 15:24:44 -07:00
carllin
d47a47924a
Update voting simulation ( #8460 )
2020-02-26 14:09:07 -08:00
carllin
7a2bf7e7eb
Limit leader schedule search space ( #8468 )
...
* Limit leader schedule search space
* Fix and add test
* Rename
2020-02-26 13:35:50 -08:00
Michael Vines
d5a7867087
Validate the genesis config downloaded over RPC before accepting it
2020-02-26 14:21:37 -07:00
Michael Vines
fbf78b83c4
Add retry mechanism when downloading genesis and snapshots
2020-02-26 14:21:37 -07:00
sakridge
2c63cf3cbd
Add curie pubkey to authorized keys ( #8473 )
...
automerge
2020-02-26 10:27:37 -08:00
Tyera Eulberg
3b648e71e6
Ledger hardware wallet docs ( #8472 )
...
* Update protocol documentation
* Correct app-version command const
* Rough initial Ledger docs
* Add more docs
* Cleanup
* Add remote-wallet to docs TOC
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-02-26 11:04:28 -07:00
Justin Starry
021d0a46f8
Move docs from book/ to docs/ ( #8469 )
...
automerge
2020-02-26 07:11:38 -08:00
Justin Starry
8839dbfe5b
Use runtime executor to send pubsub notifications ( #8353 )
...
automerge
2020-02-25 20:23:54 -08:00
Michael Vines
407d058611
live-slots now displays the rate the root slot is advancing
2020-02-25 20:59:05 -07:00
Greg Fitzgerald
c6a7f499ce
Allow withdrawer to change the authorized stake key ( #8456 )
2020-02-25 19:03:26 -07:00
carllin
d821fd29d6
Add versioning ( #8348 )
...
automerge
2020-02-25 17:12:01 -08:00
Tyera Eulberg
6b99ab3a57
Ledger key path rework ( #8453 )
...
automerge
2020-02-25 16:41:21 -08:00
sakridge
004f1d5aed
Combine replay stage memory reporting ( #8455 )
...
automerge
2020-02-25 16:04:27 -08:00
sakridge
1caeea8bc2
Refactor new bank paths into common function ( #8454 )
2020-02-25 15:49:59 -08:00
Raj Gokal
6ce4a1a18d
Update README.md
2020-02-25 14:41:14 -08:00
Ryo Onodera
0b48c8eb35
Promote dangerous cond. from just warning to panic ( #8439 )
2020-02-26 05:09:57 +09:00
Michael Vines
fef913085e
🐌 🐌 Publish crates for even longer longer
2020-02-25 09:23:04 -07:00
Michael Vines
2059af822d
Remove unnecessary new_banks_from_blockstore() argument ( #8433 )
...
automerge
2020-02-24 23:27:19 -08:00
Michael Vines
0fe74e95fe
Add --no-check-vote-account argument ( #8430 )
...
automerge
2020-02-24 22:54:51 -08:00
Tyera Eulberg
b7755123c1
Make solana root key accessible on Ledger ( #8421 )
...
* Use 44/501 key as ledger id
* Add error codes
2020-02-24 22:38:06 -07:00
carllin
39282be486
Determine vote_state ahead of time ( #8303 )
...
automerge
2020-02-24 19:27:04 -08:00
Jack May
b18e4057bb
Fix SDK deps
2020-02-24 17:25:48 -07:00
Tyera Eulberg
12a9b5f35e
CLI: collect and deduplicate signers ( #8398 )
...
* Rename (keypair util is not a thing)
* Add method to generate_unique_signers
* Cli: refactor signer handling and remote-wallet init
* Fixup unit tests
* Fixup intergation tests
* Update keypair path print statement
* Remove &None
* Use deterministic key in test
* Retain storage-account as index
* Make signer index-handling less brittle
* Cache pubkey on RemoteKeypair::new
* Make signer_of consistent + return pubkey
* Remove &matches double references
* Nonce authorities need special handling
2020-02-24 17:03:30 -07:00
Michael Vines
89baa94002
Drop print- prefix from slot/accounts command
2020-02-24 14:46:12 -07:00
Michael Vines
1ef3478709
Add genesis subcommand
2020-02-24 14:46:12 -07:00
Michael Vines
73063544bd
Move shred_version module to sdk/
2020-02-24 14:46:12 -07:00
Michael Vines
90240bf11d
r
2020-02-24 14:45:32 -07:00
Michael Vines
5c5a06198c
Refactor
2020-02-24 14:45:32 -07:00
Michael Vines
394933e53c
Fix up trusted validator snapshot selection
2020-02-24 14:45:32 -07:00
sakridge
b106d3ba60
Fix local cluster test, check for accounts hash ( #8411 )
2020-02-24 10:23:47 -08:00
sakridge
947a339714
Add snapshot hash of full accounts state ( #8295 )
...
* Add snapshot hash of full accounts state
* Use normal hashing for the accounts delta state
* Add merkle
2020-02-22 13:46:40 -08:00
Ryan Zhu
edb18349c9
Improve merkle-tree nodes capacity computing ( #8273 )
...
* Improve merkle-tree nodes capacity computing
* Add test cases for math compute of merkle-tree nodes capacity
2020-02-22 11:12:37 -07:00
Trent Nelson
9dcb965959
Reinstate create-stale-account w/ seed test ( #8401 )
...
automerge
2020-02-22 08:54:29 -08:00
dependabot-preview[bot]
72ae82fe47
Bump crossbeam-channel from 0.3.9 to 0.4.2 ( #8400 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.3.9 to 0.4.2.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/v0.4.2/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.3.9...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-22 09:53:38 -07:00
Dan Albert
2d9d2f1e99
Update cargo versions from 1.0 to 1.1 ( #8397 )
2020-02-21 23:09:45 -08:00
Greg Fitzgerald
dc02f2ea8b
Add support for large transactions with Ledger Wallet ( #8394 )
2020-02-21 23:24:56 -07:00
sakridge
b7386f9d84
Add --trusted-validator support for snapshot hash validation ( #8390 )
2020-02-21 18:42:24 -08:00
Michael Vines
223f9707ca
\
2020-02-21 18:09:36 -07:00
Michael Vines
ea5b00364f
Add --enable-warmup-epochs flag
2020-02-21 16:59:43 -07:00
Michael Vines
fb98df76b7
4x DEFAULT_MAX_LEDGER_SLOTS to give nodes 3 hours of slots to repair from ( #8388 )
...
automerge
2020-02-21 15:04:02 -08:00
Tyera Eulberg
4ddbf8d509
CLI: dynamic signing reboot ( #8384 )
...
* Add keypair_util_from_path helper
* Cli: impl config.keypair as a trait object
* SDK: Add Debug and PartialEq for dyn Signer
* ClapUtils: Arg parsing from pubkey+signers to Presigner
* Impl Signers for &dyn Signer collections
* CLI: Add helper for getting signers from args
* CLI: Replace SigningAuthority with Signer trait-objs
* CLI: Drop disused signers command field
* CLI: Drop redundant tests
* Add clap validator that handles all current signer types
* clap_utils: Factor Presigner resolution to helper
* SDK: `From` for boxing Signer implementors to trait objects
* SDK: Derive `Clone` for `Presigner`
* Remove panic
* Cli: dedup signers in transfer for remote-wallet ergonomics
* Update docs vis-a-vis ASK changes
* Cli: update transaction types to use new dynamic-signer methods
* CLI: Fix tests No. 1
what to do about write_keypair outstanding
* Work around `CliConfig`'s signer not necessarily being a `Keypair`
* CLI: Fix tests No. 2
* Remove unused arg
* Remove unused methods
* Move offline arg constants upstream
* Make cli signing fallible
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-02-21 14:55:53 -07:00
Pankaj Garg
aa80f69171
Promote some datapoints to info to fix dashboard ( #8381 )
...
automerge
2020-02-21 13:41:49 -08:00
Jack May
0ace22d03f
Optimize account verification ( #8385 )
2020-02-21 13:28:35 -08:00
Jack May
0e6aca5a7e
Reorganize message processor in prep for cross-program-invocation ( #8338 )
2020-02-21 11:30:00 -08:00
Greg Fitzgerald
3f04226864
Update unlocks ( #8363 )
2020-02-21 11:23:03 -07:00
dependabot-preview[bot]
d308eed136
Bump ctrlc from 3.1.3 to 3.1.4
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/commits/3.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-21 09:00:14 -07:00
Michael Vines
ed1149c8e0
Update supported backport labels
2020-02-21 00:47:44 -07:00
Michael Vines
48f58a88bc
Bump version to 1.0.0
2020-02-20 23:52:19 -07:00
Ryo Onodera
d238371b0c
Correct missing entry handling to avoid bad warns ( #8339 )
...
* Correct missing entry handling to avoid bad warns
* Pass storage entries to AccountStorageSerialize
* Fix CI.....
* Add tests and reorder condition for cheapest first
* Remove unneeded reference
2020-02-21 15:27:55 +09:00
Tyera Eulberg
0b7e8d0162
Add handling for fallible signers ( #8367 )
...
automerge
2020-02-20 19:04:53 -08:00
Michael Vines
18fd52367e
If the node was loaded from a snapshot, advertise it in gossip ( #8364 )
...
automerge
2020-02-20 18:53:26 -08:00
Michael Vines
2d665da3e1
Flip Stable and Preview enum values
2020-02-20 18:27:33 -07:00
Ryo Onodera
5ef06a9d36
Add non-bz2 snapshot for faster creation for dev. ( #8350 )
...
* Add non-bz2 snapshot for faster creation for dev.
* Fix tests..
* Revert and always just use snapshot.tar.bz2
2020-02-21 10:19:45 +09:00
Michael Vines
f4622d67e9
Submit all metrics in one HTTP POST rather than a HTTP POST per level
2020-02-20 18:12:30 -07:00
dependabot-preview[bot]
b65c9ea544
Bump serial_test_derive from 0.3.2 to 0.4.0 ( #8311 )
...
Bumps [serial_test_derive](https://github.com/palfrey/serial_test ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.3.2...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-20 17:06:00 -07:00
Michael Vines
cc7c6c960e
Search for the validator with the highest snapshot
2020-02-20 17:04:48 -07:00
Justin Starry
01697a9f5c
Remove unnecessary arc and mutex for rpc notifications ( #8351 )
2020-02-21 08:03:46 +08:00
Tyera Eulberg
ab361a8073
Rename KeypairUtil to Signer ( #8360 )
...
automerge
2020-02-20 13:28:55 -08:00
Trent Nelson
ec5c02cb7f
Book: Add instructions for verifying a paper wallet keypair ( #8357 )
2020-02-20 14:19:35 -07:00
Greg Fitzgerald
e8124324ff
Support transaction signing by heterogenous lists of keypairs ( #8342 )
...
automerge
2020-02-20 12:13:23 -08:00
sakridge
1720fe6a46
Snapshot hash gossip changes ( #8358 )
2020-02-20 11:46:13 -08:00
Pankaj Garg
e50bc0d34b
Do not compress small incomplete slot list ( #8355 )
...
automerge
2020-02-20 09:48:39 -08:00
Michael Vines
45774dc4aa
Fix comment
2020-02-20 10:32:36 -07:00
Pankaj Garg
ea8d9d1aea
Bitwise compress incomplete epoch slots ( #8341 )
2020-02-19 20:24:09 -08:00
Sagar Dhawan
221866f74e
Process Gossip in parallel and add an upper limit ( #8328 )
2020-02-19 21:31:55 -06:00
Michael Vines
3e96d59359
Use correct static IP address
2020-02-19 18:15:18 -07:00
Michael Vines
8c19b6268c
Add Preview operating mode, rename SoftLaunch operating mode to Stable ( #8331 )
...
automerge
2020-02-19 16:48:58 -08:00
Michael Vines
8ae26867c5
More testnet->devnet
2020-02-19 16:15:38 -07:00
Michael Vines
19baaea0da
Remove validators from genesis ( #8330 )
...
automerge
2020-02-19 14:40:07 -08:00
Michael Vines
e3cebcf82d
rename testnet.solana.com to devnet.solana.com
2020-02-19 15:33:14 -07:00
anatoly yakovenko
ccad5d5aaf
change warnings to infos ( #8322 )
2020-02-19 14:25:49 -08:00
carllin
d0bcde001e
New Repair Design ( #8256 )
...
* New Repair Design
2020-02-19 01:02:09 -08:00
Michael Vines
83a8e82626
Remove dead code
2020-02-18 21:08:43 -07:00
Michael Vines
7305a1f407
Reformatting
2020-02-18 21:08:43 -07:00
Michael Vines
3975c7f8c9
Add --fee-burn-percentage
2020-02-18 17:43:08 -07:00
Pankaj Garg
ac1d075d73
Drop packet if destination is unspecified (0.0.0.0/0) ( #8321 )
2020-02-18 16:14:20 -08:00
carllin
73a278dc64
Factor out creating genesis with vote accounts into a utility function ( #8315 )
...
automerge
2020-02-18 02:39:47 -08:00
Michael Vines
a042ee609a
Update README.md
2020-02-17 22:19:55 -07:00
Pankaj Garg
0d5c1239c6
Update epoch slots to include all missing slots ( #8276 )
...
* Update epoch slots to include all missing slots
* new test for compress/decompress
* address review comments
* limit cache based on size, instead of comparing roots
2020-02-17 12:39:30 -08:00
Ryo Onodera
027ec71aa9
Remove AccountInfo's (De)Serialize ( #8313 )
...
automerge
2020-02-17 03:07:36 -08:00
Ryo Onodera
ef718c651e
Remove needless uses ( #8312 )
...
automerge
2020-02-17 02:43:14 -08:00
Tyera Eulberg
fc2a0d53d9
CLI: Add optional airdrop recipient ( #8291 )
...
* CLI: Add optional airdrop recipient
* Update book usage page
2020-02-16 11:41:00 -07:00
dependabot-preview[bot]
bb47844ae6
Bump thiserror from 1.0.10 to 1.0.11 ( #8288 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-15 17:59:13 -07:00
Tyera Eulberg
b997d3eb4e
Cli: Remove units from various subcommands ( #8301 )
...
* Cli: Remove unit arg from various subcommands
* Update book usage page
* Update scripts and docs
2020-02-15 12:53:52 -07:00
Michael Vines
9bcca268a3
Add simple gossip DoS test
2020-02-14 22:40:35 -07:00
Michael Vines
8a2d4e2f72
Add storage rewards pools in development mode only
2020-02-14 21:12:38 -07:00
Michael Vines
335675c51c
install: support vX.Y.Z in addition to X.Y.Z ( #8297 )
...
automerge
2020-02-14 19:35:40 -08:00
Michael Vines
1bf2285fa2
ledger-tool: Add print-accounts command
2020-02-14 19:59:48 -07:00
Jack May
71f77a8e0a
Remove Exchange program's use of GenericError ( #8290 )
...
automerge
2020-02-14 14:52:13 -08:00
Jack May
644a7f9a44
Remove Move Loader's use of GenericError ( #8289 )
...
automerge
2020-02-14 14:49:21 -08:00
Jack May
965361ff69
Remove failure's use of GenericError ( #8287 )
...
automerge
2020-02-14 14:07:53 -08:00
Jack May
4593d333c7
Remove BPF Loader's use of GenericError ( #8284 )
2020-02-14 13:59:03 -08:00
Jack May
940519ea5a
Remove Native Loader's use of GenericError ( #8285 )
2020-02-14 13:58:48 -08:00
Jack May
a0bcbf70d5
Cleanup new_result_with_negative_lamports ( #8286 )
2020-02-14 13:58:33 -08:00
anatoly yakovenko
17fb8258e5
Datapoints overwhelm the metrics queue and blow up ram usage. ( #8272 )
...
automerge
2020-02-14 11:11:55 -08:00
Tyera Eulberg
c350543b46
Make generate_remote_keypair more generic for potential other remote-wallets ( #8274 )
2020-02-14 09:38:35 -07:00
Trent Nelson
5b4ecb01ca
Presigner KeypairUtil implementer ( #8269 )
...
automerge
2020-02-13 16:53:09 -08:00
Dan Albert
28b115497f
Update setup-dc-node-1.sh
2020-02-13 14:30:41 -07:00
dependabot-preview[bot]
0604029661
Bump parking_lot from 0.7.1 to 0.10.0 ( #8262 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.7.1 to 0.10.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.7.1...0.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-13 14:24:37 -07:00
Tyera Eulberg
2374cf09e2
Enable remote-wallet signing in solana-keygen ( #8267 )
...
* Add fallible methods to KeypairUtil
* Add RemoteKeypair struct and impl KeypairUtil
* Implement RemoteKeypair in keygen; also add parse_keypair_path for cleanup
2020-02-13 14:08:34 -07:00
Michael Vines
ab475e4849
get_confirmed_block: expect() less
2020-02-13 10:56:34 -07:00
Justin Starry
1c97b31eaf
Retain signature subscriptions that haven't been notified ( #8261 )
2020-02-14 01:00:50 +08:00
Ryo Onodera
bd257050e3
Retry to curl to codecov.io unfortunately ( #8263 )
...
automerge
2020-02-13 06:23:10 -08:00
Michael Vines
2d362ed337
Remove references to old unused testnets ( #8258 )
...
automerge
2020-02-12 22:23:35 -08:00
Trent Nelson
cb7117beac
CLI: Offline-ify remaining stake ops ( #8257 )
...
automerge
2020-02-12 22:00:28 -08:00
Michael Vines
b358ff66e1
Plumb --enable-rpc-get-confirmed-block flag
2020-02-12 17:08:27 -07:00
Tyera Eulberg
6309c97697
Add CliCommand::StakeSetLockup ( #8248 )
...
automerge
2020-02-12 15:36:29 -08:00
Ryo Onodera
58727463e1
Remove needless last_root for better reclaims ( #8148 )
...
* Restore last_root to fix unintended storage delete
* Remove last_root thing altogether
* Remove unneeded test...
2020-02-13 08:19:53 +09:00
Greg Fitzgerald
741d148a0d
Simplify remote wallet ( #8249 )
...
automerge
2020-02-12 14:38:51 -08:00
Greg Fitzgerald
127553ce4b
Wrap ed25519_dalek::Keypair ( #8247 )
2020-02-12 14:15:12 -07:00
Michael Vines
ecb055a252
Expel ContactInfo::new() ( #8245 )
...
automerge
2020-02-12 12:58:51 -08:00
dependabot-preview[bot]
dfa6fbaa0c
Bump cbindgen from 0.13.0 to 0.13.1 ( #8233 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.13.0...v0.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-12 12:25:39 -07:00
Michael Vines
cf11d4c7dc
Nodes with a tvu and storage port are no longer double counted ( #8237 )
...
automerge
2020-02-12 11:16:07 -08:00
Michael Vines
d0a4686990
Avoid assigning the serve repair port to the storage port
2020-02-12 12:00:11 -07:00
Michael Vines
2542d5dd42
Bump baseline version to 0.23.4, improve error reporting
2020-02-12 11:59:12 -07:00
Michael Vines
1e0f2b2446
Quash 'repair listener error: Err(RecvTimeoutError(Timeout))' log spam
2020-02-12 10:35:03 -07:00
sakridge
a8028fbb93
Fix accounts_db store counts in purging accounts logic ( #8218 )
...
* Show insufficient purge_zero_lamport_account logic
* Add another pass to detect non-deleted values and increment the count
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-02-12 08:51:03 -08:00
Trent Nelson
ed87229cec
CLI: Don't hide errors when fees are disabled ( #8204 )
...
automerge
2020-02-11 21:48:04 -08:00
Michael Vines
c4fd81fc1c
The getConfirmedBlock RPC API is now disabled by default
...
The --enable-rpc-get-confirmed-block flag allows validators to opt-in to
the higher disk usage and IOPS.
2020-02-11 22:24:08 -07:00
Michael Vines
ad43babe3d
ABI sanity test for running edge,beta,stable validators together
2020-02-11 21:21:31 -07:00
Michael Vines
36c0cb052b
set_read_timeout() can fail, don't expect() it not to
2020-02-11 18:57:14 -07:00
Michael Vines
ed58bcda4c
solana-install init edge when "edge" is not currently installed now works
2020-02-11 18:57:14 -07:00
Justin Starry
268bb1b59b
Fix RPC pub sub unsubscribe ( #8208 )
...
automerge
2020-02-11 17:09:40 -08:00
Jack May
059764586a
Rename from account userdata to data ( #8224 )
2020-02-11 16:30:22 -08:00
Michael Vines
72b11081a4
Report validator rewards in getConfirmedBlock JSON RPC
2020-02-11 17:25:45 -07:00
Tyera Eulberg
0bbee9456f
Add method to sign raw data, enabling easier device app testing ( #8221 )
...
* Add method to sign raw data, enabling easier device app testing
* Rename ugly derivation method, params
2020-02-11 17:15:38 -07:00
dependabot-preview[bot]
fcac910989
Bump jsonrpc-pubsub from 14.0.5 to 14.0.6 ( #8162 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-pubsub-v14.0.5...ipc-14.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-11 15:44:21 -07:00
Jack May
2e9ba149f2
Update LVM and rBPF versions ( #8215 )
2020-02-11 12:52:13 -08:00
carllin
d3712dd26d
Factor repair from gossip ( #8044 )
2020-02-11 13:11:48 -07:00
Michael Vines
60877f9ba4
Revert "Check for AVX512 at runtime to avoid invalid opcode trap ( #8166 )"
...
This reverts commit ef5fb6fa46 .
2020-02-11 12:56:02 -07:00
Michael Vines
4f2c76150f
Clippy
2020-02-11 12:56:02 -07:00
Michael Vines
137577fb86
Upgrade to rust 1.41.0
2020-02-11 12:56:02 -07:00
Jack May
bf623219d2
nudge ( #8214 )
2020-02-11 10:50:57 -08:00
Tyera Eulberg
25d1f841ee
Fixup sign_transaction; pass derivation_path by reference ( #8194 )
...
* Fixup sign_transaction; pass derivation_path by reference
* Pass total message length as BE u16
* Remove live integration tests (to ledger-app-solana)
2020-02-11 11:45:00 -07:00
Jack May
517fe73734
Non-conflicting account duplicate marker value ( #8206 )
2020-02-11 10:03:28 -08:00
Ryo Onodera
890919d140
Reliably track proc macro & build.rs code coverage ( #8210 )
2020-02-12 01:02:40 +09:00
Michael Vines
33ea1e0edd
Channel installs no longer re-download the same release.
2020-02-11 08:22:41 -07:00
Ryo Onodera
7614af2a45
Verify frozen bank from snapshot by hashing ( #8184 )
2020-02-11 16:46:33 +09:00
Trent Nelson
1528959327
CLI: Add fee-payer parame to stake-split subcommand ( #8201 )
...
automerge
2020-02-10 23:23:54 -08:00
Ryo Onodera
46b6cedff4
Fix nightly clippy warnings ( #8199 )
...
automerge
2020-02-10 22:48:50 -08:00
Trent Nelson
8d8f28c1d0
CLI: transfer fix checks pubkeys ( #8198 )
...
automerge
2020-02-10 22:34:14 -08:00
Jack May
df782b93ae
Add is_writable to AccountInfo ( #8196 )
2020-02-10 21:33:29 -08:00
dependabot-preview[bot]
124f77cdb1
Bump jsonrpc-ws-server from 14.0.5 to 14.0.6 ( #8160 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-ws-server-v14.0.5...ipc-14.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-10 19:07:52 -07:00
Trent Nelson
fc15f74c3c
CLI: Harden offline signing and tests ( #8052 )
...
* CLI: Don't sanity-check stake account when offline
* Add test helper returning vote pubkey with validator
* Delegate to the BSL. No need to force
* Be sure our offline ops are truly offline
* Specify our authorities correctly
* checks
2020-02-10 18:59:05 -07:00
Pankaj Garg
1d06aa3b31
Remove repairman as its spamming cluster with unwanted repairs ( #8193 )
...
* Remove repairman as its spamming cluster with unwanted repairs
* remove obsolete test
2020-02-10 17:00:00 -08:00
carllin
0b263f8714
Fix larger than necessary allocations in streamer ( #8187 )
2020-02-10 11:49:07 -08:00
Michael Vines
84b3e12e1f
Minor logging improvements
2020-02-10 10:42:42 -07:00
dependabot-preview[bot]
669282ae69
Bump jsonrpc-http-server from 14.0.5 to 14.0.6 ( #8161 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-http-server-v14.0.5...ipc-14.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-10 10:30:32 -07:00
Ryo Onodera
485806c488
Just define BnakSlotDelta type alias ( #8186 )
...
automerge
2020-02-10 03:11:37 -08:00
Lazaridis
1412ee1ca6
add step "apt-get update", add package "libudev-dev" ( #8180 )
...
automerge
2020-02-08 14:45:07 -08:00
Michael Vines
ef5fb6fa46
Check for AVX512 at runtime to avoid invalid opcode trap ( #8166 )
...
automerge
2020-02-07 15:01:45 -08:00
Michael Vines
99432833d2
Remove reed-solomon-erasure from core/
2020-02-07 15:37:57 -07:00
Sagar Dhawan
fa00803fbf
Filter old CrdsValues received via Pull Responses in Gossip ( #8150 )
...
* Add CrdsValue timeout checks on Pull Responses
* Allow older values to enter Crds as long as a ContactInfo exists
* Allow staked contact infos to be inserted into crds if they haven't expired
* Try and handle oveflows
* Fix test
* Some comments
* Fix compile
* fix test deadlock
* Add a test for processing timed out values received via pull response
2020-02-07 12:38:24 -08:00
Michael Vines
04ef977509
Remove unwanted println
2020-02-07 12:59:00 -07:00
Trent Nelson
87c6508305
CLI: Implement transfer command ( #8108 )
...
* CLI: Add transfer subcommand
* Add tests
* checks
2020-02-07 12:16:35 -07:00
Tyera Eulberg
ed0c1d3b52
Ledger hardware wallet integration ( #8068 )
...
* Initial remote wallet module
* Add clap derivation tooling
* Add remote-wallet path apis
* Implement remote-wallet in solana-keygen
* Implement remote-wallet in cli for read-only pubkey usage
* Linux: Use udev backend; add udev rules tool
* Ignore Ledger live test
* Cli api adjustments
2020-02-07 11:26:56 -07:00
Michael Vines
8b5598fabd
Surface shred version more in tools ( #8163 )
...
automerge
2020-02-07 08:57:54 -08:00
Trent Nelson
5b070ad014
CLI: Support offline fee payers ( #8009 )
...
* CLI: Support offline fee-payer
* Add some knobs to test genesis/validator helpers
* Add tests
2020-02-07 09:14:26 -07:00
dependabot-preview[bot]
6246405afd
Bump memmap from 0.6.2 to 0.7.0 ( #8157 )
...
Bumps [memmap](https://github.com/danburkert/memmap-rs ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/danburkert/memmap-rs/releases )
- [Commits](https://github.com/danburkert/memmap-rs/compare/0.6.2...0.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-07 06:51:31 -07:00
Trent Nelson
27c8ba6afc
De-replicode Tower constructors ( #8153 )
...
automerge
2020-02-06 18:24:10 -08:00
Tyera Eulberg
b832a03315
Add libudev-dev to docker image to build remote-wallet ( #8149 )
...
automerge
2020-02-06 13:45:05 -08:00
Greg Fitzgerald
09686290bc
Grant custodian access to all locked up accounts ( #8139 )
2020-02-06 14:31:27 -07:00
Michael Vines
4aaa7b30ca
Update README.md
2020-02-06 13:19:30 -07:00
carllin
fe590da3b6
Revert "Factor repair from gossip ( #8044 )" ( #8143 )
...
This reverts commit e61257695f .
2020-02-06 11:44:20 -08:00
Sunny Gleason
a7fa92b372
feat: implementation of live-slots command ( #8129 )
2020-02-06 14:16:30 -05:00
Michael Vines
a25e57c397
Ignore flaky test_exchange_local_cluster ( #8146 )
...
automerge
2020-02-06 10:44:17 -08:00
dependabot-preview[bot]
eed676113e
Bump indexmap from 1.3.1 to 1.3.2 ( #8144 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-06 11:16:49 -07:00
dependabot-preview[bot]
b57f24f1bc
Bump tokio-codec from 0.1.1 to 0.1.2 ( #8126 )
...
Bumps [tokio-codec](https://github.com/tokio-rs/tokio ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-codec-0.1.1...0.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-06 11:16:29 -07:00
Rob Walker
0e084358b4
Fix slot_hashes documentation
2020-02-06 10:06:16 -07:00
François Garillot
f016c9a669
Maintenance : simplify a few patterns, remove unneeded dependencies ( #8137 )
...
* Simplify a few pattern matches
* Removing unneeded dependencies, upgrading internal version #s
net-shaper: Removing log, semver, serde_derive
bench-tps: Removing serde, serde_derive
banking-bench: Removing solana
ledger-tool: Removing bincode, serde, serde_derive
librapay: Removing solana, language_e2e_tests
log-analyzer: Removing log, semver, serde_derive
exchange: Removing solana
core: Removing crc, memmap, symlink, untrusted
perf: Removing serde_derive
genesis: Removing hex, serde_derive
sdk-c: Removing sha2
sys-tuner: Removing semver
bench-exchange: Removing bincode, bs58, env_logger, serde, serde_derive, untrusted, ws
btc_spv_bin: Removing serde_json
btc_spv: Removing chrono
bpf_loader: Removing serde
ledger: Removing dlopen, dlopen_derive, serde_derive
move_loader: Removing byteorder, libc, language_e2e_tests
ownable: Removing serde, serde_derive
client: Removing rand
archiver-utils: Removing rand_chacha
validator: Removing serde_json, tempfile
param_passing_dep: Removing solana
failure: Removing log
vest: Removing log
vote-signer: Removing bs58, serde
local-cluster: Removing symlink
keygen: Removing rpassword
install: Removing bs58, log
upload-perf: Removing log
runtime: Removing serde_json
stake: Removing rand
* Add modified Cargo.lock
* fixup! Simplify a few pattern matches
* fixup! Simplify a few pattern matches
2020-02-06 10:02:38 -07:00
dependabot-preview[bot]
59ba1df910
Bump tokio-fs from 0.1.6 to 0.1.7 ( #8124 )
...
Bumps [tokio-fs](https://github.com/tokio-rs/tokio ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.7/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-fs-0.1.6...tokio-0.1.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-05 16:27:32 -07:00
dependabot-preview[bot]
71a2c90f21
Bump tokio-io from 0.1.12 to 0.1.13 ( #8125 )
...
Bumps [tokio-io](https://github.com/tokio-rs/tokio ) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.13/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-io-0.1.12...tokio-0.1.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-05 14:02:33 -07:00
Jack May
8436457e75
Rename program_utils.rs ( #8127 )
2020-02-05 12:48:30 -08:00
Michael Vines
3ac0192d40
Better surface bank hash verification failures
2020-02-05 11:39:47 -07:00
Tyera Eulberg
3db159f616
CLI cosmetic: make config get and verbose prints consistent ( #8119 )
...
* CLI cosmetic: make config get and verbose prints consistent
* Make print format consistent across cli
2020-02-05 11:14:44 -07:00
Jack May
e21f5c784e
Add next_account_info() ( #8120 )
2020-02-04 17:04:26 -08:00
dependabot-preview[bot]
65c24db83c
Bump serde_json from 1.0.44 to 1.0.46 ( #8087 )
...
* Bump serde_json from 1.0.44 to 1.0.46
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.44...v1.0.46 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update Move's serde_json to v1.0.46
Co-authored-by: Jack May <jack@solana.com >
2020-02-04 16:59:23 -08:00
Pankaj Garg
ed5101b031
Generate max coding shreds when necessary ( #8099 )
...
* Generate max coding shreds when necessary
* test
2020-02-04 15:45:01 -08:00
dependabot-preview[bot]
1420628b28
Bump nix from 0.16.1 to 0.17.0 ( #8112 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits/v0.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-04 15:59:34 -07:00
Jack May
15ab966ed1
Move native program entrypoint out of instruction_processor_utils ( #8122 )
2020-02-04 14:54:49 -08:00
Jack May
b5a735878a
Sysvar account_into return program error rather than option ( #8121 )
2020-02-04 14:54:41 -08:00
Jack May
b6d09f1901
Add BPF program entrypoint return type ( #8111 )
2020-02-04 12:25:42 -08:00
sakridge
78f6ddc5b7
Fix spelling of verification in accounts_db ( #8117 )
...
automerge
2020-02-04 11:45:47 -08:00
Jack May
4e595e8e3c
Facilitate printing program errors from BPF programs ( #8109 )
2020-02-04 09:03:45 -08:00
Trent Nelson
79249360f7
CLI: Expose sign-only reply parsing helper ( #8107 )
...
automerge
2020-02-03 18:22:36 -08:00
Jack May
336d5136bf
Print more program error info to user when using CLI ( #8098 )
2020-02-03 17:14:53 -08:00
carllin
0c8cee8c4a
Refactor select_fork() to avoid clones and for clarity ( #8081 )
...
* Refactor select_fork() to avoid clones and for clarity
* Add test that fork weights are increasing
2020-02-03 16:48:24 -08:00
Michael Vines
4c0420b884
Delete uptime command, report total credits in solana validators instead
2020-02-03 16:55:33 -07:00
Ryo Onodera
0d7e093415
Broaden pattern in nits.sh to be less fragile ( #8090 )
...
* Broaden pattern in nits.sh to be less fragile
* Even more general matching
2020-02-04 08:53:01 +09:00
dependabot-preview[bot]
c835749563
Bump sys-info from 0.5.8 to 0.5.9 ( #8089 )
...
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs ) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/FillZpp/sys-info-rs/releases )
- [Changelog](https://github.com/FillZpp/sys-info-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FillZpp/sys-info-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-03 14:49:39 -07:00
sakridge
0172d2a065
Fix consensus threshold when new root is created ( #8093 )
...
When a new root is created, the oldest slot is popped off
but when the logic checks for identical slots, it assumes
that any difference means a slot was popped off the front.
2020-02-03 13:44:34 -08:00
Michael Vines
927f272f0e
Update book release version
2020-02-03 11:35:51 -07:00
Michael Vines
5e2891ae5d
e
2020-02-03 11:34:00 -07:00
Michael Vines
4f85481a2b
Add split-stake command
2020-02-03 11:14:08 -07:00
Michael Vines
d314e0395a
Disable windows update as windows build artifacts are turned off
2020-02-01 22:25:24 -07:00
Justin Starry
69a6d07371
Reduce rpc client pre-flight requests by setting max-age header ( #8082 )
...
automerge
2020-02-01 04:10:26 -08:00
Tyera Eulberg
fab8ef379f
Use solana-cli config keypair in solana-keygen ( #8074 )
...
* Use solana-cli config keypair in solana-keygen
* s/infile/keypair for consistency across modules and more generality across access methods
* Move config into separate crate
2020-01-31 19:27:37 -07:00
Greg Fitzgerald
408ef8b2cb
Cleanup staking doc ( #8064 )
2020-01-31 19:24:51 -07:00
Dan Albert
a2a2f1c2d2
Add new colo test cases using reduced node count ( #8078 )
...
automerge
2020-01-31 18:02:48 -08:00
Trent Nelson
dc2888c9a3
CLI: De-replicode SigningAuthority instatiation ( #8076 )
...
automerge
2020-01-31 16:30:37 -08:00
Trent Nelson
9739be9ecf
CLI: Fix stake-account auth withdrawer output ( #8071 )
...
automerge
2020-01-31 14:25:05 -08:00
carllin
e61257695f
Factor repair from gossip ( #8044 )
2020-01-31 14:23:50 -08:00
Sagar Dhawan
b9988b62e4
Filter repairman peers based on shred_version ( #8069 )
2020-01-31 14:00:19 -08:00
Michael Vines
d6b3961530
s/mint/faucet
2020-01-31 12:14:53 -07:00
Greg Fitzgerald
6d0be323ad
Update key ( #8062 )
...
automerge
2020-01-31 11:11:22 -08:00
Michael Vines
09256adbc3
Surface important error details
2020-01-31 12:09:41 -07:00
Michael Vines
8e3a7da596
Rewrite new() in terms of new_with_timeout()
2020-01-31 12:09:41 -07:00
Michael Vines
7d96510d17
Fix stake-account subcommand name
2020-01-31 12:09:41 -07:00
Jack May
0fd795a676
Remove program error footgun and cleaner developer experience ( #8042 )
2020-01-31 10:58:07 -08:00
Dan Albert
eff876881b
Remove asteroids and pacman from QA/dev testnet availability ( #8050 )
...
automerge
2020-01-31 10:26:25 -08:00
Justin Starry
9adf0d4ee0
Don't exit early if add. validators not found during gce.sh config
2020-01-31 08:34:10 -07:00
Michael Vines
3bc9789e8d
Remove support for 0.22.3 snapshots
2020-01-30 23:34:15 -07:00
carllin
fd207b6907
Fix stale gossip entrypoint ( #8053 )
2020-01-30 21:51:11 -08:00
Jack May
2226c1b75c
Add Rust BPF RefCell borrow helpers ( #8047 )
2020-01-30 20:40:27 -08:00
Michael Vines
a0964bb2c2
Make tds slots-per-epoch configurable
2020-01-30 21:37:16 -07:00
Michael Vines
b5383b8b54
Dial testnet down to a single node
2020-01-30 21:30:08 -07:00
dependabot-preview[bot]
39f86050a6
Bump cbindgen from 0.12.2 to 0.13.0
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.12.2...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-30 20:58:10 -07:00
Michael Vines
a03d441e6f
Add rpc port sanity checks, fix tests
2020-01-30 20:57:58 -07:00
Michael Vines
3900d09f6f
Employ rpc_port defaults
2020-01-30 20:57:58 -07:00
Michael Vines
e218f4e56e
Clean up Validator::new()
2020-01-30 20:57:58 -07:00
Michael Vines
81ba18eea6
Add --private-rpc flag
2020-01-30 20:57:58 -07:00
Trent Nelson
1671ece9df
Book: Prod the user to verify their new paper wallet ( #8048 )
2020-01-30 17:20:04 -07:00
Michael Vines
775fa0c968
Minor --expected-shred fix, clean up shred-related gossip log messages ( #8041 )
...
automerge
2020-01-30 13:22:05 -08:00
Jack May
dd276138c2
Add support for idiomatic error handling to BPF instruction processors ( #7968 )
2020-01-30 09:47:22 -08:00
Michael Vines
0c55b37976
Add different shred test to test_tvu_peers_and_stakes
2020-01-30 10:30:32 -07:00
Trent Nelson
966d077431
CLI: Disallow blockhash/fee-calc lookups when offline ( #7981 )
...
* CLI: Add BlockhashSpec to tighten control over --blockhash
* Use BlockhashSpec
* Add a matches-free constructor
* More descriptive naming
2020-01-30 09:21:32 -07:00
Justin Starry
400412d76c
Ignore slow archiver tests ( #8032 )
...
automerge
2020-01-30 08:17:36 -08:00
dependabot-preview[bot]
c7e77a2238
Bump indicatif from 0.13.0 to 0.14.0
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-30 08:58:00 -07:00
Sagar Dhawan
64c42e28dc
Add shred version filters to Crds Accessors ( #8027 )
...
* Add shred version filters to Crds Accessors
* Adopt entrypoint shred_version if one isn't provided
2020-01-30 00:15:37 -08:00
dependabot-preview[bot]
c2baf7b07d
Bump thiserror from 1.0.9 to 1.0.10
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.9...1.0.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-29 23:23:24 -07:00
dependabot-preview[bot]
a52a9afa3c
Bump console from 0.9.1 to 0.9.2
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.1...0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-29 23:22:44 -07:00
Jack May
669502ede7
Don't depend on user modifiable data to parse paramter buffer ( #8022 )
2020-01-29 21:49:42 -08:00
Jack May
b19f730527
Seperate RefCells lamports and data ( #8021 )
2020-01-29 21:15:04 -08:00
Jack May
d5ff5f4739
Update solana_rbpf v0.1.20 ( #8023 )
2020-01-29 21:14:49 -08:00
Michael Vines
1c82f84595
Add leader-schedule subcommand
2020-01-29 20:08:42 -07:00
Michael Vines
bea9cd9684
Add --expected-shred-version option
2020-01-29 20:08:42 -07:00
Michael Vines
1bc9a9c23b
Wait for supermajority by default, add --no-wait-for-supermajority flag to override
2020-01-29 20:08:42 -07:00
Michael Vines
c4faccc77f
getClusterNodes now excludes validators with a different shred version
2020-01-29 20:08:42 -07:00
Rob Walker
e6803daf10
Remove support for stake redelegation ( #7995 )
...
* Remove support for stake redelegation
* fixup
2020-01-29 17:59:14 -08:00
Justin Starry
effe6e3ff3
Log solana-validator args on startup to aid debugging
2020-01-29 08:27:52 -07:00
Rob Walker
0d6c233747
Add set_lockup to stake ( #7997 )
2020-01-28 20:59:53 -08:00
Michael Vines
015e696077
Solana keygen grind improvements ( #8008 )
...
automerge
2020-01-28 20:19:19 -08:00
Jack May
7faab2072c
Cleanup BPF use syntax ( #8001 )
2020-01-28 17:03:37 -08:00
Jack May
83718a3b3e
Cleanup runtime use syntax ( #8002 )
2020-01-28 17:03:20 -08:00
Trent Nelson
4a074133f7
CLI: Fix tests. sign_only requires a blockhash ( #8005 )
...
This is enforced by argument parsing and will be better enforced wholly
with #7981
2020-01-28 18:02:20 -07:00
Jack May
12eff5a2f9
Cleanup SDK use syntax ( #8004 )
2020-01-28 16:11:22 -08:00
carllin
4197cce8c9
Tower tests ( #7974 )
...
* Add testing framework for voting
2020-01-28 16:02:28 -08:00
Jack May
fed3817ed3
Update and fix transaction error documentation ( #7998 )
2020-01-28 15:59:50 -08:00
carllin
4ffd7693d6
Add lock to make sure slot-based locktree calls are safe ( #7993 )
2020-01-28 13:45:41 -08:00
Jack May
1596c961d9
Rust BPF program cleanup ( #7990 )
2020-01-27 18:27:44 -08:00
Michael Vines
fd7d5cbe0d
Fix compute_shred_version() ( #7989 )
...
automerge
2020-01-27 17:05:31 -08:00
sakridge
7058287273
Consensus fix, don't consider threshold check if.. ( #7948 )
...
* Consensus fix, don't consider threshold check if
lockouts are not increased
* Change partition tests to wait for epoch with > lockout slots
* Use atomic bool to signal partition
2020-01-27 16:49:25 -08:00
Michael Vines
912aafcefd
Reduce epoch duration from 2 weeks to 2 days
2020-01-27 10:34:55 -07:00
Dan Albert
2f34f433b3
Specify where VM images are coming from across GCE projects ( #7985 )
...
automerge
2020-01-27 08:17:21 -08:00
Michael Vines
1ff4dd9a9a
Remove show- prefix
2020-01-26 21:00:57 -07:00
Michael Vines
fdcaad96c7
Remove stray key
2020-01-26 14:35:33 -07:00
Trent Nelson
14a72b0fc0
CLI: --sign-only and --signer require --blockhash ( #7982 )
2020-01-26 10:06:21 -07:00
Trent Nelson
c13ab9f14e
CLI: Consolidate offline arg declarations ( #7979 )
...
automerge
2020-01-26 00:27:24 -08:00
Michael Vines
cff1bc6e71
s/dervied/derived/
2020-01-25 23:22:28 -07:00
Trent Nelson
bb6c4efe9b
CLI: Deterministic dummy keypair generation for SigningAuthority::Offline ( #7971 )
...
* CLI: Deterministic dummy keypair generation for SigningAuthority::Offline
* Add test
2020-01-25 22:14:07 -07:00
Dan Albert
c324e71768
Bump cargo toml versions to 0.24.0 ( #7976 )
2020-01-25 11:04:27 -06:00
Trent Nelson
e2570c98ee
CLI: Add authority to show-nonce-account output ( #7969 )
2020-01-25 07:21:23 -07:00
Michael Vines
b5125479ec
Bump perf libs to v0.18.0 for CUDA 10.2 support
2020-01-24 21:39:49 -07:00
Michael Vines
989355e885
Add ability to hard fork at any slot ( #7801 )
...
automerge
2020-01-24 17:27:04 -08:00
Michael Vines
a2f2c46f87
Ensure shred version is never 0
2020-01-24 17:41:20 -07:00
Dan Albert
605623baf5
Report last tower distance and add partition testcase ( #7929 )
...
automerge
2020-01-24 16:37:19 -08:00
Michael Vines
fdc452c536
Move testnet.solana.com and TdS to their own GCP projects
2020-01-24 16:26:54 -07:00
Jack May
1b391dd36b
Add account accessor functions ( #7966 )
2020-01-24 14:34:59 -08:00
Jack May
917067741a
Cleanup BPF SDK ( #7965 )
2020-01-24 13:41:14 -08:00
Jack May
34ed93d57c
Optimize account copies and use RefCell to handle duplicate accounts in BPF programs ( #7958 )
2020-01-24 10:54:26 -08:00
Rob Walker
d400a64b9a
Update tiny_bip39 ( #7959 )
...
automerge
2020-01-24 08:59:07 -08:00
Ryo Onodera
2c7447b73e
Secure sysvars under hash by freezing all strictly ( #7892 )
...
* Secure sysvars under hash by freezing all strictly
* Fix hash's non-idempotnet and add new test
* Clean up
* More cleanups
2020-01-24 16:10:32 +09:00
Michael Vines
c0f0fa24f8
Increase --wait-for-supermajority to wait for 75% online stake
2020-01-23 22:41:46 -07:00
Michael Vines
bda5f949bb
Add create-snapshot command
2020-01-23 22:21:27 -07:00
Ryo Onodera
992e985972
Add column for slot range of epoch to epoch-info ( #7954 )
...
automerge
2020-01-23 20:44:37 -08:00
Greg Fitzgerald
afaa359b0d
Reorg the book ( #7952 )
...
* Move application-oriented docs
* Reorg the book
* Fix build
* Apply review feedback
* verb-noun
2020-01-23 21:21:43 -07:00
Justin Starry
3c17db41dc
Add note to book about drone throughput limitations ( #7953 )
...
automerge
2020-01-23 18:50:25 -08:00
Michael Vines
d62ed4f6b3
Add BlockstoreProcessorResult
2020-01-23 16:52:47 -07:00
Dan Albert
79f3194d0c
Fix cli call to stakes ( #7946 )
...
automerge
2020-01-23 14:25:40 -08:00
Michael Vines
b045f9a50d
codemod --extensions rs get_snapshot_tar_path get_snapshot_archive_path
2020-01-23 13:37:13 -07:00
Michael Vines
ce231602dc
Move snapshot archive generation out of the SnapshotPackagerService
2020-01-23 13:37:13 -07:00
Michael Vines
6f5e0cd161
Type grooming
2020-01-23 13:37:13 -07:00
Michael Vines
1269a79a4d
Unify ledger_path arg handling with validator/
2020-01-23 13:37:13 -07:00
Michael Vines
1b3424ff61
Pass bank_forks by reference
2020-01-23 13:37:13 -07:00
Michael Vines
8b8033c72b
Set BankRc slot correctly when restoring a bank snapshot
2020-01-23 13:37:13 -07:00
Michael Vines
7ca0109732
--halt-at-slot 1 now halts at slot 1
2020-01-23 13:37:13 -07:00
Michael Vines
6b5172d002
add_snapshot now returns SlotSnapshotPaths
2020-01-23 13:37:13 -07:00
Michael Vines
9e19a635bb
Remove superfluous accounts arg
2020-01-23 13:37:13 -07:00
Dan Albert
15193d0e1f
Ensure all GCE nightly tests use dedicated instances ( #7944 )
...
automerge
2020-01-23 10:17:12 -08:00
Tyera Eulberg
f1c5c72e62
Fix transaction.md anchor links ( #7943 )
...
* Lowercase links
* Fix misspelled anchor link
2020-01-23 10:05:42 -07:00
Michael Vines
25dfed207c
Remove dead code ( #7940 )
...
automerge
2020-01-23 00:38:46 -08:00
Michael Vines
006cbee88a
Uninteresting cleanup
2020-01-22 21:24:20 -07:00
Jack May
c95e5346a4
Boot the mut ( #7926 )
2020-01-22 17:54:06 -08:00
Ryo Onodera
e54bf563b5
Avoid unsorted recent_blockhashes for determinism ( #7918 )
...
* Avoid unsorted recent_blockhashes for determinism
* Add a test: test_create_account_unsorted
2020-01-23 10:51:22 +09:00
Jack May
8f79327190
Test account doesn't need RefCell ( #7932 )
...
automerge
2020-01-22 17:06:11 -08:00
Greg Fitzgerald
a197ac092a
New Anatomy of a Transaction ( #7930 )
...
automerge
2020-01-22 16:58:46 -08:00
Rob Walker
1e2b55c0d7
Remove RedeemVoteCredits ( #7916 )
...
* Move redeem_vote_credits into runtime
* Move redeem_vote_credits into runtime
* Remove RedeemVoteCredits
* chugga for less indentation
* resurrect NoCreditsToRedeem
* fixup
2020-01-22 16:53:42 -08:00
Trent Nelson
964ff522be
Verb-noun-ify Nonce API ( #7925 )
...
* Verb-noun-ify Nonce API
* Unify instruction naming with API naming
The more verbose nonce_account/NonceAccount was chosen for clarity
that these instructions work on a unique species of system account
2020-01-22 16:31:39 -07:00
Michael Vines
934c32cbc6
Add mechanism to load v0.22.3 snapshots on newer Solana versions
2020-01-22 15:40:32 -07:00
Michael Vines
9bd6be779f
Reject CI on failed mergify.io backports ( #7927 )
...
automerge
2020-01-22 14:10:26 -08:00
Rob Walker
ce70d6eedc
Add redeem_vote_credits to runtime ( #7910 )
...
* Move redeem_vote_credits into runtime
* fixup
* test
* move stake manipulation to stake program
* chugga for less indentation
2020-01-22 12:21:31 -08:00
Trent Nelson
3a0d13aa77
CLI: Cleanup authority arg usage inconsistencies ( #7922 )
...
automerge
2020-01-22 11:19:07 -08:00
Michael Vines
f9323c5273
don't put accounts in a weird location, use the defaults ( #7921 )
...
automerge
2020-01-22 10:57:37 -08:00
Dan Albert
7587656cf6
Implement automated partition testing ( #7222 )
2020-01-22 13:46:50 -05:00
Jack May
023074650f
Allow the same account to be passed multiple times to a single instruction ( #7795 )
2020-01-22 09:11:56 -08:00
Trent Nelson
d854e90c23
CLI: Support offline authorities ( #7905 )
2020-01-22 10:10:22 -07:00
Greg Fitzgerald
3aabeb2b81
Rename bootstrap leader ( #7906 )
...
* Rename bootstrap leader to bootstrap validator
It's a normal validator as soon as other validators enter the
leader schedule.
* cargo fmt
* Fix build
Thanks @CriesofCarrots!
2020-01-22 09:22:09 -07:00
Tyera Eulberg
65f5885bce
sendTransaction rpc: expect transaction as base58 string ( #7913 )
2020-01-21 22:16:07 -07:00
Tyera Eulberg
7a132eabb4
Update JSON-RPC documentation ( #7915 )
...
* Streamline getBlockCommitment response
* Update json-rpc docs
2020-01-21 20:17:33 -07:00
Rob Walker
7e1b380f01
Move vote_state current credits into epoch_credits ( #7909 )
...
* Move vote_state current credits into epoch_credits
* fixups
* fixup
2020-01-21 19:08:40 -08:00
dependabot-preview[bot]
1a2d9b8eed
Bump csv from 1.1.2 to 1.1.3 ( #7893 )
...
Bumps [csv](https://github.com/BurntSushi/rust-csv ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/BurntSushi/rust-csv/releases )
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.1.2...1.1.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-21 19:49:19 -07:00
Greg Fitzgerald
6eefa0b72d
Integrate transaction chapter into programming model chapter ( #7911 )
...
automerge
2020-01-21 16:44:05 -08:00
Greg Fitzgerald
44372db955
Move Blockstreamer doc into getting started doc
2020-01-21 17:15:29 -07:00
Greg Fitzgerald
e24cce4aed
Hoist blockstore chapter ( #7908 )
...
automerge
2020-01-21 16:01:26 -08:00
Greg Fitzgerald
a8595c0418
Give chapters more precise titles ( #7907 )
...
automerge
2020-01-21 15:36:40 -08:00
Michael Vines
340424e03a
Use minimumLedgerSlot RPC API in block-production command
2020-01-21 14:05:26 -07:00
Michael Vines
93036bec01
Add minimumLedgerSlot RPC API
2020-01-21 14:05:26 -07:00
Jack May
663e98969d
Use a different error to test rpc response ( #7900 )
...
automerge
2020-01-21 12:42:23 -08:00
Sagar Dhawan
37d1daf58e
Revert "Generate MAX_DATA_SHREDS_PER_FEC_BLOCK coding shreds for each FEC block ( #7474 )" ( #7898 )
...
automerge
2020-01-21 11:48:09 -08:00
Jack May
1a18f0ca55
Add rust duplicate account test program ( #7897 )
...
automerge
2020-01-21 10:59:19 -08:00
Jack May
bb950ec93e
Naming nits ( #7896 )
...
automerge
2020-01-21 10:38:46 -08:00
Greg Fitzgerald
39ab3557a3
Delete "testnet participation" redirect ( #7895 )
...
automerge
2020-01-21 09:35:59 -08:00
Michael Vines
dcdc46b97c
Assume 1 or more validators
2020-01-21 10:34:58 -07:00
Michael Vines
da3ed0dfb3
Try running testnet.solana.com with only two validators
2020-01-21 10:34:53 -07:00
Greg Fitzgerald
e391b9fb90
Delete duplicate book content ( #7894 )
...
automerge
2020-01-21 09:17:20 -08:00
Michael Vines
e346cdad26
Run ./book/build-cli-usage.sh
2020-01-21 08:58:29 -07:00
Michael Vines
7e4c6ff218
solana set => solana config set
2020-01-21 08:53:44 -07:00
Michael Vines
356f246a74
Remove get-/show- prefix from cli commands
2020-01-21 08:43:07 -07:00
dependabot-preview[bot]
80da552834
Bump rpassword from 4.0.4 to 4.0.5
...
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 23:30:18 -07:00
Sagar Dhawan
2dd8ab197d
Remove redundant threadpools in sigverify ( #7888 )
...
* Limit the number of thread pools sigverify creates
* Name local threadpools
2020-01-20 20:08:19 -08:00
Rob Walker
1fe11e9ae2
chacha ignore farf ( #7882 )
2020-01-20 17:04:31 -08:00
Tyera Eulberg
21d5fe6272
Fix timestamp overflow ( #7886 )
...
* Split timestamp calculation into separate fn for math unit testing
* Add failing test
* Fix failing test; also bump stakes to near expected cluster max supply
* Don't error on timestamp of slot 0
2020-01-20 17:54:44 -07:00
Jack May
52bc4a3598
nudge ( #7887 )
2020-01-20 15:27:36 -08:00
Dan Albert
cccaacee36
Wait for stake distribution in automation ( #7883 )
...
automerge
2020-01-20 13:32:37 -08:00
Michael Vines
ebf6e1c0e9
--limit-ledger-size now accepts an optional slot count value
2020-01-20 14:20:30 -07:00
Sunny Gleason
5cf090c896
feat: implement RPC notification queue ( #7863 )
2020-01-20 16:08:29 -05:00
Rob Walker
cc299053cc
Add support for stake::split() via create_account_with_seed() ( #7879 )
...
* Add split with seed
* move to new system_program APIs
* de-replicode
2020-01-20 12:33:27 -08:00
Michael Vines
82b75796f9
Create ledger directory if it doesn't already exist
2020-01-20 10:11:43 -07:00
dependabot-preview[bot]
a560d94a9f
Bump humantime from 1.3.0 to 2.0.0
...
Bumps [humantime](https://github.com/tailhook/humantime ) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/tailhook/humantime/releases )
- [Commits](https://github.com/tailhook/humantime/compare/v1.3.0...v2.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 10:08:11 -07:00
dependabot-preview[bot]
0827d52c6f
Bump indexmap from 1.1.0 to 1.3.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.1.0 to 1.3.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.1.0...1.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 10:07:48 -07:00
Ryo Onodera
a8d33c9950
Spy just for RPC to avoid premature supermajority ( #7856 )
...
* Spy just for RPC to avoid premature supermajority
* Make gossip_content_info private
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Fix misindent...
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-01-20 10:50:31 +09:00
dependabot-preview[bot]
43c32ea280
Bump rpassword from 4.0.3 to 4.0.4
...
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/compare/v.4.0.3...v4.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-18 19:32:14 -07:00
Michael Vines
30d40e9a32
If a bad RPC node is selected try another one instead of aborting
2020-01-18 11:00:08 -07:00
Michael Vines
e28508ad56
Abort if a snapshot download fails for any reason other than 404
2020-01-18 08:59:53 -07:00
Michael Vines
182e4cec86
Update backport labels
2020-01-17 21:38:39 -07:00
Michael Vines
a32de96ab1
Add show-stakes subcommand
2020-01-17 14:14:01 -07:00
Trent Nelson
0de35fdd1f
CLI: Support offline and nonced stake subcommands ( #7831 )
...
* Support durable nonce for staker-authorize-*
* CLI: Factor out sign-only reply parsing to helper
* Support offline signing for staker-authorize-*
2020-01-17 10:30:56 -07:00
Rob Walker
470d9cd752
Add system_instruction::{allocate, allocate_with_seed, assign_with_seed}, ( #7847 )
...
* cleanup test checks cargo audit
* Add system_instruction allocate
* fixup
* fixup
2020-01-17 09:29:15 -08:00
Justin Starry
87598c7612
Consolidate tx error counters and update metrics dashboard ( #7724 )
...
automerge
2020-01-16 23:26:50 -08:00
Michael Vines
57bf618627
Enable config program at soft launch epoch 0 ( #7854 )
...
automerge
2020-01-16 23:05:33 -08:00
Michael Vines
c576a707b0
Increase token cap ( #7855 )
...
automerge
2020-01-16 23:02:05 -08:00
Justin Starry
b78b1bbfa9
Improve bench-tps keypair generation ( #7723 )
...
* Improve bench-tps keypair generation
* Fix tests
* Fix move test
* cargo fmt
* Split up funding function into smaller functions
* Support restarting bench-tps without re-funding
* Change quick start logic and remove noisy log
2020-01-17 10:35:12 +08:00
Ryo Onodera
e710964d05
Revamp the progress of current epoch in get-epoch-info ( #7838 )
...
* Revamp the progress of current epoch in get-epoch-info
* Incorporate suggested more concise labelling
2020-01-17 09:39:47 +09:00
dependabot-preview[bot]
2d00657756
Bump num_cpus from 1.11.1 to 1.12.0 ( #7845 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.11.1 to 1.12.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.11.1...v1.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-16 17:38:13 -07:00
carllin
0526d4ff21
Add logging surrounding failure in get_slot_entries_with_shred_info() ( #7846 )
...
* Add logging surrounding failure
2020-01-16 16:03:24 -08:00
carllin
76e20015a4
Add separate thread to check for and store duplicate slot proofs ( #7834 )
2020-01-16 15:27:54 -08:00
Rob Walker
f5e797e3aa
cleanup test checks cargo audit ( #7849 )
...
automerge
2020-01-16 15:08:36 -08:00
Rob Walker
787e36a28f
ignore prost is part of move ( #7848 )
2020-01-16 14:14:44 -08:00
sakridge
8572b57834
Refactor chacha cuda to be able to test cuda crate but not in OpenCL ( #7685 )
...
* Refactor chacha cuda to be able to test cuda crate but not in OpenCL
chacha not implemeted in OpenCL
* Get off core::Error
2020-01-16 08:29:36 -08:00
Ryo Onodera
ed0129f881
Don't depend on unused lazy_static
2020-01-16 08:43:13 -07:00
Ryo Onodera
78836a9e22
Make run.sh not overwrite genesis if existing ( #7837 )
2020-01-16 14:34:36 +09:00
Rob Walker
4c08184379
no check if no change ( #7824 )
2020-01-15 15:13:11 -08:00
Tyera Eulberg
da165d6943
Fix Rpc inconsistencies ( #7826 )
...
* Update rpc account format: remove byte arrays
* Base58-encode pubkeys in getStoragePubkeysForSlot
* Update docs
2020-01-15 15:33:53 -07:00
Trent Nelson
8ffccfbaff
CLI: Plumb stake authorities throughout ( #7822 )
...
automerge
2020-01-15 13:32:06 -08:00
Rob Walker
a6d083d69d
Remove create_account bandaid now that to's signature is required ( #7776 )
...
* Remove create account bandaid now that requires signature
* shrink scope of this PR to bandaid
2020-01-15 13:03:22 -08:00
Greg Fitzgerald
91bae9d510
Don't use word 'securely' ( #7820 )
...
automerge
2020-01-15 11:30:11 -08:00
Tyera Eulberg
f0f185509f
Remove tuple from programNotification ( #7819 )
...
automerge
2020-01-15 10:52:02 -08:00
Dan Albert
5947ef7706
Remove word pair from address generator seed string ( #7802 )
...
* Remove word pair from address generator seed string
2020-01-15 13:50:37 -05:00
Michael Vines
4f663a2a86
Add new genesis validators ( #7814 )
...
automerge
2020-01-15 09:26:49 -08:00
Michael Vines
1d01777a13
Prefer CUDA_HOME environment variable
2020-01-15 09:03:52 -07:00
Tyera Eulberg
6d3b8b6d7d
Remove tuples from JSON RPC responses ( #7806 )
...
* Remove RpcConfirmedBlock tuple
* Remove getRecentBlockhash tuple
* Remove getProgramAccounts tuple
* Remove tuple from get_signature_confirmation_status
* Collect Rpc response types
* Camel-case epoch schedule for rpc response
* Remove getBlockCommitment tuple
* Remove getStorageTurn tuple
* Update json-rpc docs
2020-01-15 00:25:45 -07:00
Michael Vines
50c1c08235
Set bootstrap leader and net/ validator vote account commission to 100%
2020-01-15 00:25:26 -07:00
Ryo Onodera
b16c30b4c6
Fix cluster collapse due to no proper shifted read ( #7797 )
...
* Fix cluster collapse due to no proper shifted read
* Add test for bank hash mismatch
Co-authored-by: sakridge <sakridge@gmail.com >
2020-01-15 11:45:19 +09:00
Justin Starry
ff1ca1e0d3
Consolidate entry tick verification into one function ( #7740 )
...
* Consolidate entry tick verification into one function
* Mark bad slots as dead in blocktree processor
* more feedback
* Add bank.is_complete
* feedback
2020-01-15 09:15:26 +08:00
carllin
721c4378c1
Plumb ability to handle duplicate shreds into shred insertion functions ( #7784 )
2020-01-14 15:37:53 -08:00
Jack May
5f4e0c7e3e
Naming nits ( #7798 )
...
automerge
2020-01-14 13:38:17 -08:00
Michael Vines
e6af4511a8
Include shred version in gossip
2020-01-14 14:32:40 -07:00
Michael Vines
965ad778dd
Improve KeypairFileNotFound error message ( #7792 )
...
automerge
2020-01-14 12:19:08 -08:00
sakridge
3b78be83cf
Add hash stats information to check hashes between validators ( #7780 )
...
automerge
2020-01-14 11:57:29 -08:00
Trent Nelson
564cd4e09d
Book: Drop since-fixed nonce known issue ( #7789 )
...
automerge
2020-01-14 10:13:09 -08:00
Ryo Onodera
699ca5fec1
Unignore advisories as affected ver. is corrected ( #7730 )
...
For details see upstream PR: https://github.com/RustSec/advisory-db/pull/221
2020-01-14 11:16:32 +09:00
carllin
f91ffbbfdf
Add support in BlockStore for tracking duplicate slots ( #7761 )
...
* Add test
* Add new column family to track duplicate slots
* Fix clippy errors
* Introduce new SlotColumn for common implementation of Column trait
2020-01-13 17:21:39 -08:00
Pankaj Garg
156292e408
Reduce grace ticks, and ignore grace ticks for missing leaders ( #7764 )
...
* Reduce grace ticks, and ignore grace ticks for missing leaders
* address review comments
* blockstore related renames
2020-01-14 05:25:41 +05:30
Trent Nelson
81ae44f858
Nonce: Rename instructions with VerbNoun scheme ( #7775 )
...
automerge
2020-01-13 15:34:43 -08:00
Tyera Eulberg
c948814eae
Update getConfirmedBlock examples ( #7772 )
2020-01-13 15:05:27 -07:00
Greg Fitzgerald
b5dba77056
Rename blocktree to blockstore ( #7757 )
...
automerge
2020-01-13 13:13:52 -08:00
Trent Nelson
ef06d165b4
Book: Update durable nonce proposal entry ( #7694 )
...
automerge
2020-01-13 13:12:09 -08:00
Jack May
5cb23c814d
Install move-loader binaries ( #7768 )
2020-01-13 12:53:53 -08:00
carllin
8f7ded33e0
coalesce data and coding index ( #7765 )
2020-01-13 12:03:19 -08:00
Tyera Eulberg
a17d5795fb
getConfirmedBlock: add encoding optional parameter ( #7756 )
...
automerge
2020-01-12 21:34:30 -08:00
Michael Vines
ad4d41e602
Pick an RPC node at random to avoid getting stuck on a bad RPC node
2020-01-11 12:10:11 -07:00
Trent Nelson
9754fc789e
Manage durable nonce stored value in runtime ( #7684 )
...
* Bank: Return nonce pubkey/account from `check_tx_durable_nonce`
* Forward account with HashAgeKind::DurableNonce
* Add durable nonce helper for HashAgeKind
* Add nonce util for advancing stored nonce in runtime
* Advance nonce in runtime
* Store rolled back nonce account on TX InstructionError
* nonce: Add test for replayed InstErr fee theft
2020-01-10 16:57:31 -07:00
carllin
fd3c6eb320
Remove print in test ( #7758 )
...
automerge
2020-01-10 15:37:22 -08:00
sakridge
b7b68ecdba
Add partition testing documentation ( #7739 )
2020-01-10 15:32:43 -08:00
Jack May
08ba27627d
Direct entrypoint for execution ( #7746 )
2020-01-10 13:20:15 -08:00
carllin
27d2c0aaf3
Handle errors on replaying ledger properly ( #7741 )
2020-01-10 12:16:44 -08:00
Jack May
b714a4be63
Fix call to BPF build script ( #7754 )
...
automerge
2020-01-10 10:28:55 -08:00
Trent Nelson
2356b25c58
Book: Update SPV section to reflect new account state query mechanism ( #5399 )
...
* Book: Update SPV section to reflect new account state query mechanism
* Book: SPV - Rename Bank-Merkle diagram
* Relax specificity of inclusion proof resolution
* Cosmetic: re-wrap at 80
2020-01-10 10:48:29 -07:00
Greg Fitzgerald
05cad05505
Update validator proposal ( #7752 )
...
* Use 80-char lines
* Remove the part that was implemented in Gulf Stream
2020-01-10 10:15:49 -07:00
dependabot-preview[bot]
1e3082fbc0
Bump tiny-bip39 from 0.6.2 to 0.7.0 ( #7750 )
...
Bumps [tiny-bip39](https://github.com/maciejhirsz/tiny-bip39 ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/maciejhirsz/tiny-bip39/releases )
- [Changelog](https://github.com/maciejhirsz/tiny-bip39/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maciejhirsz/tiny-bip39/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-10 09:19:28 -07:00
dependabot-preview[bot]
80d2573b10
Bump cbindgen from 0.12.1 to 0.12.2 ( #7749 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-10 09:19:01 -07:00
dependabot-preview[bot]
6adcdc41f4
Bump num-traits from 0.2.10 to 0.2.11 ( #7737 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.10...num-traits-0.2.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-10 09:18:39 -07:00
Jack May
2d08dddfc8
nit, cleanup uses ( #7747 )
...
automerge
2020-01-09 23:58:13 -08:00
Jack May
6da8f49d8b
nit, clearer error message ( #7748 )
...
automerge
2020-01-09 23:53:47 -08:00
Justin Starry
bcd072c5e8
Clarify account creation error messages in CLI ( #7719 )
...
* Clarify account creation error messages in CLI
* feedback
* Fix rebase
2020-01-10 12:25:07 +08:00
Justin Starry
e90a31781c
Update http crate in bpf program to fix security vulnerability ( #7735 )
2020-01-10 10:21:20 +08:00
sakridge
2e89ec9105
Don't keep generating transactions in non-sustained bench-tps mode ( #7577 )
2020-01-09 17:48:18 -08:00
Ryo Onodera
865c42465a
Cap file size for snapshot data files ( #7182 )
...
* save limit deserialize
* save
* Save
* Clean up
* rustfmt
* rustfmt
* Just comment out to please CI
* Fix ci...
* Move code
* Rustfmt
* Crean up control flow
* Add another comment
* Introduce predetermined constant limit on snapshot data files (deserialize side)
* Introduce predetermined constant limit on snapshot data files (serialize side)
* rustfmt
* Tweak message
* Revert dynamic memory limit
* Limit size of snapshot data file (de)serialization
* Fix test breakage
* Clean up
* Fix uses formatting
* Rename: deserialize_{for,from}_snapshot
* Simplify comment
* Use Slot
* Provide slot for status cache
* Align variable name with snapshot_status_cache_file_path
* Define serialize_snapshot_data_file_with_metrics
* Fix build.......
* De-marco serialize_snapshot_data_file_with_metrics
* Revert u64 => Slot
2020-01-10 09:49:36 +09:00
sakridge
73c93cc345
Print bank hash and hash inputs. ( #7733 )
2020-01-09 16:33:10 -08:00
dependabot-preview[bot]
cf32fdf672
Bump reqwest from 0.10.0 to 0.10.1 ( #7731 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 17:10:55 -07:00
Ryo Onodera
c33b54794c
Propose Solana ABI management ( #7524 )
...
* Propose Solana ABI management
* Mention fuzz testing
* Address minor review comments
* Remove versioning and unit tests
* Rename
* Clean up a bit
* Pass through Grammarly
* Yet more tweaks...
2020-01-10 08:24:08 +09:00
Rob Walker
6775e83420
Add create with seed to cli ( #7713 )
...
* Add create with seed to cli
* nonce and vote, too
2020-01-09 15:22:48 -08:00
Justin Starry
719785a8d3
Update http crate to fix security vulnerability ( #7725 )
...
* Update http to fix security vulnerability
* Ignore RUSTSEC because they incorrectly says http 0.1.21 is vulnerable
2020-01-10 04:43:02 +09:00
Ryo Onodera
287995ffdf
Correctly integrate buildkite with codecov ( #7718 )
...
* Correctly integrate buildkite with codecov
* Fix shellcheck...
* Really detect Buildkite
2020-01-10 03:39:33 +09:00
dependabot-preview[bot]
0e506a53b5
Bump url from 2.1.0 to 2.1.1 ( #7720 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 08:44:47 -07:00
Michael Vines
70e1a15973
Remove vote account from genesis validators
2020-01-08 22:47:56 -07:00
Jack May
09cff5e4cc
Cleanup usage of feature "program" ( #7712 )
2020-01-08 13:49:35 -08:00
dependabot-preview[bot]
57858b8015
Bump reqwest from 0.9.24 to 0.10.0 ( #7642 )
...
* Bump reqwest from 0.9.24 to 0.10.0
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.24 to 0.10.0.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Make reqwest::blocking specific
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-01-08 13:31:43 -07:00
Jack May
07855e3125
Allow override of RUST_LOG ( #7705 )
2020-01-08 09:19:12 -08:00
Jack May
2f5f8e7afd
Pass RUST_LOG through on testnet creation ( #7707 )
2020-01-07 21:46:28 -08:00
Michael Vines
43897de12e
Account for stake held by the current node while waiting for the supermajority to join gossip
2020-01-07 22:29:31 -07:00
dependabot-preview[bot]
4b577aa77b
Bump cc from 1.0.48 to 1.0.49 ( #7690 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.48...1.0.49 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-07 22:13:17 -07:00
carllin
85c3d64f29
Fix rooted slot iterator ( #7695 )
...
* Enable jumping gaps caused by snapshots in rooted slot iterator
2020-01-07 22:51:28 -05:00
Michael Vines
47dd293904
supermajority is one word
2020-01-07 15:50:59 -07:00
Michael Vines
c4220a4853
clippy
2020-01-07 15:50:59 -07:00
Michael Vines
48ab88a2af
Add --wait-for-super-majority to facilitate asynchronous cluster restarts
2020-01-07 15:50:59 -07:00
dependabot-preview[bot]
d9cf9709d2
Bump csv from 1.1.1 to 1.1.2 ( #7698 )
...
Bumps [csv](https://github.com/BurntSushi/rust-csv ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/BurntSushi/rust-csv/releases )
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.1.1...1.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-07 14:38:02 -07:00
Michael Vines
9720c894f1
Use commas to make a log message more readable
2020-01-06 22:31:01 -07:00
Rob Walker
8dad3af36d
Update Lockup comments ( #7692 )
2020-01-06 19:52:20 -08:00
Ryo Onodera
e5425d4a27
Fix AppendVec test breakage... ( #7693 )
2020-01-07 09:21:59 +09:00
Ryo Onodera
58e6d4aabb
Sanitize AppendVec's file_size ( #7373 )
...
* Check append vec file size
* Don't use panic
* Clean up a bit
* Clean up
* Clean ups
* Change assertion into sanization check
* Remove...
* Clean up
* More clean up
* More clean up
* Use assert_matches
2020-01-07 08:14:56 +09:00
Tyera Eulberg
9ce142606c
Update getBlockTime rpc docs ( #7688 )
2020-01-06 00:00:20 -07:00
Tyera Eulberg
e75a64a8a2
getBlockTime: Fix RootedSlotIterator lowest root ( #7681 )
...
* Determine lowest_nonzero_root for purged blocktrees, and clean up slot offset math
* Filter duplicate timestamp votes
* Refactor deduping code
2020-01-05 23:38:27 -07:00
dependabot-preview[bot]
bc71e1b612
Bump sha2 from 0.8.0 to 0.8.1
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.0...sha2-v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-05 22:33:02 -07:00
Tyera Eulberg
580ca36a62
Cli: fund validator-info accounts with rent-exempt lamports
2020-01-04 22:59:12 -07:00
Michael Vines
447fe48d2a
Revert "Add a stand-alone gossip node on the blocksteamer instance"
...
This reverts commit a217920561 .
This commit is causing trouble when the TdS cluster is reset and
validators running an older genesis config are still present.
Occasionally an RPC URL from an older validator will be selected,
causing a new node to fail to boot.
2020-01-04 16:42:12 -07:00
Michael Vines
e8a6c8cd6d
Don't panic if peer_addr() fails ( #7678 )
...
automerge
2020-01-04 10:00:22 -08:00
Michael Vines
a8fd42c1df
Set default vote account commission to 100%
2020-01-04 10:04:31 -07:00
Michael Vines
e782c26908
Prune older epoch stakes
2020-01-04 09:34:27 -07:00
Michael Vines
cd65a1e172
Run local cluster tests serially for easier debug
2020-01-04 09:34:27 -07:00
Michael Vines
6e51c5685e
Minor book fixes
2020-01-04 08:53:20 -07:00
Tyera Eulberg
84a37a2c0c
Make validator timestamping more coincident, and increase timestamp sample range ( #7673 )
...
automerge
2020-01-03 22:38:00 -08:00
Trent Nelson
7e94cc2cc3
Move nonce into system program ( #7645 )
...
automerge
2020-01-03 16:34:58 -08:00
Michael Vines
7002ccb866
Log root slots while processing ledger
2020-01-03 13:25:37 -07:00
Michael Vines
4fe0b116ae
Measure heap usage while processing the ledger
2020-01-03 13:25:37 -07:00
Michael Vines
a0fb9de515
Move thread_mem_usage module into measure/
2020-01-03 13:25:37 -07:00
sakridge
5d42dcc9ec
Reduce constants for ledger cleanup test ( #7629 )
2020-01-03 12:05:14 -08:00
sakridge
96e88c90e8
Lessen test_slots_to_snapshot constants to make test faster ( #7628 )
...
Reduces test time from 6m to 45s
2020-01-03 09:58:52 -08:00
Jack May
75d94240ed
account_info utilities ( #7666 )
2020-01-03 09:14:51 -08:00
Jack May
6c544708e1
Add safety docs ( #7665 )
2020-01-03 09:14:28 -08:00
Michael Vines
078e7246ac
Publish bpf-sdk only in Linux build
2020-01-02 23:20:59 -07:00
Jack May
06cff1fb9f
Publish bpf-sdk releases ( #7655 )
2020-01-02 20:44:15 -08:00
Michael Vines
2e8bbed75b
Revert "Remov dead code from TdS testnet manager config ( #7414 )"
...
This reverts commit 8920ac02f6 .
2020-01-02 21:07:40 -07:00
Greg Fitzgerald
a707c9410e
More thiserror ( #7183 )
...
* Less solana_core::result. Module now private.
* Drop solana_core::result dependency from a few more modules
* Fix warning
* Cleanup
* Fix typo
2020-01-02 20:50:43 -07:00
Jack May
a956bb08d8
Export bpf loader ser/de ( #7661 )
2020-01-02 18:18:56 -08:00
Trent Nelson
db52cc6749
CLI: Fix default nonce authority resolution ( #7657 )
...
automerge
2020-01-02 17:05:08 -08:00
Trent Nelson
73c6224a95
Book - Document nonceable CLI subcommands ( #7656 )
...
automerge
2020-01-02 16:30:26 -08:00
Michael Vines
a217920561
Add a stand-alone gossip node on the blocksteamer instance
...
The blocksteamer instance is the TdS cluster entrypoint. Running an
additional solana-gossip node allows other participants to join a
cluster even if the validator node on the blocksteamer instance goes down.
2020-01-02 17:20:59 -07:00
Michael Vines
48a36f59a6
Add get-rpc-url --any option
2020-01-02 17:20:59 -07:00
Michael Vines
965b132664
Permit --gossip-host with --entrypoint
2020-01-02 17:20:59 -07:00
Rob Walker
63f185f9bf
Delete unused type ( #7653 )
2020-01-02 13:15:31 -08:00
Rob Walker
e97b0088f2
Make lockups block stake transfers via rekeying ( #7651 )
2020-01-01 11:03:29 -08:00
Trent Nelson
374c17a0d9
Book: Sync CLI API doc for show-block-production ( #7648 )
...
automerge
2019-12-31 09:26:45 -08:00
Michael Vines
4b3bc587ab
Add input validation for --creation-time/--lockup-date args ( #7646 )
...
automerge
2019-12-30 21:57:47 -08:00
dependabot-preview[bot]
06c63f2026
Bump cbindgen from 0.12.0 to 0.12.1 ( #7637 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.12.0...v0.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-30 22:16:48 -07:00
Rob Walker
6b7d9942a7
Add authorized_voter history ( #7643 )
...
* Add authorized_voter history
* fixups
* coverage
* bigger vote state
2019-12-30 19:57:53 -08:00
Rob Walker
760a56964f
delete fixed_buf ( #7644 )
2019-12-30 16:45:43 -08:00
Tyera Eulberg
6ca575b5a3
Make sol-to-lamport const name more clear ( #7641 )
...
automerge
2019-12-30 11:28:41 -08:00
Trent Nelson
ce1d36cacb
Book: Document CLI durable nonce account management ( #7595 )
...
* Book: Document CLI durable nonce account management
* Fix rent link
* review
2019-12-30 13:13:56 -05:00
Pankaj Garg
87b2525e03
Limit maximum number of shreds in a slot to 32K ( #7584 )
...
* Limit maximum number of shreds in a slot to 32K
* mark dead slot replay as fatal error
2019-12-30 07:42:09 -08:00
Rob Walker
faa77aca2e
Update terminology.md
2019-12-29 21:35:06 -08:00
Rob Walker
5d2158792c
Add inflation to book, cleanup dead links, include orphaned documents ( #7638 )
...
* Add inflation as implemented proposal
* grab another orphan and add orphan-proofing
2019-12-29 18:15:32 -08:00
Rob Walker
e1ebaa902b
Add base pubkey to create_account_with_seed ( #7636 )
2019-12-29 16:42:24 -08:00
Rob Walker
e0564f628e
Use lamports in genesis ( #7631 )
...
* Use lamports in genesis
* readability
2019-12-28 12:49:10 -08:00
Justin Starry
44e45aa090
Support nonced transactions in the CLI ( #7624 )
...
* Support nonced transactions in the CLI
* Update nonce.rs
2019-12-27 14:35:49 -06:00
Michael Vines
89f5f336af
Account for rent ( #7626 )
...
automerge
2019-12-24 18:01:21 -08:00
Parth
727be309b2
fix entryverification state ( #7169 )
...
automerge
2019-12-23 23:26:27 -08:00
dependabot-preview[bot]
ce2d7a2d5a
Bump nix from 0.16.0 to 0.16.1 ( #7623 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-23 23:06:42 -07:00
Michael Vines
fad6c7201e
Remove old book location ( #7621 )
2019-12-23 22:56:42 -07:00
Michael Vines
8f0e1f3349
Update gitbook-cage first
2019-12-23 18:18:30 -07:00
sakridge
6f7d0c6928
Move cleanup to a script so it doesn't kill itself ( #7603 )
2019-12-23 14:31:57 -08:00
Rob Walker
120c8f244c
Add slot_history for slashing ( #7589 )
...
* Add slot_history for slashing
* fixup
* fixup
2019-12-23 12:23:45 -08:00
Jack May
352a367570
Specify version for solana-sdk-macro to enable crate.io publishing ( #7615 )
2019-12-23 12:10:43 -08:00
Michael Vines
9f65d22909
Groom log messages ( #7610 )
2019-12-23 10:43:07 -07:00
Ryo Onodera
141131f3a6
Stabilize fn coverage by creating a clean room ( #7576 )
...
* Stabilize fn coverage by pruning all updated files
* Pruning didn't work; Switch to clean room dir
* Oh, shellcheck...
* Remove the data_dir variable
* Comment about relationale for find + while read
2019-12-23 16:32:29 +09:00
dependabot-preview[bot]
488420fdf2
Bump core_affinity from 0.5.9 to 0.5.10 ( #7578 )
...
Bumps [core_affinity](https://github.com/Elzair/core_affinity_rs ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/Elzair/core_affinity_rs/releases )
- [Commits](https://github.com/Elzair/core_affinity_rs/compare/0.5.9...0.5.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-22 22:41:47 -07:00
Greg Fitzgerald
10e6b8f769
Fix key in genesis ( #7585 )
2019-12-22 22:40:35 -07:00
Michael Vines
419da18405
show-block-production: Rename "missed" to "skipped" as not all skipped slots are missed slots ( #7599 )
2019-12-22 22:39:47 -07:00
Dan Albert
7329d4bf3a
Extend Stable CI job timeout to 60 minutes ( #7604 )
2019-12-22 20:14:07 -07:00
Ryo Onodera
c8fe4043b6
Rename slot_hash => bank_hash in AcoountsDB ( #7579 )
...
* Rename slot_hash => bank_hash in AcoountsDB
2019-12-23 10:50:31 +09:00
Parth
3d133d61ca
fix rent book entry ( #7602 )
2019-12-23 06:12:29 +05:30
Michael Vines
d51e42c707
MISSED -> SKIPPED
2019-12-22 10:19:35 -07:00
Michael Vines
79e39d6f0b
Remove stray SOLANA_CUDA=1
2019-12-22 10:09:04 -07:00
sakridge
7dec934bb3
Optimize lock_accounts mutex use ( #7593 )
...
Use the lock for the whole batch instead of per-tx
Optimize the critical section to pre-generate the keys necessary
before taking the lock.
2019-12-21 10:43:22 -08:00
sakridge
83f866df01
Switch banking bench to report tps instead of total time ( #7590 )
...
Easier to compare results when modifying thread count.
2019-12-21 10:43:08 -08:00
Michael Vines
d88d8e2dbb
Fix another silly bug
2019-12-21 09:20:12 -07:00
Michael Vines
3a40dff999
Cargo.lock
2019-12-20 21:55:35 -07:00
Michael Vines
3f69d58498
ledger-tool: Add --all option to bounds, to display all non-empty slots ( #7592 )
2019-12-20 20:43:53 -07:00
Dan Albert
ca10cf081f
Update cargo.toml files from 0.22.0 to 0.23.0 ( #7596 )
2019-12-20 21:45:42 -05:00
Greg Fitzgerald
f120449aae
Move implemented proposals into the implemented section of the book ( #7591 )
...
* Move implemented proposals to implemented section of the book
Leave "Slashing" commentary in a new proposal.
* Remove considered considerations
@CriesofCarrots says meh about the first concern, and has moved the
second concern into a GitHub issue #7485 .
2019-12-20 15:13:31 -07:00
Greg Fitzgerald
636f51c93c
Update testnet descriptions ( #7586 )
...
automerge
2019-12-20 12:43:17 -08:00
Trent Nelson
9bb47c8c61
Book: Document CLI offline signing ( #7575 )
...
* Book: Document offline signing
* Address review
* nits
* consistency
* one voice
2019-12-20 13:07:07 -05:00
Michael Vines
8886db2000
--verbose now causes show-block-production to list all slots and highlight the specific misses ( #7582 )
2019-12-20 09:38:08 -07:00
Rob Walker
a7040896f0
Update to rust 1.40.0 ( #7572 )
...
* Update to rust 1.40.0
* fixups
2019-12-19 23:27:54 -08:00
Rob Walker
2ebfab8e07
Remove duplicate def of MAX_SLOT_HASHES ( #7574 )
2019-12-19 21:24:12 -08:00
Justin Starry
9bd5888f5e
Fix broken internal-nodes-stake-lamports arg in scripts ( #7581 )
2019-12-19 21:38:03 -05:00
Trent Nelson
8b7bbbc6af
Streamline paper wallet pubkey verification docs ( #7570 )
...
* Book: Move paper wallet keypair docs to usage page
* Book: Remove dedicated paper wallet keypair docs
* Nudge our reader. Be extra clear
* Clarify `--skip-seed-phrase-validation` argument rationale
2019-12-19 20:59:07 -05:00
Trent Nelson
0383ffa5ab
CLI: Fix offline signing Pay TX ( #7566 )
2019-12-19 20:58:38 -05:00
Ryo Onodera
3c361eb759
Check account hashes in snapshot ( #7559 )
...
* Check for incorrect hash value
* Finish up checking for incorrect hash value
* Fix comment a bit
Co-authored-by: sakridge <sakridge@gmail.com >
2019-12-20 09:39:30 +09:00
Trent Nelson
37eaa6e4f9
CLI: Expose Durable Nonce Authorize instruction ( #7541 )
...
* CLI: Expose Durable Nonce `Authorize` instruction
* fmt
2019-12-19 19:13:01 -05:00
Sagar Dhawan
0ae7e86fcb
Dashboard: Move y-axis items with different units either side of the graph ( #7573 )
...
automerge
2019-12-19 15:22:43 -08:00
Rob Walker
3f405d8908
Add unix_timestap to stake lockups ( #7569 )
2019-12-19 14:37:47 -08:00
Rob Walker
0245847ea8
Update runtime.md ( #7568 )
2019-12-19 13:11:43 -08:00
Justin Starry
54f16ca2bf
clippy
2019-12-19 11:33:44 -07:00
Justin Starry
a096ade345
reduce error logging
2019-12-19 11:33:44 -07:00
Justin Starry
848fe51f3d
@sakridge feedback
2019-12-19 11:33:44 -07:00
Justin Starry
e82db6fc2f
Revert blockhash sleep
2019-12-19 11:33:44 -07:00
Justin Starry
4b3176a9a1
Tune bench-tps blockhash poller and stop panicking
2019-12-19 11:33:44 -07:00
Michael Vines
5e6c58716e
Speed up show-block-production command
2019-12-19 10:50:27 -07:00
carllin
e98132fd76
Move window insertion to separate thread ( #7397 )
...
* Move window insertion to separate thread
2019-12-19 00:15:49 -08:00
Michael Vines
ff171baa67
Add show-block-production command
2019-12-19 00:02:11 -07:00
Michael Vines
05664d150b
Add get_confirmed_block()/get_confirmed_blocks()
2019-12-18 23:34:01 -07:00
Michael Vines
fcda972cec
Add support for multiple params
2019-12-18 23:34:01 -07:00
Justin Starry
01f44f531e
Improve bench-tps stability ( #7537 )
...
* Improve bench-tps throughput
* Fix tests
* Fix more tests
* Fix move test
* Drop blockhash poll sleep interval
2019-12-18 23:50:17 -05:00
Tyera Eulberg
c5b076ec7e
Add getConfirmedBlocks rpc method ( #7550 )
...
automerge
2019-12-18 15:51:47 -08:00
Sunny Gleason
05cf5a38af
Add ledger benchmark test ( #7484 )
2019-12-18 18:31:04 -05:00
Michael Vines
bd22b641b3
Speed up getLeaderSchedule RPC call by reducing pubkey duplication
2019-12-18 15:59:55 -07:00
Sagar Dhawan
6a9005645a
Update "limit-ledger-size" to use DeleteRange for much faster deletes ( #7515 )
...
* Update "limit-ledger-size" to use DeleteRange for much faster deletes
* Update core/src/ledger_cleanup_service.rs
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Rewrite more idiomatically
* Move max_ledger_slots to a fn for clippy
* Remove unused import
* Detect when all columns have been purged and fix a bug in deletion
* Check that more than 1 column is actually deleted
* Add helper to test that ledger meets minimum slot bounds
* Remove manual batching of deletes
* Refactor to keep some N slots older than the highest root
* Define MAX_LEDGER_SLOTS that ledger_cleanup_service will try to keep around
* Refactor compact range
2019-12-18 11:50:09 -08:00
Sunny Gleason
7392505bd8
Modify ledger-tool to selectively load Blocktree, GenesisHash, Database so commands are more resilient ( #7547 )
2019-12-18 13:00:15 -05:00
Tyera Eulberg
6aaf742dfe
Extend getConfirmedBlock rpc to return account pre- and post-balances ( #7543 )
...
automerge
2019-12-18 09:56:29 -08:00
Tyera Eulberg
dcaf69a5d5
Exemplify pre/postBalance enhancement to getConfirmedBlock ( #7518 )
...
* Add pre/postBalance to getConfirmedBlock
* Pluralize to match actual implementation
2019-12-18 10:47:02 -07:00
Sunny Gleason
323673c3c0
Add compact_cf calls to reclaim storage during ledger slot purge ( #7264 )
2019-12-18 10:29:46 -05:00
Dan Albert
e16ccf8cf8
Remove extraneous header text in test result posts
2019-12-18 10:13:36 -05:00
Michael Vines
434cde179f
GetLeaderSchedule can now return a schedule for arbitrary epochs
2019-12-17 23:41:42 -07:00
Ryo Onodera
629a4b5bf8
Strictly sanitize mmapped AppendVec file contents ( #7464 )
...
* Clean up align_to_8byte!
* small clean up
* Strictly sanitize mmapped AppendVec files
* Clean up
* Fix typo
* Rename align_to_8byte => u64_align
* Fix typo
* Clean up unsafe into methods of StoredAccount
* Made oddness more apparent
* Yet more clarification
* Promote a PR comment into a src comment
* Fix typo...
* Move ref_executable_byte out of tests impl
2019-12-18 14:10:36 +09:00
Dan Albert
6a8f6fb3cc
Update testnet testcases to point at new buildkite agent queues ( #7544 )
...
automerge
2019-12-17 20:32:31 -08:00
Rob Walker
807e930786
Update publish-book.sh
2019-12-17 18:41:46 -08:00
Trent Nelson
554188e88e
Colo - Node install scripts missing latest user requests ( #7540 )
...
* Enable user GPU profiling while installing CUDA
* Install heaptrack
2019-12-17 19:00:12 -05:00
Rob Walker
585fca06a1
Update publish-book.sh
2019-12-17 15:36:11 -08:00
Rob Walker
282667c4b5
Update genesis addrgen to system_instruction create_address_with_seed ( #7539 )
2019-12-17 15:14:59 -08:00
Dan Albert
8176470b7f
Add pubkey from new buildkite agent instance
2019-12-17 18:00:15 -05:00
Rob Walker
acb7ce16ca
Cleanup book build ( #7254 )
...
* book
* remove copies stuff
* missing png
* update cage in publish-book.sh
* shellcheck
* update image link
* avoid clone
* nits
2019-12-17 14:29:46 -08:00
Greg Fitzgerald
12bdef51f5
Mark PRs stale after 7 days instead of 30 ( #7528 )
2019-12-17 14:37:35 -07:00
Sunny Gleason
84b07c81fd
Fix/remove short circuit logic in ledger_purge_batch (&& -> &), found/fixed by @sdhawan ( #7526 )
2019-12-17 15:08:40 -05:00
Dan Albert
107360a001
Refactor system-test dir structure and add stability test ( #7530 )
2019-12-17 14:58:10 -05:00
Trent Nelson
3f541df669
Sync nonce test to 3513f4e ( #7527 )
2019-12-17 12:26:13 -05:00
Michael Vines
da17783242
Update README
2019-12-17 08:57:56 -07:00
Trent Nelson
0ea2843ec9
Durable Nonce - Authorized Noncer ( #7417 )
...
* Durable Nonce: Add authorized noncer to initialize instruction
* CLI: Adapt to nonce authority
* Durable Nonce: Introduce Authorize instruction
* Specify who needs to sign ix
* 'authorized-noncer' -> 'nonce-authority'
* Document signing authority for all instructions
2019-12-17 09:34:21 -05:00
Jack May
7c92bf15e2
Only return accounts that have changed since the bank's parent ( #7520 )
...
* Only return accounts that have changed since the bank's parent
* add test
2019-12-16 23:24:18 -08:00
anatoly yakovenko
97589f77f8
Pipeline broadcast socket transmit and blocktree record ( #7481 )
...
automerge
2019-12-16 17:11:18 -08:00
carllin
504adcc8c8
Remove PoH priority tuning ( #7494 )
...
* Remove priority tuning
* Allow dead code
2019-12-16 16:36:37 -08:00
Tyera Eulberg
f03ed9f5bf
Add helper fn and runtime test ( #7516 )
2019-12-16 17:02:40 -07:00
Rob Walker
b22dc38ba1
Add support for split of 100% of stake ( #7510 )
2019-12-16 15:56:34 -08:00
Rob Walker
7a7992ab0b
update bpf Cargo_lock ( #7512 )
2019-12-16 13:47:45 -08:00
Tyera Eulberg
3513f4ee84
Rename drone to faucet ( #7508 )
2019-12-16 14:05:17 -07:00
Michael Vines
f33703aefc
Add Telegram notification support
2019-12-16 13:32:46 -07:00
Greg Fitzgerald
389089859d
Add guidance for getting PRs merged ( #7433 )
...
* Add more PR guidelines
2019-12-16 12:54:09 -07:00
Michael Vines
844dddfee0
Add validator-identity argument to support monitoring a specific validator only
2019-12-16 11:48:48 -07:00
Justin Starry
862e7a410d
Fix cli program deploys by avoiding zero account balance ( #7497 )
2019-12-16 11:53:00 -05:00
dependabot-preview[bot]
7ad64c8d45
Bump serde from 1.0.103 to 1.0.104
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.103...v1.0.104 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-16 08:50:09 -07:00
dependabot-preview[bot]
5b50990879
Bump cbindgen from 0.11.1 to 0.12.0
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.11.1...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-16 08:50:01 -07:00
dependabot-preview[bot]
71b93468d5
Bump serial_test from 0.3.1 to 0.3.2
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.3.1...v0.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-15 18:19:37 -07:00
Tyera Eulberg
6b88da2b82
Hook up getBlockTime rpc to real data ( #7476 )
...
* Add blocktree timestamp helper functions and tests
* Flesh out blocktree::get_block_time
* Move stakes up into rpc to make testing easier; expand tests
* Review comments
2019-12-14 12:23:02 -07:00
Michael Vines
d01ea20273
getVoteAccounts now excludes listing inactive unstaked accounts as delinquent
...
This keeps abandoned vote accounts out of the `solana show-validators` output
2019-12-14 09:52:03 -07:00
Rob Walker
f05860672c
Add create-address-with-seed to solana-cli ( #7472 )
...
* Add create account with seed to cli
* clippy
* fixup
2019-12-14 04:38:24 -08:00
Michael Vines
2b5e919a47
Ship solana-watchtower program
2019-12-13 23:04:03 -07:00
anatoly yakovenko
27c8df6140
benches ( #7480 )
...
automerge
2019-12-13 20:27:11 -08:00
Dan Albert
9ac112104c
Searhc across command line for pattern to kill ( #7475 )
2019-12-13 21:08:41 -05:00
sakridge
98b80288ed
Optimize bank_forks critical section ( #7477 )
2019-12-13 17:20:31 -08:00
sakridge
ecdea54203
Bump perf-libs version to v0.16.2 to get cudaMalloc opt ( #7478 )
2019-12-13 17:20:06 -08:00
sakridge
9d5a07bac4
Move create_dir_all to AccountsDB::new ( #7465 )
...
AppendVec create doesn't need to try and create
paths every time and it can stall while snapshot
create is happening.
2019-12-13 16:46:16 -08:00
Pankaj Garg
7adc721d96
Generate MAX_DATA_SHREDS_PER_FEC_BLOCK coding shreds for each FEC block ( #7474 )
...
* Generate MAX_DATA_SHREDS_PER_FEC_BLOCK coding shreds for each FEC block
* fix tests, and detangle ErasureMeta::status
2019-12-13 14:50:22 -08:00
Rob Walker
f5137028fa
Update stake_instruction.rs
2019-12-13 12:53:25 -08:00
Michael Vines
48f9b2fdcc
watchtower: Add Slack/Discord sanity failure notification ( #7467 )
...
automerge
2019-12-12 23:49:16 -08:00
carllin
b7d6ff6770
Fix Blocktree Config ( #7399 )
2019-12-12 23:27:24 -08:00
Michael Vines
f7a87d5e52
Add vote-update-validator subcommand
2019-12-12 23:26:39 -07:00
Pankaj Garg
75d1aa5135
Perform erasure recovery when repaired data shreds are received ( #7463 )
...
automerge
2019-12-12 17:50:28 -08:00
Rob Walker
49396a69bf
remove dbg ( #7459 )
...
automerge
2019-12-12 17:24:30 -08:00
Pankaj Garg
d94041e98d
Allow coding shred index to be different than data shred index ( #7438 )
...
* Allow coding shred index to be different than data shred index
* move fec_set_index to shred's common header
* fix bench
2019-12-12 16:50:29 -08:00
Jack May
cc5408482e
Publish solana-docker releases ( #7460 )
2019-12-12 16:15:31 -08:00
Sunny Gleason
115bf2613d
feat: add analyze-storage command to ledger-tool ( #7165 )
2019-12-12 18:54:50 -05:00
Jack May
1d172b07a8
crc 1.9.0 was yanked, fall back to 1.8 ( #7453 )
2019-12-12 14:30:51 -08:00
Rob Walker
777ae3c215
Add time since genesis to sysvar::clock ( #7289 )
...
* genesis timestamp
* remove clock::create_account()
* ..
* add configure-able creation time
* dividing by 1T, should be dividing by 1B
2019-12-12 14:03:43 -08:00
Michael Vines
1b2a9270e8
Clarify show-vote-account/uptime output: "node id" really means "validator identity"
2019-12-12 14:58:17 -07:00
anatoly yakovenko
e082418e4a
Cleanup the sign shreds interface ( #7456 )
...
automerge
2019-12-12 13:27:33 -08:00
Sunny Gleason
83218c479a
code cleanup, storage_size() was Option<u64>, now Result<u64> ( #7424 )
2019-12-12 14:55:30 -05:00
Jack May
dbb8267b09
Pin dalek version ( #7448 )
...
* Pin Dalek version
* core too
2019-12-12 11:34:43 -08:00
Rob Walker
ea0ba19089
Add SystemInstruction::CreateAccountWithSeed ( #7390 )
...
* address generator
* coverage
* fixups
* remove ascii restriction
* illustrate that utf-8 doesn't expand the space
2019-12-12 11:12:09 -08:00
Michael Vines
2db28cae41
Add solana-watchtower program
2019-12-12 12:03:13 -07:00
sakridge
dd54fff978
Use pinned memory for entry verify ( #7440 )
2019-12-12 10:36:27 -08:00
Greg Fitzgerald
c4f3bb9b67
Use term dapp only in places where the application needs to run entirely on-chain ( #7446 )
2019-12-12 10:38:09 -07:00
Greg Fitzgerald
45487a91f9
Add more precision to testnet definitions and expectations ( #7435 )
...
* Add more precision to testnet definitions and expectations
* Apply review feedback
2019-12-12 10:37:42 -07:00
Justin Starry
dad5c62df5
Add uptime column to show-validators ( #7441 )
...
automerge
2019-12-11 22:04:54 -08:00
Ryo Onodera
a1ab81a896
Include rent_epoch and executable into account hash ( #7415 )
...
* Clean a bit
* Add rent_epoch and executable into account hashing
* Remove comment and instead create an issue
2019-12-12 13:03:33 +09:00
Tyera Eulberg
1d0ba0d1f2
Add special handling for snapshot root slot in get_confirmed_block ( #7430 )
...
* Add special handling for snapshot root slot
* Improve test
2019-12-11 15:06:54 -07:00
dependabot-preview[bot]
46a4ea8f67
Bump reqwest from 0.9.22 to 0.9.24
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.22 to 0.9.24.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.24/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.22...v0.9.24 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-11 13:42:38 -07:00
Trent Nelson
42f2b14a74
Colo: Fix lockfile syntax ( #7432 )
...
Logical AND for [ is -a, [[ is &&.
2019-12-11 15:32:38 -05:00
anatoly yakovenko
bec5835289
Automatically call .recycle in Drop ( #7429 )
...
automerge
2019-12-11 11:58:40 -08:00
sakridge
0aa4dc904e
Accounts index updates, remove pubkey when dead account ( #7408 )
2019-12-11 11:11:31 -08:00
sakridge
f526c424c5
Move slow shred multi_fec test to integration tests folder ( #7426 )
2019-12-11 11:10:21 -08:00
Sunny Gleason
601d7a52e9
add documentation for storage_size() method ( #7416 )
2019-12-11 09:47:12 -05:00
Jack May
7f6fc74c36
Remove workaround of old Rust-BPF ( #7422 )
2019-12-10 23:19:13 -08:00
Jack May
9e2ce1751b
Bump Rust-BPF to Rust 1.39 ( #7420 )
2019-12-10 22:27:14 -08:00
Dan Albert
8920ac02f6
Remov dead code from TdS testnet manager config ( #7414 )
2019-12-10 19:16:49 -05:00
Sunny Gleason
06415de8ee
change blocktree*::storage_size() to return Option<u64> to handle live fs changes ( #7401 )
2019-12-10 19:12:49 -05:00
Dan Albert
12d471e2da
Update default node balance to 500 SOL and default stake to 1 SOL ( #7411 )
2019-12-10 17:52:35 -05:00
Rob Walker
7d6777a96f
show rent model ( #7410 )
2019-12-10 14:50:55 -08:00
anatoly yakovenko
96c08cd295
add pubkey for colo ( #7409 )
...
automerge
2019-12-10 14:18:57 -08:00
Rob Walker
f3633a2e04
rent for testnet ( #7407 )
2019-12-10 13:51:19 -08:00
Parth
feeb1cb566
distribute leftover lamports ( #7396 )
...
* distribute leftover lamports
* add test scenario
* fix naming
2019-12-11 02:41:08 +05:30
carllin
146bc95c16
Fix sigverify metrics ( #7393 )
...
* Add filter
* Collapse logs
* Fix dashboard
2019-12-10 11:28:07 -08:00
Dan Albert
5792f5bfb5
Increase tx_count to 20k for all 5 node testcases ( #7348 )
2019-12-10 14:18:41 -05:00
Tyera Eulberg
11521dca08
Use is_amount clap validator ( #7400 )
...
* Fix up is_amount to handle floats for SOL; expand amount_of test
* Use required_lamports_from and is_amount across CLI
* Remove obsolete test (now handled by clap)
2019-12-10 11:29:17 -07:00
dependabot-preview[bot]
6f457292ff
Bump bincode from 1.2.0 to 1.2.1
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-10 10:00:56 -07:00
Parth
696cb298ab
put limit on account data length ( #7320 )
...
* put limit on account data length
* proper debug message
2019-12-10 22:17:11 +05:30
Parth
6d2861f358
add unit test for minority fork overcommit attack ( #7292 )
...
* add unit test for minority fork overcommit attack
* add generic function to simulate fork selection
2019-12-10 22:06:16 +05:30
Michael Vines
7879fa5095
Better space out show-stake-history columns
2019-12-10 09:19:58 -07:00
Jack May
a03062af4f
Add CLI commands for nonces ( #7329 )
...
automerge
2019-12-10 00:24:44 -08:00
Jack May
19ecce1e32
Fix offline stakes payer ( #7385 )
2019-12-09 23:11:04 -08:00
Michael Vines
5e0a69f68b
Improve get-epoch-info output for longer epoch durations
2019-12-09 23:42:00 -07:00
Michael Vines
a33bcac52f
Fix stable metrics graph: "Bank Height / Slot Distance ($hostid)"
2019-12-09 22:56:54 -07:00
Rob Walker
39cd6dff7d
turn on rent ( #7368 )
...
* turn on rent
* add rent exempt balances for bootstrap accounts
* use Rent::free() when not testing rent
2019-12-09 21:56:43 -08:00
Tyera Eulberg
ed9cf3566c
Restore status check to bubble up TransactionError ( #7383 )
...
automerge
2019-12-09 19:35:34 -08:00
Justin Starry
d4d246bfd1
Fix broken link in paper wallet docs ( #7388 )
...
automerge
2019-12-09 16:26:49 -08:00
Justin Starry
c02a14c798
Add docs for checking account balance of a paper wallet ( #7384 )
...
* Add docs for checking account balance of a paper wallet
* Add url instruction
* Update usage.md
2019-12-09 15:35:18 -08:00
Michael Vines
781ce30e27
Continue processing the ledger on InvalidTickCount errors
2019-12-09 16:34:37 -07:00
dependabot-preview[bot]
4b68c7c154
Bump cbindgen from 0.11.0 to 0.11.1
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.11.0...v0.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-09 15:59:04 -07:00
dependabot-preview[bot]
daddd90058
Bump cc from 1.0.47 to 1.0.48
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.47...1.0.48 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-09 14:57:12 -07:00
Trent Nelson
5d2b27d916
Address post-merge review for #7353 ( #7378 )
...
automerge
2019-12-09 12:54:10 -08:00
Justin Starry
7a37363817
Remove println in solana balance command ( #7380 )
...
automerge
2019-12-09 11:03:30 -08:00
carllin
bee3829960
Remove redundant check ( #7369 )
2019-12-09 01:12:14 -08:00
carllin
e0600e5a91
Properly set parallelism ( #7370 )
2019-12-09 00:14:09 -08:00
carllin
b55b646f12
Fix Erasure Index ( #7319 )
...
Fix Erasure Index Check to set the erasure presence
2019-12-09 00:13:36 -08:00
Justin Starry
43e608af47
Expose stake delegations from bank for winner tool ( #7354 )
...
* Expose stake delegations from bank
* cargo fmt
* Add test
2019-12-08 20:52:01 -08:00
Rob Walker
32d6d811c5
no lockups for community ( #7366 )
2019-12-08 20:21:07 -08:00
Rob Walker
0d6fca5abc
500M SOL ( #7361 )
...
* 500_000_000MM SOL
* fixup
2019-12-08 14:36:09 -08:00
Michael Vines
48a085c28f
Add argument to configure the authorized pubkey for the bootstrap leader's stake ( #7362 )
...
automerge
2019-12-08 13:08:35 -08:00
Trent Nelson
059e631f41
Durable Nonce: Re-introduce Initialize instruction ( #7353 )
...
Toward an Authorized Noncer
2019-12-08 10:16:55 -07:00
Michael Vines
deb7ac549c
Adjust show-validators column alignment ( #7359 )
...
automerge
2019-12-08 09:06:35 -08:00
dependabot-preview[bot]
891767c6b7
Bump serde_json from 1.0.42 to 1.0.44
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.42 to 1.0.44.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.42...v1.0.44 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-08 09:43:24 -07:00
Greg Fitzgerald
62810d769a
Account for all tokens at genesis ( #7350 )
...
* Towards accounting for all tokens
* Move 5m tokens back into the big pool
* Flesh out batch 4
* Add a script to generate ValidatorInfo structs from a CSV file
* Remove commented out code and improve test
2019-12-08 09:17:42 -07:00
Michael Vines
5253c27ca8
Add Forbole ValidatorInfo ( #7355 )
...
automerge
2019-12-07 22:45:58 -08:00
Trent Nelson
1ffd6b4b4d
Add program and runtime support for Durable Transaction Nonces ( #6845 )
...
* Rework transaction processing result forwarding
Durable nonce prereq
* Add Durable Nonce program API
* Add runtime changes for Durable Nonce program
* Register Durable Nonce program
* Concise comments and bad math
* Fix c/p error
* Add rent sysvar to withdraw ix
* Remove rent exempt required balance from Meta struct
* Use the helper
2019-12-07 12:54:10 -07:00
Michael Vines
6469606baf
Add Stake Capital ValidatorInfo ( #7346 )
...
automerge
2019-12-07 01:07:03 -08:00
Michael Vines
77cd292828
getVoteAccounts RPC API no longer returns "idle" vote accounts, take II
2019-12-07 01:16:36 -07:00
Michael Vines
22d6951de5
Revert "getVoteAccounts RPC API no longer returns "idle" vote accounts"
...
This reverts commit 103e40b968 .
2019-12-07 01:16:36 -07:00
Michael Vines
33f7103eae
Enable system program at SoftLaunch epoch 0 ( #7313 )
2019-12-06 23:16:28 -07:00
Sunny Gleason
c00216e3be
feat: ledger size and cleanup metrics ( #7335 )
2019-12-06 22:32:45 -05:00
Michael Vines
42247e0e1a
getVoteAccounts RPC API no longer returns "idle" vote accounts ( #7339 )
2019-12-06 20:23:29 -05:00
Greg Fitzgerald
8a908a6864
Add more pool tokens ( #7338 )
...
automerge
2019-12-06 16:54:02 -08:00
Greg Fitzgerald
2d6ed7142f
Fix typo ( #7336 )
2019-12-06 16:48:16 -07:00
TristanDebrunner
9ecb844de7
Split up ReplayStageConfig to make it derive Default ( #7334 )
...
automerge
2019-12-06 14:39:35 -08:00
Tyera Eulberg
3ab8185777
Add intermittent Timestamping to Votes ( #7233 )
...
* Add intermittent timestamp to Vote
* Add timestamp to VoteState, add timestamp processing to program
* Print recent timestamp with solana show-vote-account
* Add offset of 1 to timestamp Vote interval to initialize at node boot (slot 1)
* Review comments
* Cache last_timestamp in Tower and use for interval check
* Move work into Tower method
* Clarify timestamping interval
* Replace tuple with struct
2019-12-06 14:38:49 -07:00
dependabot-preview[bot]
b8008ae1e9
Bump cbindgen from 0.10.1 to 0.11.0 ( #7318 )
...
automerge
2019-12-06 13:23:22 -08:00
dependabot-preview[bot]
ab9ec45c9d
Bump rpassword from 4.0.1 to 4.0.3 ( #7295 )
...
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-06 16:16:58 -05:00
Tyera Eulberg
6a0d683f79
Brush up validator start docs ( #7333 )
...
* Brush up validator start docs
* Gut Choosing a Testnet to be less confusing
2019-12-06 14:07:41 -07:00
Justin Starry
711487267d
Increase signature confirmation timeout to fix wallet sanity ( #7283 )
...
* Use --hashes-per-tick sleep for localnet sanity test
* Decrease wallet sanity timeout
* Fix check when
2019-12-06 15:39:28 -05:00
Tyera Eulberg
503bf69ab3
Bump wallet-sanity timeout ( #7327 )
2019-12-06 11:12:18 -07:00
Tyera Eulberg
a60521269d
Use u64 for consistency ( #7326 )
2019-12-06 10:24:31 -07:00
Michael Vines
fe96f85410
Update name
2019-12-06 10:15:35 -07:00
Michael Vines
275fab003f
Add ChainFlow ValidatorInfo
2019-12-06 09:22:35 -07:00
Greg Fitzgerald
edfb386ef0
Add pools ( #7324 )
2019-12-06 09:20:32 -07:00
Justin Starry
186709ed75
cli: Confirm recovered pubkeys ( #7316 )
...
* cli: Confirm recovered pubkeys
* cargo clippy
2019-12-06 09:55:00 -05:00
Justin Starry
b7d4330dd4
Fail fast if account paths cannot be canonicalized ( #7300 )
...
* Canonicalize account paths to avoid symlink issues
* fixes
2019-12-05 21:41:29 -05:00
Dan Albert
7c3be2ec9a
Add 30k txcount Colo GPU testcase ( #7314 )
2019-12-05 21:17:16 -05:00
Justin Starry
8fac9102eb
Add docs for using a paper wallet with solana cli ( #7311 )
2019-12-05 21:12:41 -05:00
Michael Vines
178854ac97
Add RockX ValidatorInfo ( #7310 )
2019-12-05 19:06:56 -07:00
Dan Albert
f4a089cc26
Allow delay between validator booting and client start ( #7297 )
...
* Allow delay between validator booting and client start
2019-12-05 21:03:26 -05:00
Michael Vines
422eab5846
Add ChorusOne ValidatorInfo ( #7306 )
2019-12-05 15:39:27 -07:00
sakridge
95e1404a2b
Add verify of keypair ( #7301 )
2019-12-05 14:32:42 -08:00
sakridge
cfc21e1225
Only serialize rooted append vecs ( #7281 )
2019-12-05 14:27:46 -08:00
dependabot-preview[bot]
3799190fa0
Bump assert_cmd from 0.11.1 to 0.12.0 ( #7298 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.11.1...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-05 14:20:50 -07:00
Justin Starry
d6c3396182
Canonicalize paths before symlink-ing when generating snapshots ( #7294 )
...
* Canonicalize paths before symlinking when generating snapshots
* cargo fmt
2019-12-05 14:58:02 -05:00
Sagar Dhawan
a95d37ea25
Fix repair slowness when most peers are unable to serve requests ( #7287 )
...
* Fix repair when most peers are incapable of serving requests
* Add a test for getting the lowest slot in blocktree
* Replace some more u64s with Slot
2019-12-05 11:25:13 -08:00
Rob Walker
d8e1a196bc
more genesis ( #7291 )
2019-12-05 08:30:34 -08:00
dependabot-preview[bot]
1e2970b7e1
Bump thiserror from 1.0.6 to 1.0.9 ( #7246 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.6 to 1.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.6...1.0.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-05 08:58:53 -07:00
Parth
0d1fed78af
Pay rent to validators ( #7164 )
...
automerge
2019-12-05 06:10:34 -08:00
Rob Walker
709bda5939
custodian signs withdraw ( #7286 )
2019-12-04 21:25:01 -08:00
Rob Walker
8a28734603
re svg ( #7288 )
2019-12-04 20:38:42 -08:00
Jack May
9485eba73d
nudge ( #7279 )
2019-12-04 19:28:20 -08:00
Jack May
23c4a7dc49
nudge ( #7280 )
2019-12-04 19:28:00 -08:00
Jack May
39b578fde9
Remove runtime dependency from config program unit tests and move back to config program ( #7277 )
2019-12-04 19:24:12 -08:00
dependabot-preview[bot]
8e16079157
Bump serde_bytes from 0.11.2 to 0.11.3 ( #7269 )
...
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.2...0.11.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-04 19:12:37 -07:00
Michael Vines
eabd23fc07
Import validators ( #7282 )
2019-12-04 18:26:57 -07:00
Pankaj Garg
c7932b710c
Remove tune-system.sh script and its use ( #7278 )
2019-12-04 16:40:12 -08:00
Pankaj Garg
9d7a926a8b
Tune UDP rmem/wmem using sys-tuner daemon ( #7273 )
2019-12-04 15:17:24 -08:00
Pankaj Garg
0a390cbc91
Update validator-start document to reflect sys-tuner changes ( #7275 )
2019-12-04 15:17:12 -08:00
Justin Starry
76829457df
Fix typo, grammar, and formatting in Paper Wallet documentation ( #7268 )
...
* Fixes
* Simply installation steps
* Remove profile step
* Split up commands
* 2 -> 3
2019-12-04 15:44:02 -05:00
Jack May
703a5348e8
Relocate program tests ( #7259 )
2019-12-04 12:41:54 -08:00
Jack May
1a135fa30e
Verify BPF ELF during finalize ( #7266 )
2019-12-04 12:03:29 -08:00
Justin Starry
e4d75c77bf
Sanitize whitespace in seed phrase input ( #7260 )
...
* Sanitize whitespace in seed phrase input
* cargo clippy
* Use split_whitespace
2019-12-04 14:40:32 -05:00
Pankaj Garg
75d505c431
Don't hardcode username in sys-tuner ( #7234 )
...
automerge
2019-12-04 11:39:26 -08:00
Jack May
b72c99e46a
nudge ( #7265 )
2019-12-04 11:03:24 -08:00
TristanDebrunner
fae9c08815
Add ReplayStageConfig ( #7195 )
2019-12-04 11:17:17 -07:00
Justin Starry
c3e7deb4b6
Use wrappable code snippet for paper wallet installation ( #7261 )
2019-12-04 12:30:12 -05:00
dependabot-preview[bot]
c9245751e9
Bump nix from 0.15.0 to 0.16.0 ( #7216 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits/v0.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-04 09:35:45 -07:00
Jack May
9b172879a2
Remove deprecated solana_entrypoint macro ( #7257 )
2019-12-04 00:42:50 -08:00
Rob Walker
9077a94dfe
vote update node_id ( #7253 )
...
* vote update node_id
* un-break binary 'contract'
2019-12-03 22:50:08 -08:00
Rob Walker
e2f07a5220
bs58 ( #7252 )
2019-12-03 22:18:12 -08:00
Rob Walker
ae93d574c2
commission as percent ( #7239 )
...
* commission_as_percent
* fixup
2019-12-03 20:55:04 -08:00
Rob Walker
369f37a0a4
genesis validators ( #7235 )
...
* genesis validators
* slp1 nodes get 500SOL
* no commission
2019-12-03 20:44:02 -08:00
Justin Starry
e1b7f40c2b
Allow generation of longer seed phrases with keygen ( #7210 )
2019-12-03 23:39:45 -05:00
Justin Starry
94dcd3fe12
Remove extra installation options for paper wallet ( #7245 )
...
* Remove extra installation options for paper wallet
* Copy installation link out of code block for printing
2019-12-03 22:54:33 -05:00
Justin Starry
2dc1ae9026
Add Paper Wallet Installation page to sidebar ( #7242 )
2019-12-03 21:43:39 -05:00
Justin Starry
7cfff75c3e
Use procedural macro to generate static public keys ( #7219 )
...
automerge
2019-12-03 17:55:18 -08:00
Justin Starry
a66a49d384
Update paper wallet documentation ( #7223 )
...
* wip
* Update paper wallet documentation
* Add install from tarball instructions
* Separate out installation page
2019-12-03 20:12:24 -05:00
Jack May
5f58e0661b
Remove duplicate word ( #7236 )
2019-12-03 16:45:59 -08:00
carllin
f0a40862d6
Support local cluster edge case testing ( #7135 )
...
* Refactor local cluster to support killing a partition
* Rework run_network_partition
* Introduce fixed leader schedule
* Plumb fixed schedule into test
2019-12-03 16:31:59 -08:00
Pankaj Garg
f75c51ff71
sys-tuner to check uid of the proc entry ( #7232 )
...
automerge
2019-12-03 16:03:10 -08:00
Pankaj Garg
d357192025
Fix ssh connection error due to too many authentication failures ( #7229 )
2019-12-03 15:53:12 -08:00
Pankaj Garg
c996c8ff49
Protect sys-tuner socket access at create ( #7230 )
...
automerge
2019-12-03 14:29:37 -08:00
Sagar Dhawan
1af4e256c9
Print slot meta when printing a slot ( #7133 )
...
automerge
2019-12-03 12:27:43 -08:00
Parth
bc09365c98
make tx fee's burn percent in proper range ( #7226 )
...
automerge
2019-12-03 12:25:43 -08:00
Parth
ba688cf629
enforce proper range for rent burn_percent ( #7217 )
...
* enforce proper range for burn_percent
2019-12-04 00:54:01 +05:30
Rob Walker
d5c8b26a45
bank_leak_mac_os ( #7209 )
2019-12-03 00:09:05 -08:00
Michael Vines
d38f3f664f
Ensure IpEchoServerMessage is not fragmented ( #7214 )
...
automerge
2019-12-02 22:32:43 -08:00
Michael Vines
5ac435325b
Fix windows build more ( #7208 )
2019-12-02 22:09:06 -07:00
Justin Starry
b874441a47
Prevent passphrase mistakes with confirmation prompt ( #7207 )
2019-12-02 22:42:42 -05:00
Ryo Onodera
a35087a5ed
Fix typo ( #7202 )
2019-12-02 19:51:27 -07:00
Michael Vines
1aeaf052a6
Fix windows build ( #7204 )
2019-12-02 19:45:07 -07:00
Pankaj Garg
a0eafa12e3
Update to hashes_per_tick computation, and tick duration datapoint ( #7127 )
2019-12-02 18:02:11 -08:00
Tyera Eulberg
757425a360
Add validator timestamp oracle proposal ( #7159 )
...
* Add validator timestamp oracle proposal
* Make timestamping part of the Vote program
* Describe extending Vote to include timestamp: Option<UnixTimestamp>
* Qualify getBlockTime-eligible blocks as rooted
2019-12-02 18:51:54 -07:00
dependabot-preview[bot]
64d1e776f7
Bump cbindgen from 0.10.0 to 0.10.1 ( #7197 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 18:40:22 -07:00
Michael Vines
c6695a3120
Correctly parse ip echo server response and fix broken test ( #7196 )
2019-12-02 18:37:01 -07:00
Pankaj Garg
076e384bb5
Tool to tune system parameters like PoH service priority ( #7155 )
...
* New daemon to tune system parameters like PoH service priority
* fixes for Linux
* integrate with poh_service
* fixes
* address review comments
* remove `dead_code` directive
2019-12-02 16:46:46 -08:00
Michael Vines
41cff1b49d
Remove spammy log
2019-12-02 16:52:01 -07:00
Greg Fitzgerald
6796b08909
Migrate to thiserror ( #7177 )
...
* Migrate to thiserror
* Discourage the use of other modules' Result alias
`io::Result` set a bad precedent. Don't import other `Result`
aliases.
2019-12-02 15:42:05 -07:00
Rob Walker
f9df17d8d0
track bank size ( #7144 )
...
* track bank size
* support non-linux a bit better
2019-12-02 13:47:20 -08:00
Michael Vines
7f71a0ba37
Drop default signature fee by 10x ( #7192 )
2019-12-02 14:34:26 -07:00
Sagar Dhawan
0e2e13f018
Update usages of u64 to Slot ( #7191 )
...
automerge
2019-12-02 11:57:40 -08:00
Jack May
bd099e2f4d
Fix spelling ( #7186 )
2019-12-02 10:56:01 -08:00
Tyera Eulberg
42f56b9f86
Further validator doc cleanup ( #7187 )
2019-12-02 11:49:54 -07:00
Tyera Eulberg
704c50ea17
More validator doc cleanup ( #7185 )
...
* Cleanup and wrap lines in validator docs
* Add references to tune_system and solana-keygen grind
2019-12-02 10:53:07 -07:00
sakridge
887bff572a
More conservative purge_zero_lamport_accounts purge logic ( #7157 )
2019-12-02 09:51:05 -08:00
Michael Vines
1eaf71b5b4
Improve error handling when the user mixes up gossip (8001) and RPC (8899) ports ( #7158 )
...
automerge
2019-12-02 09:01:25 -08:00
dependabot-preview[bot]
0f872af502
Bump libc from 0.2.65 to 0.2.66 ( #7180 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.65 to 0.2.66.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.65...0.2.66 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 09:56:03 -07:00
dependabot-preview[bot]
b13696ea1a
Bump jsonrpc-http-server from 14.0.3 to 14.0.5 ( #7181 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-http-server-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 09:55:40 -07:00
dependabot-preview[bot]
5fbbf7c748
Bump jsonrpc-ws-server from 14.0.3 to 14.0.5 ( #7172 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-ws-server-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-29 23:06:23 -07:00
dependabot-preview[bot]
e7fe0db051
Bump jsonrpc-derive from 14.0.3 to 14.0.5 ( #7173 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-derive-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-29 14:15:02 -07:00
dependabot-preview[bot]
dcb7bd8c74
Bump jsonrpc-pubsub from 14.0.3 to 14.0.5 ( #7174 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-pubsub-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-29 14:14:57 -07:00
Greg Fitzgerald
92d485dd4d
Cleanup ( #7176 )
...
* Drop serde error instances
These were no longer needed after ToPrimitive instances were
added.
* Rename last of _api crates
2019-11-29 13:50:32 -07:00
Tyera Eulberg
f4229a5d3e
Validator docs revamp part 1 ( #7171 )
...
* Validator Docs revamp part 1
* Notes from @CriesofCarrots
* Fixup links and start page
* Update versions
2019-11-28 15:39:27 -07:00
dependabot-preview[bot]
f97626346b
Bump jsonrpc-core from 14.0.3 to 14.0.5 ( #7170 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-28 10:59:31 -07:00
dependabot-preview[bot]
7f4feaee08
Bump serde from 1.0.102 to 1.0.103 ( #7163 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.102...v1.0.103 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-27 09:10:25 -07:00
dependabot-preview[bot]
5a30ef180a
Bump serial_test_derive from 0.2.0 to 0.3.1 ( #7153 )
...
Bumps [serial_test_derive](https://github.com/palfrey/serial_test ) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.2.0...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-26 23:12:13 -07:00
dependabot-preview[bot]
0a0412e47e
Bump serial_test from 0.2.0 to 0.3.1 ( #7154 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.2.0...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-26 22:07:39 -07:00
Justin Starry
57d4b50467
Add Paper Wallet documentation to the book ( #7147 )
...
automerge
2019-11-26 20:56:11 -08:00
Rob Walker
8d75efdc58
genesis config hashmaps ( #7107 )
2019-11-26 19:23:37 -08:00
carllin
c706f9b2cd
Change from using fixed number of ticks in delay calculation ( #7152 )
...
automerge
2019-11-26 16:21:02 -08:00
dependabot-preview[bot]
c810913861
Bump serde_derive from 1.0.102 to 1.0.103 ( #7141 )
...
automerge
2019-11-26 14:44:20 -08:00
dependabot-preview[bot]
2b13158e29
Bump serde_json from 1.0.41 to 1.0.42 ( #7142 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.41 to 1.0.42.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.41...v1.0.42 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-26 15:09:01 -07:00
Justin Starry
4fe1716c7a
solana-keygen: Support pubkey recovery directly from seed phrase ( #7149 )
2019-11-26 15:30:07 -05:00
Michael Vines
d7a82783be
Ensure beta/stable testnets use public IPs
2019-11-26 11:24:38 -07:00
Sunny Gleason
0a0f15baca
RPC subscriptions for new slot notifications ( #7114 )
...
* feat: slot notifications via pubsub rpc w/ tests
2019-11-26 03:42:54 -05:00
Tyera Eulberg
58c144ee55
Add getBlockTime rpc api ( #7130 )
...
* Add getBlockTime rpc api
* Add getBlockTime to docs
* Fix duration rounding for common tick/slot durations; add slot duration calculation
* Expose slots_per_year
* Use genesis values instead of clock defaults to calculate block offset
* Add get-block-time cli subcommand
* Fix test_rent: decrease magic number usage
2019-11-26 00:40:36 -07:00
Michael Vines
280315a314
mut
2019-11-25 22:49:15 -07:00
Trent Nelson
506ff5809e
keygen: Support not writing keypairs to disk ( #7136 )
...
* keygen: Add flag to prevent new from writing keypair to disk
* check_for_overwrite bails, do it before prompts
2019-11-25 22:43:03 -07:00
Michael Vines
acd1505050
Stop open measurement before logging it
2019-11-25 22:20:34 -07:00
Michael Vines
578b56fc10
Cargo.lock
2019-11-25 22:20:34 -07:00
Jack May
88cb0c6ae3
Add offline signing support to CLI ( #7104 )
2019-11-25 21:09:57 -08:00
Michael Vines
294662a1ce
Bump version to 0.22.0
2019-11-25 21:34:50 -07:00