c3098e99d1
Bump version to v1.9.8
2022-02-16 21:42:57 -07:00
421ad42b12
Fix flaky optimistic confirmation tests (backport #23178 ) ( #23200 )
...
* Fix flaky optimistic confirmation tests (#23178 )
(cherry picked from commit bca1d51735
)
# Conflicts:
# local-cluster/tests/local_cluster.rs
# local-cluster/tests/local_cluster_flakey.rs
* Resolve conflicts
Co-authored-by: carllin <carl@solana.com >
2022-02-17 03:18:24 +00:00
08cc140d4a
accounts_index: Add SPL Token account indexing for token-2022 accounts ( #23043 ) ( #23203 )
...
(cherry picked from commit a102453bae
)
Co-authored-by: Michael Vines <mvines@gmail.com >
v1.9.7
2022-02-17 02:20:38 +00:00
2120ef5808
Fix ed25519 builtin program handling (backport #23182 ) ( #23195 )
...
* Fix ed25519 builtin program handling (#23182 )
* Fix ed25519 builtin program handling
* Fix tests
* Add integration tests for processing transactions with ed25519 ixs
* Fix another test
* fix formatting
(cherry picked from commit 813725dfec
)
* fix tests
Co-authored-by: Justin Starry <justin@solana.com >
Co-authored-by: Jack May <jack@solana.com >
2022-02-17 00:44:44 +00:00
c08af09aaa
Removed solana-accountsdb-plugin-postgres from the monorepo as it has its own ( #22567 ) ( #23202 )
...
Removed solana-accountsdb-plugin-postgres from the monorepo as it has its own standalone repo now
2022-02-16 15:52:59 -08:00
8b12749f02
forward_buffered_packets return packet count in error path ( #23167 ) ( #23187 )
...
(cherry picked from commit 115d71536b
)
Co-authored-by: Jeff Biseda <jbiseda@gmail.com >
2022-02-16 13:01:16 -08:00
e343a17ce9
Update ping to transfer to self, with rotating amount ( #22657 ) ( #22675 )
...
* Update ping to transfer to self, with rotating amount
* Remove balance check
(cherry picked from commit 90689585ef
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2022-02-16 12:52:28 -07:00
3fd78ac6ea
shrink batches when over 80% of the space is wasted (backport #23066 ) ( #23189 )
...
* shrink batches when over 80% of the space is wasted (#23066 )
* shrink batches when over 80% of the space is wasted
(cherry picked from commit 83d31c9e65
)
# Conflicts:
# core/benches/sigverify_stage.rs
# core/src/sigverify_stage.rs
# perf/src/sigverify.rs
* fixup!
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2022-02-16 19:30:16 +00:00
41bbc11a46
flag end-of-slot when poh bank is gone (backport #23069 ) ( #23174 )
...
* flag end-of-slot when poh bank is gone
(cherry picked from commit 03bf66a51b
)
# Conflicts:
# core/src/banking_stage.rs
* merge fix
Co-authored-by: Tao Zhu <tao@solana.com >
2022-02-16 18:08:03 +00:00
68934353f2
Typo fix ( #23152 ) ( #23153 )
...
Fixed a type in the documentation.
(cherry picked from commit bb50259956
)
Co-authored-by: Jerry <jerskisnow@protonmail.com >
2022-02-16 10:53:30 -07:00
92543a3f92
fix typo in docs ( #22690 ) ( #22691 )
...
(cherry picked from commit 2b111cd631
)
Co-authored-by: Steve James <0x2t1ff@gmail.com >
2022-02-16 10:50:45 -07:00
a514aff819
Update jsonrpc-api.md ( #23190 ) ( #23192 )
...
(cherry picked from commit aaf657297f
)
Co-authored-by: gagliardetto <gagliardetto@users.noreply.github.com >
2022-02-16 17:24:23 +00:00
8d8525e4fc
Allow cli users to authorize Staker signed by Withdrawer ( #23146 ) ( #23176 )
...
(cherry picked from commit 88b66ae3a8
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-02-16 10:16:55 -07:00
2c1cec4e2c
validator: invert vote account sanity check arg
2022-02-16 08:31:43 +00:00
7d0a0a26bb
rpc: genericize client constructors
2022-02-16 08:31:43 +00:00
73016d3ed2
rpc: make getGenesisHash
part of minimal api
2022-02-16 08:31:43 +00:00
9b1cb5c1b7
test-validator: use JsonRpcConfig::default_for_test
for consistency
2022-02-16 08:31:43 +00:00
94f4748a34
Generate full snapshots 4x faster to keep incremental snapshots nice and small
...
(cherry picked from commit 577fa4ec0c
)
2022-02-15 21:22:23 -08:00
8963724ed6
solana-validator set-identity
now supports the --require-tower flag
2022-02-15 21:09:44 -08:00
65df58c64a
Update deprecated methods and recommend getBlocksWithLimit ( #23127 )
...
(cherry picked from commit d2a407a9a7
)
2022-02-15 18:01:37 -08:00
380c5da2d0
Add --skip-new-snapshot-check to exit and wait-for-restart-window subcommands
...
(cherry picked from commit 527f62c744
)
2022-02-15 18:01:05 -08:00
7d488a6ed8
Remove references to instruction parsing in SPL Token -> Depositing section ( #23161 ) ( #23163 )
...
(cherry picked from commit 917113914d
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-02-16 00:12:10 +00:00
159cfdae25
solana-validator monitor
now reports identity changes (#23156 )
...
(cherry picked from commit b44f40ee3a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2022-02-15 22:48:17 +00:00
1c3d09ed21
solana-validator wait-for-restart-window --min-idle-time X
now works
2022-02-15 08:58:53 -08:00
2c8cfdb3f3
Add fees to tx-wide caps (backport #22081 ) ( #23095 )
...
* Add fees to tx-wide caps (#22081 )
(cherry picked from commit 3d9874b95a
)
# Conflicts:
# runtime/src/bank.rs
* resolve
Co-authored-by: Jack May <jack@solana.com >
2022-02-15 01:36:02 +00:00
85570ac207
Add error message for readlink -f failure ( #23102 ) ( #23121 )
...
* Add error message for readlink -f failure
(cherry picked from commit 89f5145f64
)
Co-authored-by: Will Hickey <will.hickey@solana.com >
2022-02-14 20:23:26 +00:00
054b95cbe1
docs: fix broken link for "transaction-id" ( #22682 ) ( #22683 )
...
(cherry picked from commit a300e2d2dc
)
Co-authored-by: Radu Pașparugă <radupasparuga25@gmail.com >
2022-02-14 22:21:29 +08:00
b67a5bb3b9
fix typo ( #23107 ) ( #23108 )
...
(cherry picked from commit 22a2a4252a
)
Co-authored-by: thepalmtrees <96289385+thepalmtrees@users.noreply.github.com >
2022-02-13 16:15:53 +00:00
3e3fb4e296
Introduce slot-specific packet metrics (backport #22906 ) ( #23077 )
...
* Introduce slot-specific packet metrics (#22906 )
(cherry picked from commit 2f9e30a1f7
)
# Conflicts:
# core/benches/banking_stage.rs
# core/src/banking_stage.rs
# core/src/qos_service.rs
* Resolve conflicdts
Co-authored-by: carllin <carl@solana.com >
2022-02-13 05:44:38 +00:00
f66d8551e9
Update minimum port range due to addition of QUIC port
2022-02-12 08:49:48 -08:00
a5cb10666c
Bump QUIC_PORT_OFFSET to 6 to avoid jostling around other ports ( #23096 )
...
(cherry picked from commit 817f47d970
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2022-02-12 02:36:04 +00:00
76384758d8
adds validator version to set_panic_hook ( #23082 ) ( #23088 )
...
(cherry picked from commit 78089941ff
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-02-12 02:11:14 +00:00
4eca26ae50
Document message APIs (backport #22873 ) ( #23091 )
...
* Document message APIs (#22873 )
* Document message APIs
* Ignore clippy
* Update sdk/program/src/message/mod.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Fix new_with_blockhash example
* Rename nonce_account_address in example
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit f7753ce85f
)
# Conflicts:
# sdk/program/src/message/mod.rs
* Fix conflict
Co-authored-by: Brian Anderson <andersrb@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-02-11 21:09:14 +00:00
2d144afec5
Bump version to 1.9.6 ( #23092 )
2022-02-11 15:00:06 -06:00
781609b27a
uses sendmmsg in streamer (backport #23062 ) ( #23080 )
...
* uses sendmmsg in streamer (#23062 )
packet::send_to sends packets one by one:
https://github.com/solana-labs/solana/blob/9213fcb11/streamer/src/packet.rs#L63-L75
sendmmsg uses a single system call for multiple messages:
https://github.com/solana-labs/solana/blob/9213fcb11/streamer/src/sendmmsg.rs#L94
(cherry picked from commit c078ca3fb3
)
# Conflicts:
# streamer/src/streamer.rs
* removes mergify merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
v1.9.6
2022-02-11 15:47:45 +00:00
5a5244ecf8
Add --full-rpc-api to run.sh ( #23072 ) ( #23079 )
...
(cherry picked from commit 34443a238e
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2022-02-11 13:11:30 +00:00
2e60f95ab9
mention staking reward in getInflationReward doc ( #23073 ) ( #23074 )
...
(cherry picked from commit 4bd6a231d2
)
Co-authored-by: Anton <62949848+icepaq@users.noreply.github.com >
2022-02-11 04:21:29 +00:00
55179524bd
Add deactivate-feature feature to test validator cli ( #23041 ) ( #23065 )
...
Co-authored-by: Charlie You <charlie.you@hey.com >
2022-02-10 19:18:20 -08:00
4a0785ddcd
Disable features programmatically in TestValidatorGenesis ( #22860 ) ( #23064 )
...
* Supported starting test-validator and disabling features
* Enable starting test validator and removing feature accounts
* Enable deactivating feature accounts
* Enable deactivating feature accounts - updates per PR comments
* Enable deactivating feature accounts - updates per PR comments
* Added more verbosity when key for deactition is either not a Feature or not in genesis_config accounts
(cherry picked from commit 3c65fd7ba3
)
Co-authored-by: Frank V. Castellucci <5435165+FrankC01@users.noreply.github.com >
2022-02-10 14:58:51 -08:00
4698fbc036
Move cap_accounts_data_len feature gate only around new error ( #23048 ) ( #23057 )
...
(cherry picked from commit 0a1ab945bc
)
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-02-10 20:41:15 +00:00
70f76b450e
Add sbf-tools version to cargo target cache name on CI agents ( #23027 )
...
(cherry picked from commit c7aa7fb66b
)
Co-authored-by: Dmitri Makarov <dmakarov@alumni.stanford.edu >
2022-02-09 22:24:04 +00:00
d64eebb799
estimate a program cost as 2 standard deviation above mean (backport #22286 ) ( #23019 )
...
* - estimate a program cost as 2 standard deviation above mean
- replaced get_average / get_mode with get_default to assign max units to unknown program
(cherry picked from commit a25ac1c988
)
# Conflicts:
# runtime/src/cost_model.rs
* use EMA in place of Welford
(cherry picked from commit 6587dbfa47
)
* 1. Persist to blockstore less frequently;
2. reduce alpha for EMA to 1 percent to have roughly 200 data points for estimatio
(cherry picked from commit 7aa1fb4e24
)
# Conflicts:
# core/src/cost_update_service.rs
# core/src/tvu.rs
# runtime/src/cost_model.rs
* fix tests after merge
(cherry picked from commit ba2d83f580
)
* fix merge
Co-authored-by: Tao Zhu <tao@solana.com >
2022-02-09 22:16:55 +00:00
71211e0d90
rebase
2022-02-09 10:44:09 -08:00
320fbd63c5
Prepare RPC subsystem for multiple SPL Token program ids
...
(cherry picked from commit 86d465c531
)
# Conflicts:
# rpc/src/rpc.rs
# transaction-status/src/parse_instruction.rs
# transaction-status/src/token_balances.rs
2022-02-09 10:44:09 -08:00
0fe00bab7d
Return the accounts data len delta after processing messages ( #22986 ) ( #23023 )
...
(cherry picked from commit 869cfc9a1c
)
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-02-09 03:06:57 +00:00
00630d9c1b
monitor: Remove getMaxRetransmitSlot RPC method usage
...
(cherry picked from commit dcd4ea9111
)
2022-02-08 11:06:12 -08:00
d05b5b0902
Add get_processed_sibling_instruction syscall ( #22859 ) ( #22956 )
2022-02-08 09:21:11 -08:00
5c69af607d
Put accounts data len updates behind feature gate ( #22918 ) ( #23007 )
...
(cherry picked from commit f0f4042680
)
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-02-08 16:45:22 +00:00
df16a37ab5
bench should update leader schedule cache ( #22991 ) ( #22998 )
...
(cherry picked from commit e52e48076e
)
Co-authored-by: Tao Zhu <82401714+taozhu-chicago@users.noreply.github.com >
2022-02-08 15:05:57 +00:00
432eafd730
Search for consecutive ports ( #22979 ) ( #22984 )
...
(cherry picked from commit 514aab46d9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2022-02-07 18:45:02 +00:00