mergify[bot]
640bf7015f
Check bank capitalization (bp #11927 ) ( #12184 )
...
* Check bank capitalization (#11927 )
* Check bank capitalization
* Simplify and unify capitalization calculation
* Improve and add tests
* Avoid overflow and inhibit automatic restart
* Fix test
* Tweak checked sum for cap. and add tests
* Fix broken build after merge conflicts..
* Rename to ClusterType
* Rename confusing method
* Clarify comment
* Verify cap. in rent and inflation tests
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
(cherry picked from commit de4a613610
)
# Conflicts:
# Cargo.lock
# accounts-bench/Cargo.toml
* Fix conflict 1/2
* Fix conflict 2/2
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-11 18:04:10 +00:00
mergify[bot]
ed237af4d8
Prevent unbound memory growth by blockstore_processor ( #12110 ) ( #12122 )
...
* Prevent unbound memory growth by blockstore_processor
* Promote log to info! considering infrequency
* Exclude the time of freeing from interval...
* Skip not-shrinkable slots even if forced
* Add comment
(cherry picked from commit c274e26eb8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-09 04:09:27 +00:00
Michael Vines
415c80c204
Bump version to v1.3.10
2020-09-09 01:29:39 +00:00
Ryo Onodera
2341394e8b
Rename to ClusterType and restore devnet compat. (manual bp) ( #12069 )
...
* Rename to ClusterType and restore devnet compat.
* De-duplicate parse code and add comments
* Adjust default Devnet genesis & reduce it in tests
2020-09-08 23:54:54 +09:00
mergify[bot]
6a74bc1297
validator: Add --enable-bigtable-ledger-upload
flag (bp #12040 ) ( #12057 )
...
* Add --enable-bigtable-ledger-upload flag
(cherry picked from commit d8e2038dda
)
* Relocate BigTable uploader to ledger/ crate
(cherry picked from commit 91a56caed2
)
# Conflicts:
# ledger/Cargo.toml
* Cargo.lock
(cherry picked from commit 2b8a521562
)
* Add BigTableUploadService
(cherry picked from commit bc7731b969
)
* Add BigTableUploadService
(cherry picked from commit bafdcf24f5
)
* Add exit flag for bigtable upload operations
(cherry picked from commit d3611f74c8
)
* Remove dead code
(cherry picked from commit cd3c134b58
)
* Request correct access
(cherry picked from commit 4ba43c29ce
)
* Add LARGEST_CONFIRMED_ROOT_UPLOAD_DELAY
(cherry picked from commit b64fb295a1
)
* Resolve merge conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-05 17:09:32 +00:00
Josh
bd76810623
Bump version to 1.3.9 ( #12034 )
2020-09-03 16:55:24 -07:00
mergify[bot]
a5832366a7
Detect and notify when deserializable shreds are available (bp #11816 ) ( #11988 )
...
* Detect and notify when deserializable shreds are available (#11816 )
* Add logic to check for complete data ranges
* Add RPC signature notification
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 1c1a3f979d
)
# Conflicts:
# accounts-bench/Cargo.toml
# core/src/rpc_pubsub.rs
* Fix conflicts
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: Carl <carl@solana.com >
2020-09-02 06:38:10 +00:00
mergify[bot]
0d23ad00b1
Update to rayon 1.4.0 ( #11898 ) ( #11902 )
...
(cherry picked from commit c4253dc0f9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-01 04:53:39 +00:00
Michael Vines
663dc9959f
Bump version to v1.3.8
2020-08-31 10:18:42 -07:00
Michael Vines
311b419f8a
Bump version to v1.3.7
2020-08-29 11:42:14 -07:00
Jon Cinque
c6416fca6e
Bump version to 1.3.6 ( #11890 )
2020-08-28 16:58:59 +02:00
mergify[bot]
99001f7f2e
Bump MacOS nofile recommendation message ( #11835 )
...
(cherry picked from commit 8841c3398c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-25 19:57:08 +00:00
mergify[bot]
d5d1a344c3
Switch programs activation to whole-set based gating (bp #11750 ) ( #11837 )
...
* Switch programs activation to whole-set based gating (#11750 )
* Implement Debug for MessageProcessor
* Switch from delta-based gating to whole-set gating
* Remove dbg!
* Fix clippy
* Clippy
* Add test
* add loader to stable operating mode at proper epoch
* refresh_programs_and_inflation after ancestor setup
* Callback via snapshot; avoid account re-add; Debug
* Fix test
* Fix test and fix the past history
* Make callback management stricter and cleaner
* Fix test
* Test overwrite and frozen for native programs
* Test epoch callback with genesis-programs
* Add assertions for parent bank
* Add tests and some minor cleaning
* Remove unsteady assertion...
* Fix test...
* Fix DOS
* Skip ensuring account by dual (whole/delta) gating
* Fix frozen abi implementation...
* Move compute budget constatnt init back into bank
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit db4bbb3569
)
# Conflicts:
# genesis-programs/src/lib.rs
* Fix conflicts
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-25 19:00:41 +00:00
mergify[bot]
62e3c084d3
Update system tuning and docs (bp #11680 ) ( #11830 )
...
* Sync FD limit and max maps to 500k
(cherry picked from commit 11951eb009
)
* Expand system tuning docs
(cherry picked from commit 5354df8c1c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-25 17:13:27 +00:00
mergify[bot]
6540d3c63e
Make BPF Loader static (bp #11516 ) ( #11790 )
...
* Make BPF Loader static (#11516 )
(cherry picked from commit 7c736f71fe
)
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# core/src/lib.rs
# core/src/validator.rs
# genesis-programs/src/lib.rs
# programs/bpf_loader/src/deprecated.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/entrypoint_native.rs
# sdk/src/lib.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-22 01:54:50 +00:00
mergify[bot]
4be9d5030d
Squash supermajority root on blockstore replay at startup ( #11727 ) ( #11765 )
...
(cherry picked from commit f7adb68599
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-21 08:20:09 +00:00
carllin
a9f914da8e
Cleanup test utilities ( #11766 )
...
* Add voting utility
* Add blockstore utility
Co-authored-by: Carl <carl@solana.com >
2020-08-21 06:52:01 +00:00
Trent Nelson
abce60efdf
Bump version to 1.3.5
2020-08-19 20:19:34 +00:00
mergify[bot]
e41004f185
rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11674 )
...
* Add base64 (binary64) encoding for getConfirmedTransaction/getConfirmedBlock
(cherry picked from commit b5f3ced860
)
* decode-transaction now supports binary64
(cherry picked from commit 2ebc68a9e2
)
# Conflicts:
# cli/src/cli.rs
* Rework UiAccountData encode/decode such that it works from Rust
(cherry picked from commit 757e147b3b
)
# Conflicts:
# account-decoder/src/lib.rs
# cli/src/cli.rs
* Rename Binary64 to Base64. Establish Base58 encoding
(cherry picked from commit adc984a225
)
# Conflicts:
# account-decoder/src/lib.rs
* Remove "binary" encoding. Document "encoding" as required
(cherry picked from commit e5281157fa
)
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-18 02:53:10 +00:00
mergify[bot]
9015e47cc5
Rpc: Add until parameter for getConfirmedSignaturesForAddress2 ( #11644 ) ( #11648 )
...
* Refactor bigtable apis to accept start and end keys
* Make helper fn to deserialize cell data
* Refactor get_confirmed_signatures_for_address to use get_row_data range
* Add until param to get_confirmed_signatures_for_address
* Add until param to blockstore api
* Plumb until through client/cli
* Simplify client params
(cherry picked from commit 6c5b8f324a
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-15 17:59:35 +00:00
Trent Nelson
c72bd900cd
Bump version to 1.3.4
2020-08-14 18:29:46 +00:00
mergify[bot]
4f7bfbdbe9
RPC: getConfirmedSignaturesForAddress2 only returns confirmed signatures ( #11615 ) ( #11618 )
...
* Add failing test case
* Limit to only rooted slots
(cherry picked from commit 99fb36fe45
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-13 18:19:54 +00:00
Trent Nelson
4a27bfa2fe
Bump version to 1.3.3
2020-08-12 00:43:50 +00:00
mergify[bot]
520453e1f3
Blockstore address signatures: handle slots that cross primary indexes, and refactor get_confirmed_signatures_for_address2 ( #11497 ) ( #11508 )
...
* Freeze address-signature index in the middle of slot to show failure case
* Secondary filter on signature
* Use AddressSignatures iterator instead of manually decrementing slots
* Remove unused method
* Add metrics
* Add transaction-status-index doccumentation
(cherry picked from commit de5fb3ba0e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 17:43:00 +00:00
Trent Nelson
f9e07f575e
Bump version to v1.3.2
2020-08-08 06:26:20 +00:00
Trent Nelson
c8bad57455
Bump version to v1.3.1
2020-08-07 19:21:41 -06:00
mergify[bot]
f9d6fb48a4
Send votes from banking stage to vote listener ( #11434 ) ( #11454 )
...
* Send votes from banking stage to vote listener
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7e25130529
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-07 19:45:40 +00:00
mergify[bot]
8be23a2bb2
Add address-based lower bound to get_confirmed_signatures_for_address2 loop ( #11426 ) ( #11432 )
...
(cherry picked from commit 5530ee4c95
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-07 00:06:44 +00:00
mergify[bot]
4ff9a6910d
Fix blockstore empty panic ( #11423 ) ( #11430 )
...
* Add panicking test
* Add failing test: fresh transaction-status column shouldn't point at valid root 0
* Prevent transaction status match outside of primary-index bounds
* Initialize transaction-status and address-signature primer entries with Slot::MAX
* Revert "Add failing test: fresh transaction-status column shouldn't point at valid root 0"
This reverts commit cbad2a9fae
.
* Revert "Initialize transaction-status and address-signature primer entries with Slot::MAX"
This reverts commit ffaeac0669
.
(cherry picked from commit 1061b50665
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-06 23:39:01 +00:00
mergify[bot]
5841e4d665
Long-term ledger storage with BigTable (bp #11222 ) ( #11392 )
...
* ledger-storage-bigtable boilerplate
(cherry picked from commit 9d2293bb32
)
* $ wget https://pki.goog/roots.pem -O pki-goog-roots.pem
(cherry picked from commit 1617a025ce
)
* Add access_token module
(cherry picked from commit 59d266a111
)
* Add root_ca_certificate
(cherry picked from commit faa016e4b7
)
* Add build-proto
(cherry picked from commit c31e1f5bf0
)
* UiTransactionEncoding is now copy
(cherry picked from commit 494968be66
)
* Increase timeout
(cherry picked from commit 57dfebc5ba
)
* Add build-proto/build.sh output
(cherry picked from commit 54dae6ba2c
)
* Supress doctest errors
(cherry picked from commit 019c75797d
)
* Add compression
(cherry picked from commit 243e05d59f
)
* Add bigtable
(cherry picked from commit 6e0353965a
)
* Add configuration info
(cherry picked from commit 98cca1e774
)
* Add ledger-tool bigtable subcommands
(cherry picked from commit f9049d6ee4
)
# Conflicts:
# ledger-tool/Cargo.toml
* Make room for tokio 0.2
(cherry picked from commit b876fb84ba
)
# Conflicts:
# core/Cargo.toml
* Setup a tokio 0.2 runtime for RPC usage
(cherry picked from commit 0e02740565
)
# Conflicts:
# core/Cargo.toml
* Plumb Bigtable ledger storage into the RPC subsystem
(cherry picked from commit dfae9a9864
)
# Conflicts:
# core/Cargo.toml
* Add RPC transaction history design
(cherry picked from commit e56ea138c7
)
* Simplify access token refreshing
(cherry picked from commit 1f7af14386
)
* Report block status more frequently
(cherry picked from commit 22c46ebf96
)
* after -> before
(cherry picked from commit 227ea934ff
)
* Rebase
* Cargo.lock
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-06 04:06:44 +00:00
mergify[bot]
888f3522d8
Add getConfirmedSignaturesForAddress2 RPC method (bp #11259 ) ( #11394 )
...
* Add getConfirmedSignaturesForAddress2 RPC method
(cherry picked from commit 1b2276520b
)
* Reimplement transaction-history command with getConfirmedSignaturesForAddress2
(cherry picked from commit 087fd32ce3
)
* Rework get_confirmed_signatures_for_address2
(cherry picked from commit a11f137810
)
* Rename startAfter to before
(cherry picked from commit 02c0981ecf
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 22:47:50 +00:00
Michael Vines
eefcf484cb
clippy
2020-08-03 18:35:15 +00:00
carllin
bf18524368
Add hook for getting vote transactions on replay ( #11264 )
...
* Add hook for getting vote transactions on replay
Co-authored-by: Carl <carl@solana.com >
2020-07-29 23:17:40 -07:00
Greg Fitzgerald
8ccce1e543
Upgrade ed25519-dalek ( #11183 )
2020-07-23 17:23:51 -06:00
Tyera Eulberg
6c38369042
Use OrderedIterator in TransactionStatusService ( #11149 )
...
* Split out get-first-err for unit testing
* Add failing test
* Add missing ordering
2020-07-21 20:06:49 +00:00
Tyera Eulberg
9a80e31bae
Expose tss to the other blockstore_processor path ( #11070 )
2020-07-14 21:14:48 -06:00
dependabot-preview[bot]
cee9177ec7
Bump libc from 0.2.71 to 0.2.72
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.71 to 0.2.72.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.71...0.2.72 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-13 15:00:27 -07:00
Michael Vines
491f5ae61a
Add block time placeholder to getConfirmedBlock
2020-07-10 14:47:11 +00:00
dependabot-preview[bot]
841ecfd927
chore(deps): bump bincode from 1.2.1 to 1.3.1 ( #10867 )
...
* chore(deps): bump bincode from 1.2.1 to 1.3.1
Bumps [bincode](https://github.com/servo/bincode ) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
* Switch from deprecated method
* Add options to maintain behavior with bincode::options()
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-09 00:08:05 +00:00
carllin
3f6042d8b3
Add RepairWeight to track votes seen in gossip for weighted repair ( #10903 )
...
* Add RepairWeight
Co-authored-by: Carl <carl@solana.com >
2020-07-06 22:49:40 -07:00
sakridge
58a475b789
Add db recovery methods ( #10838 )
2020-07-06 12:43:45 -07:00
sakridge
658de5b347
Skip and warn for hard-forks which are less than the start slot ( #10918 )
...
* Skip and warn for hard-forks which are less than the start slot
Option is used during a restart, but then after the restart is
complete, then the option is not needed if the starting slot
is past the hard-fork since the hard-fork should already be
in the snapshot it started from.
* Update ledger/src/blockstore_processor.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-05 13:51:43 -07:00
carllin
f014c94369
Add breakdown of erasure blobs ( #10912 )
...
Co-authored-by: Carl <carl@solana.com >
2020-07-03 17:44:32 -07:00
carllin
f17ac70bb2
Add weighted traversal ( #10877 )
...
Co-authored-by: Carl <carl@solana.com >
2020-07-02 14:33:04 -07:00
Tyera Eulberg
2669ccb864
Update struct prefixes to Ui ( #10874 )
...
* Update comments
* Use Ui prefix
2020-07-01 20:06:40 +00:00
dependabot-preview[bot]
4deec51703
chore(deps): bump rayon from 1.3.0 to 1.3.1 ( #10605 )
...
* chore(deps): bump rayon from 1.3.0 to 1.3.1
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.3.0...v1.3.1 )
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-07-01 08:09:28 -07:00
Ryo Onodera
b89e506cbb
Consistently create temp dirs under ledger/farf ( #10848 )
2020-07-01 11:38:59 +09:00
sakridge
583cec922b
Remove ledger purge batching ( #10830 )
2020-06-29 14:44:35 -07:00
carllin
0fde0d7379
Add ancestor iterator to lib.rs ( #10813 )
...
Co-authored-by: Carl <carl@solana.com >
2020-06-25 23:39:55 +00:00
Greg Fitzgerald
1c498369b5
Remove fee-payer guesswork from Message and Transaction ( #10776 )
...
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
2020-06-24 14:52:38 -06:00