Tyera Eulberg
df40ede6ea
Revert "Revert "simulateTransaction now returns the correct error code if accounts are provided as input ( #21715 )""
...
This reverts commit 6deb0a9f5d
.
2021-12-16 19:28:48 -07:00
Tyera Eulberg
9f53f3455a
Revert "Revert "Reformat imports to a consistent style for imports""
...
This reverts commit d7377d4794
.
2021-12-16 19:28:48 -07:00
Tyera Eulberg
957914b3b5
Revert "Revert "Use max_complete_transaction_status_slot in BigTableUploadService ( #21401 ) ( #21411 )""
...
This reverts commit fa83e05d2c
.
2021-12-16 19:28:48 -07:00
Tyera Eulberg
83676aed53
Revert "Revert "spl-token: New program feature flag (backport #21354 ) ( #21376 )""
...
This reverts commit 36838427d4
.
2021-12-16 19:28:48 -07:00
Michael Vines
6bc52d4d47
Bump version to v1.8.12
2021-12-15 09:25:32 -08:00
Tao Zhu
4cae58bfe9
Bump version to 1.8.11
2021-12-13 12:58:29 -08:00
Trent Nelson
16abcac802
Bump version to 1.8.10
2021-12-13 12:46:23 -06:00
Trent Nelson
a5e6a188c1
Bump version to 1.8.9
2021-12-13 12:46:23 -06:00
Trent Nelson
9f44d60a39
Bump version to 1.8.8
2021-12-13 12:46:23 -06:00
Trent Nelson
9284c6fffb
Bump version to 1.8.7
2021-12-13 12:46:23 -06:00
Trent Nelson
2c49ab1ab4
Bump version to 1.8.6
2021-12-13 12:46:23 -06:00
Trent Nelson
9832ac54a4
Revert "Bump version to v1.8.6 ( #21329 )"
...
This reverts commit 336ee01aae
.
2021-12-13 12:46:23 -06:00
Trent Nelson
36838427d4
Revert "spl-token: New program feature flag (backport #21354 ) ( #21376 )"
...
This reverts commit 42a67d30fc
.
2021-12-13 12:46:23 -06:00
Trent Nelson
fa83e05d2c
Revert "Use max_complete_transaction_status_slot in BigTableUploadService ( #21401 ) ( #21411 )"
...
This reverts commit 73d469991f
.
2021-12-13 12:46:23 -06:00
Trent Nelson
dc633e3385
Revert "Bump version to v1.8.7"
...
This reverts commit 008139f506
.
2021-12-13 12:46:23 -06:00
Trent Nelson
d7377d4794
Revert "Reformat imports to a consistent style for imports"
...
This reverts commit 139d15cd84
.
2021-12-13 12:46:23 -06:00
Trent Nelson
3369826bd1
Revert "Bump version to v1.8.8 ( #21609 )"
...
This reverts commit b8306a99d8
.
2021-12-13 12:46:23 -06:00
Trent Nelson
c0794d6fbb
Revert "Bump version to v1.8.9 ( #21703 )"
...
This reverts commit 69027e3f7e
.
2021-12-13 12:46:23 -06:00
Trent Nelson
6deb0a9f5d
Revert "simulateTransaction now returns the correct error code if accounts are provided as input ( #21715 )"
...
This reverts commit 7ac43b16d2
.
2021-12-13 12:46:23 -06:00
Trent Nelson
400418fe2f
Revert "Bump version to 1.8.10 ( #21790 )"
...
This reverts commit 73acae9b5d
.
2021-12-13 12:46:23 -06:00
Tao Zhu
73acae9b5d
Bump version to 1.8.10 ( #21790 )
2021-12-10 18:44:32 -06:00
mergify[bot]
7ac43b16d2
simulateTransaction now returns the correct error code if accounts are provided as input ( #21715 )
...
(cherry picked from commit 824994db69
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-12-09 02:19:07 +00:00
Alexander Meißner
69027e3f7e
Bump version to v1.8.9 ( #21703 )
2021-12-08 18:33:05 +01:00
Trent Nelson
b8306a99d8
Bump version to v1.8.8 ( #21609 )
2021-12-04 10:00:35 -07:00
Michael Vines
139d15cd84
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:41:09 -08:00
Michael Vines
008139f506
Bump version to v1.8.7
2021-12-01 11:44:18 -08:00
mergify[bot]
73d469991f
Use max_complete_transaction_status_slot in BigTableUploadService ( #21401 ) ( #21411 )
...
* Use max_complete_transaction_status_slot in BigTableUploadService
* Use node root to limit BigTableUploadService
(cherry picked from commit 9e043d2055
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-11-24 02:35:42 +00:00
mergify[bot]
42a67d30fc
spl-token: New program feature flag (backport #21354 ) ( #21376 )
...
* spl-token: New program feature flag (#21354 )
* spl-token: Add feature flag for new release
* Remove all spl token version declarations
(cherry picked from commit 02bc4e3fc1
)
# Conflicts:
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# accounts-cluster-bench/src/main.rs
# rpc/Cargo.toml
# rpc/src/rpc.rs
# runtime/src/accounts_index.rs
# runtime/src/bank.rs
# runtime/src/lib.rs
# sdk/src/feature_set.rs
# tokens/Cargo.toml
# tokens/src/spl_token.rs
# transaction-status/Cargo.toml
* Fix merge issues
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-11-21 16:00:58 +00:00
Tyera Eulberg
336ee01aae
Bump version to v1.8.6 ( #21329 )
2021-11-17 17:16:20 -07:00
sakridge
80c3591391
Bump version to 1.8.5 ( #21295 )
2021-11-16 11:58:57 -07:00
Ivan Mironov
8072635967
Add validator options to change priority of snapshot packager and RPC threads (v1.8) ( #21020 )
...
* Add function for changing thread's nice value
Linux only.
* Add validator option to change niceness of snapshot packager thread
* Add validator option to change niceness of RPC server threads
Fixes https://github.com/solana-labs/solana/issues/14556
* Run `./scripts/cargo-for-all-lock-files.sh tree`
2021-11-15 09:50:45 -08:00
mergify[bot]
21cd423e67
Rename "trusted" to "known" in validators/
(backport #21197 ) ( #21255 )
...
* Rename "trusted" to "known" in `validators/` (#21197 )
* Replaced trusted with known validator
* Format Convention
(cherry picked from commit b0ca335463
)
# Conflicts:
# core/src/accounts_hash_verifier.rs
# core/src/serve_repair.rs
# rpc/src/rpc_service.rs
# validator/src/bootstrap.rs
* Fix conflicts
Co-authored-by: Michael Keleti <16996410+mkeleti@users.noreply.github.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-11-12 21:36:53 +00:00
Tyera Eulberg
09ef4d12f7
Bump version to 1.8.4 ( #21232 ) ( #21235 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-11-10 15:20:41 -07:00
Tyera Eulberg
74684a107c
Revert "Bump version to 1.8.4 ( #21232 )"
...
This reverts commit 19b3ba0442
.
2021-11-10 11:19:39 -07:00
sakridge
19b3ba0442
Bump version to 1.8.4 ( #21232 )
2021-11-10 16:38:44 +01:00
mergify[bot]
a7b3436b1e
report pubsub stats every 2s (backport #21192 ) ( #21196 )
...
* report pubsub stats every 2s (#21192 )
(cherry picked from commit 7659a2edc2
)
* remove use of Duration::MAX
Co-authored-by: Jeff Biseda <jbiseda@gmail.com >
2021-11-06 15:22:07 +00:00
Justin Starry
89b2a3d0ae
Refactor RentDebits
to use hashmap instead of vec (v1.8 backport) ( #21176 )
...
* Refactor `RentDebits` to use hashmap instead of vec (v1.8 backport)
* Fix rent debits test (#21177 )
2021-11-05 08:52:14 +00:00
mergify[bot]
69b973a3a6
Parallel notifications in RPC PubSub (backport #20543 ) ( #21092 )
...
* Parallel notifications in RPC PubSub (#20543 )
* generate rpc notifications in parallel
* Use multithreaded runtime for pubsub
* add metric for time since creation of rpc notification to queue
* measure notification entry processing
* fix: add n_threads config argument
* configure rayon thread pool for rpc notifications
* add config option for pubsub notification threads
* rename metric to created_to_queue_time_us
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* rename metric to notification_entry_processing_time_us
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* use value_of for rpc_pubsub_notification_threads parsing
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* rename threads to sol-sub-notif-N
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* fix rpc tests for TimestampedNotificationEntry
* rustfmt
* use rayon thread limit for rpc
Co-authored-by: Pavel Strakhov <p.strakhov@iconic.vc >
Co-authored-by: Alexander Polakov <a.polakov@zubr.io >
Co-authored-by: Nikita Podoliako <bananaelecitrus@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit 9fabff5129
)
# Conflicts:
# Cargo.lock
# rpc/Cargo.toml
* Fix conflicts
Co-authored-by: Pavel Strakhov <ri@idzaaus.org >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-11-01 20:19:51 +00:00
mergify[bot]
506d39ea82
Add missing websocket methods to rust RPC PubSub client (backport #21065 ) ( #21073 )
...
* Add missing websocket methods to rust RPC PubSub client (#21065 )
- Added accountSubscribe, programSubscribe, slotSubscribe and rootSubscribe to rust RpcClient
- Removed duplication on cleanup threads
- Moved RPCVote from rpc/ to client/rpc_response
(cherry picked from commit a0f9e0e8ee
)
# Conflicts:
# Cargo.lock
# client-test/Cargo.toml
# core/tests/client.rs
* Fix conflicts
* Make test result not depend on TestValidator setup
Co-authored-by: Manuel Gil <manugildev@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-10-29 21:46:59 +00:00
Tyera Eulberg
8dd3c1ece1
Bump version to v1.8.3 ( #21040 )
2021-10-28 11:17:11 -06:00
mergify[bot]
42a2c29234
Different error if block status is not yet available ( #20407 ) ( #21029 )
...
* Different error if block is not available
* Add slot to error message
* Make and use helper function
* Check finalized path as well
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 700e42d556
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-10-27 20:58:15 +00:00
mergify[bot]
1666fc5483
Restore getProgramAccounts spl-token secondary-index functionality (backport #20993 ) ( #21005 )
...
* Restore getProgramAccounts spl-token secondary-index functionality (#20993 )
* Allow get_spl_token_X_filters to match on any encoding, and optimize earlier
* Remove redundant optimize calls
* Compress match statements
* Add method docs, including note to use optimize_filters before spl-token checks
* Add logs
(cherry picked from commit b2f6cfb9ff
)
# Conflicts:
# rpc/src/rpc.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-10-26 23:43:45 +00:00
mergify[bot]
8986bd301c
adds metrics tracking gossip crds writes and votes (backport #20953 ) ( #20982 )
...
* adds metrics tracking crds writes and votes (#20953 )
(cherry picked from commit 1297a13586
)
# Conflicts:
# core/src/cluster_nodes.rs
# gossip/benches/crds_shards.rs
# gossip/src/cluster_info.rs
# gossip/src/cluster_info_metrics.rs
# gossip/src/crds_entry.rs
# gossip/src/crds_gossip.rs
# gossip/src/crds_gossip_pull.rs
# gossip/src/crds_gossip_push.rs
# gossip/src/crds_shards.rs
# gossip/tests/crds_gossip.rs
# rpc/src/rpc_service.rs
* updates itertools version in gossip
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-10-26 17:41:45 +00:00
mergify[bot]
d18f553e2d
Extend TestBroadcastReceiver::recv timeout ( #20957 ) ( #20961 )
...
* Extend TestBroadcastReceiver timeout
* Add elapsed log
(cherry picked from commit 337b94b3bc
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-10-26 00:51:29 +00:00
mergify[bot]
0363d8d373
Use config limit instead of default ( #20900 ) ( #20907 )
...
(cherry picked from commit 9dd87bcdb5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-10-23 21:05:07 +00:00
mergify[bot]
de2aa898a7
Add counter for new transactions in SendTransactionService ( #20852 ) ( #20859 )
...
* Add counter for inserted transactions
* Add counter for tx recv
(cherry picked from commit 8959d5e21c
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-10-22 05:03:26 +00:00
Trent Nelson
23b6ce7980
Bump version to 1.8.2
2021-10-21 00:43:40 -06:00
mergify[bot]
8cba6cca76
rpc-send-tx-svc server-side retry knobs (backport #20818 ) ( #20830 )
...
* rpc-send-tx-svc: add with_config constructor
(cherry picked from commit fe098b5ddc
)
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# replica-node/Cargo.toml
# rpc/src/rpc_service.rs
# rpc/src/send_transaction_service.rs
# validator/Cargo.toml
* rpc-send-tx-svc: server-side retry knobs
(cherry picked from commit 2744a2128c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-10-21 02:15:03 +00:00
Sean Young
c8f6a0817b
verify_precompiles needs FeatureSet
...
Rather than pass in individual features, pass in the entire feature set
so that we can add the ed25519 program feature in a later commit.
(cherry picked from commit 0f62771f42
)
Conflicts:
banks-server/src/banks_server.rs
core/src/banking_stage.rs
programs/secp256k1/src/lib.rs
rpc/src/rpc.rs
runtime/src/bank.rs
sdk/src/transaction.rs
sdk/src/transaction/sanitized.rs
2021-10-18 15:41:24 +01:00
mergify[bot]
bdea60cc19
Rpc: filters performance improvement ( #20185 ) ( #20703 )
...
* Add Base58,Base64,Bytes to MemcmpEncodedBytes
* Rpc: decode memcmp before filtering accounts
* Add deprecated attribute
* Add Memcmp::bytes
* Fix clippy for deprecated
* Another clippy fix
* merge RpcFilterError::DataTooLarge
* add deprecation for Base58DataTooLarge
* change filter data size limit
* strict data size len for base58
* add magic numbers
* fix tests
(cherry picked from commit e9a427b9c8
)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru >
2021-10-14 21:48:13 +00:00