Jack May
bf8daf8e74
Update cross-program and program address proposals ( #10234 )
2020-05-25 22:25:16 -07:00
Jack May
569e3cb46a
Use thiserror's display for TransactionError ( #10233 )
...
automerge
2020-05-25 16:13:09 -07:00
sakridge
7ebd8ee531
Cluster info metrics ( #10215 )
2020-05-25 15:03:34 -07:00
dependabot-preview[bot]
c1738b01a0
Bump byte-unit from 3.1.1 to 3.1.2 ( #10229 )
...
Bumps [byte-unit](https://github.com/magiclen/byte-unit ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/magiclen/byte-unit/releases )
- [Commits](https://github.com/magiclen/byte-unit/compare/v3.1.1...v3.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-25 10:25:44 -07:00
Jack May
27e3ee8799
Re-enable move in docker-solana ( #10214 )
2020-05-24 23:51:37 -07:00
Michael Vines
156387aba4
LedgerCleanupService no longer causes an OOM and actually purges ( #10199 )
...
* cleanup_ledger() now services new_root_receiver while purging
* purge_slots() now fully deletes before compacting
* Add ledger pruning grafana graph
2020-05-24 21:41:54 -07:00
dependabot-preview[bot]
8a8384e674
Bump sha2 from 0.8.1 to 0.8.2 ( #10205 )
...
* Bump sha2 from 0.8.1 to 0.8.2
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.1...sha2-v0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2020-05-24 19:44:04 -07:00
dependabot-preview[bot]
58ae9ab34f
Bump zstd from 0.5.1+zstd.1.4.4 to 0.5.2+zstd.1.4.5 ( #10207 )
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.5.1+zstd.1.4.4 to 0.5.2+zstd.1.4.5.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-24 19:39:38 -07:00
dependabot-preview[bot]
3dfef813bf
Bump hidapi from 1.2.1 to 1.2.2 ( #10210 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-24 19:39:06 -07:00
carllin
3aae98c8be
Add switching vote instruction ( #10197 )
...
* Add switching vote
* Make sure vote size stays under gossip limit
Co-authored-by: Carl <carl@solana.com>
2020-05-24 15:38:35 -07:00
Ryo Onodera
8d32441b96
Fix ledger-tool create-snapshot and add sanity test ( #10212 )
...
automerge
2020-05-24 08:27:36 -07:00
Michael Vines
26acd6aafa
Sort notifications for easier scanning on Discord ( #10208 )
...
automerge
2020-05-24 00:20:57 -07:00
Dan Albert
7373163bed
Update whitelist.rs ( #10203 )
2020-05-23 17:46:59 -06:00
Dan Albert
a21409e97e
Update whitelist.rs ( #10202 )
...
automerge
2020-05-23 10:51:15 -07:00
anatoly yakovenko
9fae5aacc2
grammar ( #10200 )
...
automerge
2020-05-23 08:13:20 -07:00
carllin
42aaacf520
Factor out LockedPubkeyReferences ( #10198 )
...
Co-authored-by: Carl <carl@solana.com>
2020-05-22 23:23:17 -07:00
Greg Fitzgerald
36a36d1c83
No longer allow create-account to add funds to an existing account ( #10192 )
...
automerge
2020-05-22 16:39:01 -07:00
dependabot-preview[bot]
2d3a906d55
Bump tar from 0.4.27 to 0.4.28 ( #10185 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.27 to 0.4.28.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.27...0.4.28 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 15:55:40 -07:00
Michael Vines
48c0845359
Update another non-circulating account
2020-05-22 15:11:33 -07:00
sakridge
10b1895357
Optimize banking processing of AccountInUse ( #10154 )
...
* Optimize banking processing of AccountInUse and thread count
* Add more options to banking-bench
2020-05-22 15:01:01 -07:00
sakridge
f1e932c90a
Trigger notifications on supermajority votes confirmation ( #10137 )
...
automerge
2020-05-22 14:53:47 -07:00
Michael Vines
269db1710e
Retry a couple times before declaring a UDP port unreachable ( #10181 )
2020-05-22 14:33:01 -07:00
Michael Vines
e2b5cd6d47
Add another non-circulating account ( #10186 )
...
automerge
2020-05-22 13:06:03 -07:00
Tyera Eulberg
2928c5d103
Add SingleGossip commitment level to use for subscriptions ( #10147 )
...
automerge
2020-05-22 12:55:17 -07:00
sakridge
2324eb9ff9
Make slot history a billion times faster ( #10175 )
2020-05-22 11:15:16 -07:00
Kristofer Peterson
b7a32f01c0
Multi-version snapshot support ( #9980 )
...
* Multi-version snapshot support
* rustfmt
* Remove CLI options and runtime support for selection output snapshot version.
Address some clippy complaints.
* Muzzle clippy type complexity warning.
Despite clippy's suggestion, it is not currently possible to create type aliases
for traits and so everything within the 'Box<...>' cannot be type aliased.
This then leaves creating full blown traits, and either implementing
said traits by closure (somehow) or moving the closures into new structs
implementing said traits which seems a bit of a palaver.
Alternatively it is possible to define and use the type alias 'type ResultBox<T> = Result<Box<T>>'
which does seems rather pointless and not a great reduction in complexity but is enough to keep clippy happy.
In the end I simply went with squelching the clippy warning.
* Remove now unused Serialize/Deserialize trait implementations for AccountStorageEntry and AppendVec
* refactor versioned de/serialisers
* rename serde_utils to serde_snapshot
* move call to accounts_db.generate_index() back down to context_accountsdb_from_stream()
* update version 1.1.1 to 1.2.0
remove nested use of serialize_bytes
* cleanups
* Add back measurement of account storage entry serialization.
Remove construction of Vec and HashMap temporaries during serialization.
* consolidate serialisation test cases into serde_snapshot.
clean up leakage of implementation details in serde_snapshot.
* move short term / legacy snapshot code into child module
* add serialize_iter_as_tuple
* preliminary integration of following commit
commit 6d58b73c47294bfb93465d5a83cd2175660b6e6d
Author: Ryo Onodera <ryoqun@gmail.com>
Date: Wed May 20 14:02:02 2020 +0900
Confine snapshot 1.1 relic to versioned codepath
* refactored serde_snapshot, rustfmt
legacy accounts_db format now "owns" both leading u64s, legacy bank_rc format has none
* reduce type complexity (clippy)
2020-05-23 02:54:24 +09:00
Dan Albert
967320a091
Update whitelist.rs ( #10183 )
...
automerge
2020-05-22 10:10:26 -07:00
Michael Vines
4779858dd4
Clean up RPCClient retry handling: only retry on 429, after a little sleep ( #10182 )
2020-05-22 08:53:53 -07:00
dependabot-preview[bot]
c7cdbc98e5
Bump thiserror from 1.0.18 to 1.0.19 ( #10180 )
...
* Bump thiserror from 1.0.18 to 1.0.19
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.18...1.0.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2020-05-21 23:36:04 -07:00
anatoly yakovenko
c78fd2b36d
document optimistic confirmation and slashing roadmap ( #10164 )
...
* docs
* book nits
* Update docs/src/proposals/optimistic-confirmation-and-slashing.md
Co-authored-by: Michael Vines <mvines@gmail.com>
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* Update optimistic-confirmation-and-slashing.md
* fixups
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-05-21 18:15:09 -07:00
Tyera Eulberg
12a3b1ba6a
Fixup deserialize_bs58_transaction, and make a few error types more targeted ( #10171 )
...
automerge
2020-05-21 17:30:02 -07:00
Michael Vines
18be7a7966
REST API now returns supply in SOL rather than lamports ( #10170 )
...
automerge
2020-05-21 15:50:06 -07:00
Michael Vines
56c7e4a66c
ping now reuses the same blockhash for a minute ( #10165 )
2020-05-21 14:11:47 -07:00
Michael Vines
486168b796
Revert "Add AVX2 runtime checks ( #10033 )" ( #10167 )
...
This reverts commit cf8eb7700b
.
2020-05-21 13:13:52 -07:00
Michael Vines
074c41556f
Add hQB.. to the testnet whitelist
2020-05-21 12:22:38 -07:00
Justin Starry
10d60288e8
Update default subscription commitment level from recent to single ( #10161 )
...
* Update default subscription commitment level from recent to single
* Update jsonrpc docs
* Fix failing tests
2020-05-22 00:33:24 +08:00
Michael Vines
77d42654dc
Update .gitignore
2020-05-20 23:59:41 -07:00
Michael Vines
07243dc87f
Add stake-o-matic.sh
2020-05-20 22:30:09 -07:00
Michael Vines
429802a138
Avoid sending duplicate stake delegation transactions for the same epoch ( #10158 )
...
automerge
2020-05-20 21:26:47 -07:00
dependabot-preview[bot]
8da2e1b2f7
Bump tar from 0.4.26 to 0.4.27 ( #10150 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.26 to 0.4.27.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.26...0.4.27 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 20:04:22 -07:00
Michael Vines
324cfd40f0
Add v0 REST APIs for circulating and total supply ( #10102 )
2020-05-20 20:04:07 -07:00
Greg Fitzgerald
64cec764b9
Allow RpcClient users to inject custom "senders" ( #10157 )
...
automerge
2020-05-20 18:40:45 -07:00
sakridge
ce17de7d25
Add option to wait for a specific epoch length to bench-tps ( #10083 )
2020-05-20 16:42:46 -07:00
Michael Vines
417f0e41fa
Add stake-o-matic ( #10044 )
...
automerge
2020-05-20 16:15:03 -07:00
Michael Vines
d6d032dd49
Fetch rpc-url from the gossip entrypoint ( #10152 )
...
automerge
2020-05-20 14:52:41 -07:00
Michael Vines
357a00d2bc
transaction-history now searches over the entire history by default ( #10145 )
...
automerge
2020-05-20 14:15:31 -07:00
Tyera Eulberg
276815bd33
Fixup subscription docs ( #10146 )
2020-05-20 13:19:03 -06:00
Jack May
4a72c2b054
Support cross-program invocation to native programs ( #10136 )
2020-05-20 09:24:57 -07:00
Tyera Eulberg
9d89fb5c35
Fix another unstable test after eager rent ( #10120 )
2020-05-20 09:57:33 -06:00
Michael Vines
ad7b113944
Ignore test_tvu_exit ( #10134 )
...
automerge
2020-05-19 23:40:27 -07:00