fe54a30084
Docs: Clarify validator disk requirements ( #12921 )
...
(cherry picked from commit cc0781e0ac
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 17:56:46 +00:00
80942841a2
Surface 'Program account allocation failed' error details ( #12904 )
...
(cherry picked from commit eec3d25ab9
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 16:22:12 +00:00
d2808a8e29
docs: Rework JSON RPC curl examples to be more readable (bp #12893 ) ( #12899 )
...
* Rework curl examples to be more readable
(cherry picked from commit f0d0bdc572
)
# Conflicts:
# docs/src/apps/jsonrpc-api.md
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 15:47:49 +00:00
f8413a28b5
Better tower logs for SwitchForkDecision and etc ( #12875 ) ( #12905 )
...
* Better tower logs for SwitchForkDecision and etc
* nits
* Update comment
(cherry picked from commit a44e4d386f
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-15 10:41:03 +00:00
bc96332899
Respect RefCell when calling invoke ( #12858 ) ( #12891 )
...
* Respect RefCell when calling invoke
* nudge
(cherry picked from commit 969f7b015b
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 02:15:36 +00:00
ceeeb3c9dd
Change developer CTA ( #12857 ) ( #12892 )
...
* change `index.js`
(cherry picked from commit 9e7fad1fd2
)
Co-authored-by: R. M. Shea <8948187+rmshea@users.noreply.github.com >
2020-10-15 01:45:06 +00:00
bd058ec8f1
Release: Include SPL Token in release tarballs ( #12889 )
...
(cherry picked from commit f70762913c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 01:32:34 +00:00
4b5ac44fc8
RPC: Add metrics for TX encoding ( #12880 )
...
(cherry picked from commit c26512255d
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-14 19:39:08 +00:00
fef979f0e5
Don't report RewardType::Fee when none was awarded ( #12877 )
...
(cherry picked from commit 4b04ed86b6
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-14 17:15:41 +00:00
cca2cdf39b
Expose program error constants ( #12861 ) ( #12871 )
...
(cherry picked from commit d4e953277e
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-14 08:48:50 +00:00
6e91996606
Bump version to 1.4.1
2020-10-14 03:05:04 +00:00
99be00d61f
Add separate push queue to reduce push lock contention ( #12713 ) ( #12867 )
...
(cherry picked from commit 1f1eb9f26e
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-14 02:46:13 +00:00
68f808026e
Add log_messages to proto file ( #12859 ) ( #12863 )
...
(cherry picked from commit 67ed44c007
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-14 01:50:55 +00:00
0c7ab0a1bb
Update programming-faq.md ( #12864 ) ( #12865 )
...
Fix typo
(cherry picked from commit b8f03c9b0f
)
Co-authored-by: kemargrant <kemargrant@gmail.com >
2020-10-14 01:15:52 +00:00
3d8ccbc079
terminology update, nonce to bump seed ( #12840 ) ( #12851 )
...
(cherry picked from commit 56211378d3
)
Co-authored-by: Jack May <jack@solana.com >
v1.4.0
2020-10-13 18:31:48 +00:00
275d096a46
solana vote-account
/solana stake-account
now works with RPC servers without --enable-rpc-transaction-history
(bp #12826 ) ( #12849 )
...
* 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:28:15 +00:00
6d70a06b23
Add nop feature set for upcoming ported rent fixes ( #12841 ) ( #12847 )
...
(cherry picked from commit 7de7efe96c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-13 17:47:59 +00:00
7e68b2e1bd
Add transaction log messages to |solana confirm -v| output ( #12836 )
...
(cherry picked from commit e9dbbdeb81
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 06:57:21 +00:00
f0d761630e
get_vote_accounts: access HashMap directly instead of turning it into an iterator ( #12829 )
...
(cherry picked from commit 649fe6d3b6
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 05:25:31 +00:00
1986927eb6
Check ELF file for errors before deploy (bp #12741 ) ( #12801 )
...
* 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:
# cli/Cargo.toml
* rebase
Co-authored-by: Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 04:41:51 +00:00
9a0ea61007
Add docs on vote account key rotation (bp #12815 ) ( #12831 )
...
* 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:32:03 +00:00
51a70e52f2
CI: Fix crate publication ( #12825 )
...
(cherry picked from commit c38021502e
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-12 23:15:46 +00:00
9797c93db3
fix native_loader behavior for invalid accounts ( #12814 ) ( #12819 )
...
(cherry picked from commit c24da1ee16
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-12 22:14:56 +00:00
9598114658
Use latest stable channel release if there's no beta release ( #12823 )
...
(cherry picked from commit 65213a1782
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 22:12:16 +00:00
d3ef061044
RpcClient: Encode TXs as base64 by default ( #12817 )
...
(cherry picked from commit efbe37ba20
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-12 21:56:18 +00:00
1f102d2617
Move no-0-rent rent dist. behavior under feature ( #12804 ) ( #12811 )
...
(cherry picked from commit 2f5bb7e507
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-12 09:57:32 +00:00
5e97bd3d8a
simulate_transaction_with_config() now passes full config to server ( #12803 )
...
(cherry picked from commit b3c2752bb0
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 05:58:30 +00:00
ed06e8b85d
Pacify cargo audit
(bp #12797 ) ( #12799 )
...
* Bump reqwest/rayon to get past `cargo audit`
(cherry picked from commit 8a119c1483
)
# Conflicts:
# dos/Cargo.toml
# download-utils/Cargo.toml
# metrics/Cargo.toml
* Switch to tempfile
(cherry picked from commit d3b0f87a49
)
* Rework cargo audit ignores
(cherry picked from commit 2301dcf973
)
* Cargo.lock
(cherry picked from commit 859eb606da
)
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 04:29:55 +00:00
10b9225edb
Don't bother paying 0 rent ( #12793 )
...
(cherry picked from commit 1fc7c1ecee
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 18:12:14 +00:00
b1b5ddd2b9
Update gossip entrypoints
2020-10-10 08:39:38 -07:00
6b9b107ead
Fix various ledger-tool error due to no builtins (bp #12759 ) ( #12766 )
...
* Fix various ledger-tool error due to no builtins (#12759 )
* Fix various ledger-tool error due to no builtins
* Add missing file...
(cherry picked from commit 1f4bcf70b0
)
# Conflicts:
# core/Cargo.toml
# ledger/Cargo.toml
* Rebase
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 07:10:38 +00:00
3fef98fd1e
Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768 ) ( #12790 )
...
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli
(cherry picked from commit c5c8da1ac0
)
# Conflicts:
# Cargo.lock
# 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:11:42 +00:00
e999823b4b
document program address collisions ( #12774 )
...
(cherry picked from commit 9ac8db3533
)
2020-10-09 22:35:47 -07:00
1e46a5b147
Fix typo ( #12780 ) ( #12784 )
...
(cherry picked from commit 5800217998
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 02:09:09 +00:00
567a1cb944
Correct Bank timestamp drift every slot ( #12737 ) ( #12777 )
...
* Move timestamp helper to sdk
* Add Bank method for getting timestamp estimate
* Return sysvar info from Bank::clock
* Add feature-gated timestamp correction
* Rename unix_timestamp method to be more descriptive
* Review comments
* Add timestamp metric
(cherry picked from commit b028c47d2b
)
# Conflicts:
# runtime/src/feature_set.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 00:42:44 +00:00
2996cebfaa
Add convenience script for working in stability branches ( #12765 ) ( #12773 )
...
* 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 23:02:21 +00:00
7a1889aaf9
Add adjustable stack size and call depth (bp #12728 ) ( #12770 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 22:08:01 +00:00
9188153b7d
Fix fee mismatch on snapshot deserialize ( #12697 ) ( #12754 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c879e7c1ad
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-09 20:21:50 +00:00
4b9f2e987a
Bump max invoke depth to 4 ( #12742 ) ( #12764 )
...
(cherry picked from commit 2cd7cd3149
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 18:49:44 +00:00
bb5c76483a
Advise setting --wal-recovery-mode
, and using --private-rpc
for mainnet-beta ( #12761 )
...
(cherry picked from commit 3fedcdc6bc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 15:56:56 +00:00
aafbb251b9
Only fetch snapshot if it's newer than local ( #12663 ) ( #12752 )
...
* 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:15:34 +00:00
dd32540ceb
Add inflation_kill_switch feature ( #12749 )
...
(cherry picked from commit c8807d227a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 05:55:51 +00:00
e1a9cbaf3c
Add new internal accounts ( #12740 ) ( #12747 )
...
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:19:55 +00:00
83740246fc
Minor variable name cleanup ( #12745 )
...
(cherry picked from commit 3a04026599
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 02:12:28 +00:00
7a53ca18a6
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) ( #12678 ) ( #12735 )
...
* 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
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-08 20:19:26 +00:00
c1a8637cb5
Support multiple connected HW wallets configured with the same seed phrase (bp #12716 ) ( #12720 )
...
* 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:32:48 +00:00
d6831309cd
Revert "Restore --expected-shred-version argument for mainnet-beta" ( #12723 )
...
This reverts commit 9410eab2af
.
(cherry picked from commit dadc84fa8c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-08 05:00:44 +00:00
2c38865e70
Revert "Inflation cli fix and parameter update ( #12709 )"
...
This reverts commit b3f695c83f
.
2020-10-07 19:43:15 -07:00
dd7fae4afb
Fix syscall featurization ( #12714 )
...
* Fix syscall featurization
* nudge
2020-10-07 18:38:38 -07:00
346890ded3
Display vote/stake account epoch rewards
2020-10-07 17:14:12 -07:00