df8b07ddbd
solana vote-account
/solana stake-account
now works with RPC servers without --enable-rpc-transaction-history
(bp #12826 ) ( #12848 )
...
* Implementation-defined RPC server errors are now accessible to client/ users
(cherry picked from commit 247228ee61
)
* Cleanly handle RPC servers that don't have --enable-rpc-transaction-history enabled
(cherry picked from commit 14d793b22c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 18:14:45 +00:00
762423c9a9
Add transaction log messages to |solana confirm -v| output ( #12835 )
...
(cherry picked from commit e9dbbdeb81
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 07:10:03 +00:00
689aa4d44f
Check ELF file for errors before deploy (bp #12741 ) ( #12800 )
...
* Check ELF file for errors before deploy (#12741 )
* Check ELF file for errors before deploy
* Update cli/src/cli.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix formatting
* Bump solana_rbpf
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 6bbf6a79b7
)
# Conflicts:
# Cargo.lock
# cli/Cargo.toml
# cli/src/cli.rs
* rebase
Co-authored-by: Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 05:12:33 +00:00
cff1496e94
Add docs on vote account key rotation (bp #12815 ) ( #12830 )
...
* Add docs on vote account key rotation
(cherry picked from commit 253114ca20
)
* Update docs/src/running-validator/vote-accounts.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit d83027c0cd
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 04:21:16 +00:00
d1c51950f3
Bump version to v1.3.18
2020-10-13 03:57:13 +00:00
774a12e7b9
CI: Fix crate publication ( #12824 )
...
(cherry picked from commit c38021502e
)
Co-authored-by: Trent Nelson <trent@solana.com >
v1.3.17
2020-10-12 23:19:31 +00:00
85e8926d81
fix native_loader behavior for invalid accounts ( #12814 ) ( #12818 )
...
(cherry picked from commit c24da1ee16
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-12 22:09:55 +00:00
a2be9c647f
Use latest stable channel release if there's no beta release ( #12822 )
...
(cherry picked from commit 65213a1782
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 22:03:05 +00:00
744006fe78
RpcClient: Encode TXs as base64 by default ( #12816 )
...
(cherry picked from commit efbe37ba20
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-12 21:56:13 +00:00
edf59cccd8
Fix fee mismatch on snapshot deserialize ( #12697 ) ( #12753 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c879e7c1ad
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-12 11:34:13 +00:00
9c72bf871f
Move no-0-rent rent dist. behavior under feature ( #12804 ) ( #12810 )
...
(cherry picked from commit 2f5bb7e507
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-12 10:42:01 +00:00
033c87e3f1
simulate_transaction_with_config() now passes full config to server ( #12802 )
...
(cherry picked from commit b3c2752bb0
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 06:13:55 +00:00
d35d853e57
Cargo.lock
2020-10-12 04:21:26 +00:00
03317f6bf7
Switch to tempfile
2020-10-12 04:21:26 +00:00
4f0e928a0a
Rework cargo audit ignores
2020-10-12 04:21:26 +00:00
8600d5188d
Don't bother paying 0 rent ( #12792 )
...
(cherry picked from commit 1fc7c1ecee
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 18:12:18 +00:00
8cd7716ee3
Update docs to show support for Nano X (bp #12647 ) ( #12654 )
...
* Update docs to show support for Nano X (#12647 )
(cherry picked from commit 0ef3cac1f8
)
# Conflicts:
# docs/src/wallet-guide/ledger-live.md
* Fix merge conflict
Co-authored-by: Dan Albert <dan@solana.com >
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-10-10 16:06:41 +00:00
b13385fba6
Update gossip entrypoints
2020-10-10 08:39:54 -07:00
9f82208c29
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) (bp #12678 ) ( #12734 )
...
* Store program logs in blockstore / bigtable (TransactionWithStatusMeta) (#12678 )
* introduce store program logs in blockstore / bigtable
* fix test, transaction logs created for successful transactions
* fix test for legacy bincode implementation around log_messages
* only api nodes should record logs
* truncate transaction logs to 100KB
* refactor log truncate for improved coverage
(cherry picked from commit 8f5431551e
)
# Conflicts:
# runtime/src/bank.rs
* Resolve merge conflicts in bank.rs
* rerun cargo fmt
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-10 08:55:41 +00:00
596ede864b
document program address collisions (bp #12774 ) ( #12781 )
...
* document program address collisions (#12774 )
(cherry picked from commit 9ac8db3533
)
# Conflicts:
# sdk/src/pubkey.rs
* Update pubkey.rs
* Update pubkey.rs
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 06:50:58 +00:00
e4bd382472
Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768 ) ( #12789 )
...
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli
(cherry picked from commit c5c8da1ac0
)
# Conflicts:
# Cargo.lock
# runtime/src/bank.rs
# transaction-status/Cargo.toml
* fix: surface full block rewards type
(cherry picked from commit 1b16790325
)
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 06:25:10 +00:00
a70aa28832
Bump version to 1.3.17
2020-10-10 03:22:14 +00:00
9a63cf51b5
Fix typo ( #12780 ) ( #12783 )
...
(cherry picked from commit 5800217998
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 02:18:18 +00:00
b31ec0579c
Local program allocator ( #12679 ) ( #12767 )
...
(cherry picked from commit 630eb3b907
)
Co-authored-by: Jack May <jack@solana.com >
v1.3.16
2020-10-10 01:44:18 +00:00
ad31768dd9
Add adjustable stack size and call depth (bp #12728 ) ( #12769 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/build.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
# runtime/src/feature_set.rs
# runtime/src/process_instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 23:27:59 +00:00
079ea91d6f
Add convenience script for working in stability branches ( #12765 ) ( #12772 )
...
* Add convenience script for working in stability branches
* Update scripts/curgo.sh
Co-authored-by: Michael Vines <mvines@gmail.com >
* re{locate,name} to /cargo
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit ed95071c27
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-09 22:29:47 +00:00
48d08f2010
Bump max invoke depth to 4 (bp #12742 ) ( #12763 )
...
* Bump max invoke depth to 4 (#12742 )
(cherry picked from commit 2cd7cd3149
)
# Conflicts:
# programs/bpf/rust/invoked/src/processor.rs
# runtime/src/feature_set.rs
# runtime/src/message_processor.rs
# runtime/src/process_instruction.rs
* fix conflicts
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 21:12:35 +00:00
b34ba0fc4e
Remove skip-no-mangle entirely (bp #12696 ) ( #12708 )
...
* Remove skip-no-mangle entirely (#12696 )
(cherry picked from commit 41ad3dd8f0
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
# transaction-status/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 20:44:50 +00:00
41b99b96c0
Ryos compat fixes 1.3 ( #12762 )
...
* Fix various ledger-tool error due to no builtins
* Add missing file...
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-09 11:49:15 -06:00
fea6e4d39d
Only fetch snapshot if it's newer than local ( #12663 ) ( #12751 )
...
* Only fetch snapshot if it's newer than local
* Prefer as_ref over clone
* More nits
* Don't wait forwever for newer snapshot
(cherry picked from commit 81489ccb76
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-09 07:23:06 +00:00
fced68c3f4
Add inflation_kill_switch feature ( #12748 )
...
(cherry picked from commit c8807d227a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 05:39:17 +00:00
7f006d810c
Add new internal accounts ( #12740 ) ( #12746 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 2c5f83c264
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-10-09 02:18:27 +00:00
cab1b102e6
Minor variable name cleanup ( #12744 )
...
(cherry picked from commit 3a04026599
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 02:03:03 +00:00
448887a469
Fixup wallet docs, manual cherrypick for backport ( #12738 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-10-08 21:51:24 +00:00
bded162ed8
fix conflicts ( #12733 )
...
Co-authored-by: Jack May <jack@solana.com >
2020-10-08 20:40:59 +00:00
765dd1b775
Nit, short name (bp #12195 ) ( #12732 )
...
* Nit, short name (#12195 )
(cherry picked from commit daba17a95c
)
# Conflicts:
# runtime/src/bank.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-08 20:03:15 +00:00
b74fbdf7eb
Pipe FeatureSet though InvokeContext (bp #12536 ) ( #12730 )
...
* Pipe FeatureSet though InvokeContext (#12536 )
* Pipe FeatureSet though InvokeContext
* gate program size cap
* nit
(cherry picked from commit 74fcb184b2
)
# Conflicts:
# runtime/src/bank.rs
# runtime/src/feature_set.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-08 18:18:51 +00:00
fb0f0adb16
Display vote/stake account epoch rewards
2020-10-08 08:34:40 -07:00
2a3c4d87ce
Support multiple connected HW wallets configured with the same seed phrase (bp #12716 ) ( #12719 )
...
* remote-wallet: Select hardware wallets based on host device path
(cherry picked from commit 8e3353d9ef
)
* remote-wallet: Append wallet "name" to entries in selector UI
(cherry picked from commit f1a2ad1b7d
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-08 05:46:24 +00:00
eaa6e04e83
Revert "Restore --expected-shred-version argument for mainnet-beta" ( #12722 )
...
This reverts commit 9410eab2af
.
(cherry picked from commit dadc84fa8c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-08 04:48:40 +00:00
925973ee60
RPC: Transaction deser can be quite slow (bp #12683 ) ( #12702 )
...
* RPC: Check encoded transaction size before decoding
(cherry picked from commit 7f67d36777
)
* RPC: Support base64 encoded transactions
Defaults to base58
(cherry picked from commit e35889542b
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-07 05:50:23 +00:00
2c55319e41
Add env variable for rayon thread counts ( #12693 ) ( #12698 )
...
(cherry picked from commit 37222683ee
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-07 01:26:18 +00:00
f22a5efde5
Faucet request limiter can overflow (bp #12691 ) ( #12694 )
...
* faucet: Add failing test case
(cherry picked from commit 5ae704d560
)
* faucet: Use checked math in request limiter
(cherry picked from commit 87de82ac94
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-06 20:02:14 +00:00
add5c5b29f
Add systemd and log rotation section to validator start docs ( #12675 ) ( #12676 )
...
* Add systemd and log rotation section to validator start docs
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit fbb5e5c4e6
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-05 19:34:44 +00:00
1b53f8b33d
Update channel_restriction.sh
2020-10-04 10:28:12 -06:00
34591d2f2f
Show commit in --version
and ledger-tool's log ( #12636 ) ( #12662 )
...
* Show commit in `--version` and ledger-tool's log
* Another handy hidden env var
* Fix test
* Rename to semver!
* Fix syntax error...
(cherry picked from commit 026e7de819
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-03 16:45:27 +00:00
bc1b95d6d0
Bump version to v1.3.16
2020-10-03 04:24:03 +00:00
90d586a4f8
solana stakes
now employs server-side filtering if only one vote account is provided (#12657 )
...
(cherry picked from commit 9abaf6ec1d
)
Co-authored-by: Michael Vines <mvines@gmail.com >
v1.3.15
2020-10-03 02:00:49 +00:00
efcb5cd9f0
Fix zero-len slice translations ( #12642 ) ( #12656 )
...
(cherry picked from commit d0aa8a6446
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-03 01:58:27 +00:00
ffa0ee69ca
Weight push peers by how long we haven't pushed to them ( #12620 ) ( #12651 )
...
(cherry picked from commit 71c469c72b
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-02 22:27:35 +00:00