Kristofer Peterson
e23340d89e
Clippy cleanup for all targets and nighly rust (also support 1.44.0) ( #10445 )
...
* address warnings from 'rustup run beta cargo clippy --workspace'
minor refactoring in:
- cli/src/cli.rs
- cli/src/offline/blockhash_query.rs
- logger/src/lib.rs
- runtime/src/accounts_db.rs
expect some performance improvement AccountsDB::clean_accounts()
* address warnings from 'rustup run beta cargo clippy --workspace --tests'
* address warnings from 'rustup run nightly cargo clippy --workspace --all-targets'
* rustfmt
* fix warning stragglers
* properly fix clippy warnings test_vote_subscribe()
replace ref-to-arc with ref parameters where arc not cloned
* Remove lock around JsonRpcRequestProcessor (#10417 )
automerge
* make ancestors parameter optional to avoid forcing construction of empty hash maps
Co-authored-by: Greg Fitzgerald <greg@solana.com>
2020-06-09 09:38:14 +09:00
Dan Albert
fa3a6c5584
Add F3LudCbGqu4DMqjduLq5WE2g3USYcjmVK3WR8KeNBhWz ( #10456 )
...
automerge
2020-06-08 13:06:45 -07:00
Michael Vines
136342eaae
Bump new_system_program_activation_epoch by 2
2020-06-08 09:39:42 -07:00
Jack May
97f9b63507
Improve BPF SDK dependency caching ( #10434 )
2020-06-08 09:20:12 -07:00
Michael Vines
9f181f41fa
Add Algo|Stake as a recommended trusted testnet validator ( #10452 )
...
automerge
2020-06-08 08:17:19 -07:00
Greg Fitzgerald
af8c21c559
Remove lock around JsonRpcRequestProcessor ( #10417 )
...
automerge
2020-06-07 20:54:03 -07:00
sakridge
0645a0c96d
Gossip cleanup remove duplicate gossip metrics and name worker threads ( #10435 )
...
Refactor into functions
2020-06-06 15:05:45 -07:00
sakridge
ebb612ab4e
Enable and add tick rate to metrics ( #10430 )
2020-06-06 11:47:11 -07:00
Michael Vines
7e2651ca51
RPC simulateTransaction endpoint now returns program log output ( #10432 )
2020-06-06 10:18:28 -07:00
Michael Vines
718244fb8f
Add Certus One as a trusted validator for testnet ( #10433 )
...
automerge
2020-06-05 16:44:58 -07:00
sakridge
2725acebea
Lower counter level ( #10428 )
2020-06-05 15:53:09 -07:00
dependabot-preview[bot]
2e37eccfc4
Bump jsonrpc-core-client from 14.1.0 to 14.2.0 ( #10425 )
...
Bumps [jsonrpc-core-client](https://github.com/paritytech/jsonrpc ) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.1.0...v14.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 15:51:01 -06:00
sakridge
3d2230f1a9
Add pull request count metrics ( #10421 )
2020-06-05 09:36:31 -07:00
anatoly yakovenko
31e20eff82
Gossip PullRequests tend to return a lot of duplicates. ( #10326 )
...
* filter messages that are likely to be pushed from the response
* tests
* tests
* wait to start filtering responses, and push stats to influx
* wait to start filtering responses, and push stats to influx
* reduce the timers to match the publish self timeout
* fmt
* fmt
2020-06-05 08:01:45 -07:00
Ryo Onodera
3cea73cf14
docs: Fix missing closing code block ``` ( #10424 )
...
automerge
2020-06-05 00:19:56 -07:00
carllin
db82d9e914
Enable more fine-grained control in partition tests ( #10418 )
...
Co-authored-by: Carl <carl@solana.com>
2020-06-04 23:32:53 -07:00
Michael Vines
aa6832964c
ledger_cleanup_service: compact at a slower rate than purging ( #10414 )
2020-06-04 21:06:06 -07:00
Tyera Eulberg
da34310eb4
Add arg to specify address-signer for solana deploy ( #10416 )
2020-06-04 20:14:12 -06:00
dependabot-preview[bot]
318835e3a0
Merge pull request #10410 from solana-labs/dependabot/cargo/jsonrpc-pubsub-14.2.0
...
Bump jsonrpc-pubsub from 14.1.0 to 14.2.0
2020-06-04 19:06:14 -07:00
Justin Starry
754f25ae99
Avoid AccountInUse errors when simulating transactions ( #10391 )
...
automerge
2020-06-04 19:06:01 -07:00
dependabot-preview[bot]
68f95c791a
Bump jsonrpc-ws-server from 14.1.0 to 14.2.0
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.1.0...v14.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 19:02:30 -07:00
dependabot-preview[bot]
8736247554
Bump jsonrpc-http-server from 14.1.0 to 14.2.0
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.1.0...v14.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 19:00:28 -07:00
Michael Vines
26e684f375
Deactivate legacy_system_instruction_processor at epoch 58/38 (preview/stable) ( #10406 )
...
automerge
2020-06-04 00:01:47 -07:00
Jack May
61d91d2d55
Don't reuse executable accounts between instructions ( #10403 )
...
automerge
2020-06-03 21:16:15 -07:00
Michael Vines
21d62493ff
Add legacy_system_instruction_processor0 tests
2020-06-03 16:04:06 -07:00
Michael Vines
9c631a01c1
Enable rolling upgrade of system_instruction_processor
2020-06-03 16:04:06 -07:00
Michael Vines
1331c9a680
Add legacy_system_instruction_processor
2020-06-03 16:04:06 -07:00
Michael Vines
a4cd96609c
Add built-in programs to InvokeContext ( #10383 )
...
automerge
2020-06-03 12:48:19 -07:00
dependabot-preview[bot]
ea9b958dff
Bump jsonrpc-derive from 14.1.0 to 14.2.1
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.1.0 to 14.2.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 12:16:54 -07:00
Tyera Eulberg
6c46f5c5e5
Throw error if no release version ( #10396 )
2020-06-03 12:08:32 -06:00
dependabot-preview[bot]
f58b6b3431
Bump jsonrpc-core from 14.1.0 to 14.2.0
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 09:02:07 -07:00
dependabot-buildkite
e8d9521cf6
[auto-commit] Update all Cargo lock files
2020-06-03 09:01:36 -07:00
dependabot-preview[bot]
6cf30c38a4
Bump reqwest from 0.10.5 to 0.10.6
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 09:01:36 -07:00
sakridge
2cf719ac2c
Cache tvu peers for broadcast ( #10373 )
2020-06-03 08:24:05 -07:00
Ryo Onodera
e63e7937cb
Introduce automatic ABI maintenance mechanism (1/2; prepare) ( #10335 )
...
* Introduce automatic ABI maintenance mechanism
* Compile fix...
* Docs fix...
* Programs compilation fix...
* Simplify source credit
Co-authored-by: Michael Vines <mvines@gmail.com>
* Cargo.lock...
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-06-03 20:51:56 +09:00
Ryo Onodera
b515cc3ae5
Don't share same snapshot dir for secondary access ( #10384 )
...
automerge
2020-06-03 02:45:48 -07:00
dependabot-buildkite
69d90b591f
[auto-commit] Update all Cargo lock files
2020-06-02 23:29:14 -07:00
dependabot-preview[bot]
f901571026
Bump serde from 1.0.110 to 1.0.111
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.110 to 1.0.111.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.110...v1.0.111 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 23:29:14 -07:00
dependabot-buildkite
f66169f245
[auto-commit] Update all Cargo lock files
2020-06-02 23:28:57 -07:00
dependabot-preview[bot]
8498b75d6c
Bump indexmap from 1.3.2 to 1.4.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.3.2...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 23:28:57 -07:00
Michael Vines
a23085ddfd
`solana validators`: Fix credits column formatting
2020-06-02 23:28:36 -07:00
Ryo Onodera
caa7f7a0c9
Support opening an in-use rocksdb as secondary ( #10209 )
...
automerge
2020-06-02 21:32:44 -07:00
Trent Nelson
59c5dad020
Testnet automation: Fix slot query ( #10378 )
...
automerge
2020-06-02 21:08:59 -07:00
Tyera Eulberg
eee9a08376
Purge TransactionStatus and AddressSignatures exactly from ledger-tool ( #10358 )
...
* Add failing test
* Add execution path to purge primary-index columns exactly
* Fail gracefully if older TransactionStatus rocksdb keys are present
* Remove columns_empty check for special columns
* Move blockstore purge methods to submodule
* Remove unused column empty check
2020-06-02 19:49:31 -06:00
Michael Vines
1303c4964b
Surface more helpful error message than 'blockstore error'
2020-06-02 11:11:06 -07:00
Michael Vines
0f2cfec52e
Add 4N8t...
2020-06-02 07:47:19 -07:00
Michael Vines
6498cb4214
Remove some unused RpcClient and ThinClient methods
2020-06-02 07:44:30 -07:00
Michael Vines
df216b0e98
Remove RpcClient::resign_transaction()
2020-06-02 07:44:30 -07:00
dependabot-buildkite
4cb7dc7128
[auto-commit] Update all Cargo lock files
2020-06-01 20:53:17 -07:00
dependabot-preview[bot]
89c2175bc9
Bump curve25519-dalek from 2.0.0 to 2.1.0
...
Bumps [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Changelog](https://github.com/dalek-cryptography/curve25519-dalek/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/2.0.0...2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 20:53:17 -07:00