* feat: allow for verifying the sigs of partially signed txs
* fix: make comment ab verifying sigs more specific
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
* feat: add tests for partial signed tx verification
* fix: revert lockfile changes
* fix: make tests more modular
* fix: run linter
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
Currently, if starting-slot is unspecified, a value of 0 will be chosen.
In the common case where someone is operating on a much more recent
range, this would result in a ton of wasted operations & time.
Instead, choose a smarter default value for starting-slot based on what
we detect is currently in the blockstore.
* vote: Prevent commission update in the second half of epochs
* Address feedback
* Fix tests
* Make the feature enabled by single-contributor
* Use a cooler pubkey
ConnectionCache is being used for managing connections for sending messages using quic. In the current implementation the connection's endpoint is created in a lazy initialized fashion and set to one per connection pool. In repair we need all connections to use the same Endpoint so that the server can send back the response to the same Endpoint.
* Add metrics for min/max priority fee per slot, and counters for fee/non-fee txs
* get fee range of prioritized transactions only
* Update runtime/src/prioritization_fee.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/src/prioritization_fee.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* fix format
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
This doesn't actually do what I thought it did. The `start-date` config doesn't make stalebot start from a certain date forward, it makes tasks older than that date immune to being closed.
This means I'm going to just have to find a way to raise the GitHub API operations limit to be able to handle more tasks, or wait until enough have been closed that it fits within our current limit.
* Move getSecondaryIndexKeySize to admin_rpc_service
* Add AdminRpc test framework
* Move test to admin_rpc_service
* Update test
* Remove full-api infra
* docs: make the comments on using the new connection.confirmTransaction clearer
* docs: add TransactionConfirmataionStrategy type
* refactor: change param type in sendAndConfirmRawTransaction
* docs: fix typo
* Delete `AgentManager`
* Replace custom `http.Agent` implementation with `agentkeepalive` package
* Set the default free socket timeout to 1s less than the Solana RPC's default timeout
* Add link to particular issue comment
* Create the correct flavor of default agent for http/https
* Fixes non-binding let on a future (ip-echo-server)
```
warning: non-binding `let` on a future
--> net-utils/src/ip_echo_server.rs:133:13
|
133 | let _ = tcp_stream.shutdown();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider awaiting the future or dropping explicitly with `std::mem::drop`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_future
= note: `-D clippy::let-underscore-future` implied by `-D warnings`
```
* pr: remove let
* pr: ?
Allow longer chunk receive timeout without impacting testing the stream exit condition for unit tests. The exit is periodically checked, we will break only when the total allowed chunk receive timed out. The start time is reset when a new chunk is received.