Commit Graph

12897 Commits

Author SHA1 Message Date
b4f5627a5b Improve load_largest_accounts more (bp #15785) (#15792)
* Improve load_largest_accounts more (#15785)

* Add load_largest_accounts bench

* Check lamports before address filter

* Use BinaryHeap, add Accounts test

* Use pubkey reference in the min-heap

Also, flatten code with early returns

Co-authored-by: Greg Fitzgerald <greg@solana.com>
(cherry picked from commit 9c1198c0c7)

# Conflicts:
#	runtime/src/accounts.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-03-10 20:14:40 +00:00
d4790be689 Improve load_largest_accounts and add Bank test (#15775) (#15783)
(cherry picked from commit 5991cef5f5)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-03-10 01:36:08 +00:00
58a9639810 Add tracer key for tracing transaction path through the network (#15732) (#15771)
(cherry picked from commit 2bee9435f3)

Co-authored-by: carllin <carl@solana.com>
2021-03-09 04:44:16 +00:00
74b13605c0 Report datapoint on number of retransmit shreds (#15694) (#15769)
(cherry picked from commit 331c45decf)

Co-authored-by: carllin <carl@solana.com>
2021-03-09 03:08:36 +00:00
9fbc03d517 Bump version to 1.5.15 (#15768) 2021-03-09 01:48:54 +00:00
7f1368e792 Remove old feature: cumulative_rent_related_fixes (bp #15754) (#15757)
* Remove old feature: cumulative_rent_related_fixes (#15754)

(cherry picked from commit 8b0c6db871)

# Conflicts:
#	runtime/src/accounts.rs
#	runtime/src/bank.rs
#	sdk/src/feature_set.rs

* Fix conflicts

* Remove stale comment

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
v1.5.14
2021-03-08 12:34:08 +09:00
c60e21b900 PoH batch size calibration (#15717) (#15747)
(cherry picked from commit d09112fa6d)

# Conflicts:
#	local-cluster/src/validator_configs.rs

Co-authored-by: sakridge <sakridge@gmail.com>
2021-03-06 04:29:54 +00:00
30781bb7b1 consolidate DEFAULT_HASHES_PER_TICK (#14463) (#15748)
(cherry picked from commit 773b21b34e)

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
2021-03-06 02:59:43 +00:00
2114864626 Convert blockstore TransactionStatus column family to protobufs (bp #15733) (#15737)
* Convert blockstore TransactionStatus column family to protobufs (#15733)

* Prevent panic if TransactionStatus can't be deserialized

* Convert Blockstore TransactionStatus column to protobuf

* Add compatability test

(cherry picked from commit 7e65289729)

# Conflicts:
#	ledger/Cargo.toml

* Fix conflict

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-03-05 17:37:54 +00:00
fc29ee7001 Add timeout to prevent infinite loop (#15715) (#15735)
(cherry picked from commit 1fc8836631)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-03-05 13:52:20 +00:00
166fa33433 Update deploy-a-program.md (#15727) (#15728)
(cherry picked from commit 9c8e7564ed)

Co-authored-by: Kasim Te <kasimte@gmail.com>
2021-03-05 09:02:50 +00:00
2ba5828a75 Use OrderedIterator to produce TransactionLogInfo (#15712) (#15719)
* Add failing test

* Fix iteration_order issue with stored logs

(cherry picked from commit 872f7117c3)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-03-05 01:36:08 +00:00
98f5f58975 Permit the snapshots/status_cache file to be sparse (#15713)
(cherry picked from commit 1e2f5a5f55)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-03-04 22:05:37 +00:00
5f7258640b cli: add program show for non-upgradeable programs (bp #15707) (#15709)
* cli: add program show for non-upgradeable programs (#15707)

(cherry picked from commit 2177e0aff8)

# Conflicts:
#	cli/src/program.rs

* fix conflicts

Co-authored-by: Jack May <jack@solana.com>
2021-03-04 21:27:48 +00:00
e9d04b5517 docs: address post-merge review of #15649
(cherry picked from commit d6ea2f392b)
2021-03-04 11:49:14 -07:00
b856b99487 Docs: Update validator hardware recommendations
(cherry picked from commit 5cd6a0c2f1)
2021-03-03 22:34:38 -07:00
d3672ca23b Bump version to 1.5.14 2021-03-03 19:01:25 -08:00
6242809a07 Bump version to 1.5.13 v1.5.13 2021-03-03 21:51:34 +00:00
1958bb1169 sends only the latest vote of each validator to the banking stage (#15629) (#15685)
(cherry picked from commit 658951e680)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2021-03-03 20:41:27 +00:00
5e2de5648d Only report metrics every second (#15652) (#15684)
(cherry picked from commit aacb28c453)

Co-authored-by: carllin <carl@solana.com>
2021-03-03 20:19:30 +00:00
16ded2115c Deprecate UiTokenAmount::ui_amount (bp #15616) (#15651)
* Deprecate UiTokenAmount::ui_amount (#15616)

* Add TokenAmount::ui_amount_string

* Fixup solana-tokens

* Update docs

(cherry picked from commit 19ac79b5cc)

# Conflicts:
#	storage-proto/proto/solana.storage.confirmed_block.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-03-03 20:12:06 +00:00
b775e8748c Forward and hold packets (#15634) (#15682)
(cherry picked from commit 830be855dc)

Co-authored-by: sakridge <sakridge@gmail.com>
2021-03-03 19:39:46 +00:00
9d00220d88 Remove unnecessary packet meta abi lock (#15653) (#15665)
(cherry picked from commit b8e28b8c55)

Co-authored-by: Justin Starry <justin@solana.com>
2021-03-03 10:52:51 +00:00
a00cbb55b9 Add error reporting to system program (#15644) (#15650)
(cherry picked from commit a9c8dbfd0c)

Co-authored-by: Jack May <jack@solana.com>
v1.5.12
2021-03-02 22:41:07 -08:00
7ae3b55dde improve cli insufficient funds error messages (#15648)
(cherry picked from commit b20bf8ebb0)

Co-authored-by: Jack May <jack@solana.com>
2021-03-03 05:38:19 +00:00
280437bad2 Cleanup buffered packets (#15210) (#15643)
(cherry picked from commit 629dcd0f39)

Co-authored-by: carllin <carl@solana.com>
2021-03-03 04:36:07 +00:00
722879b96c Remove Hackathon banner (#15646)
(cherry picked from commit 00f2b039b4)

Co-authored-by: rmshea <8948187+rmshea@users.noreply.github.com>
2021-03-03 03:41:56 +00:00
c22b83aa6c resolve conflicts 2021-03-02 18:05:11 -08:00
9387ee6f3b configure rust-bpf toolchain for each tree (#15620)
(cherry picked from commit 4789a13a6e)

# Conflicts:
#	sdk/bpf/scripts/install.sh
2021-03-02 18:05:11 -08:00
211a42fb98 adds more metrics for tx counts and batch sizes (#15642) (#15645)
(cherry picked from commit 0bd0084b0d)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2021-03-03 01:36:09 +00:00
247fa529b0 Cargo.log update from 297c083 2021-03-02 17:59:16 -07:00
b3bfe7b6ad ci: drop redundant programs/bpf audit
(cherry picked from commit 4f63afce32)
2021-03-02 17:59:16 -07:00
109c15c97c ci: disallow uncommitted Cargo.lock changes
(cherry picked from commit 15e1314209)
2021-03-02 17:59:16 -07:00
32b05e7ba0 ci: checks - factor out audit so it can run independently
(cherry picked from commit 3c1dd891af)
2021-03-02 17:59:16 -07:00
1da88658c3 ci: run clippy before fmt
(cherry picked from commit 21f66179ba)
2021-03-02 17:59:16 -07:00
77d8468df2 adds metrics for the size and number of batches in bank_send_loop (#15627) (#15628)
(cherry picked from commit 416ea38028)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2021-03-02 19:37:19 +00:00
163efc3bdf coalesces vote packets into one Packets (#15566) (#15630)
(cherry picked from commit f7a049f87f)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2021-03-02 19:20:55 +00:00
e7aa6cd5ea custom vm type (#15202)
(cherry picked from commit 8c49985b5c)
2021-03-02 11:00:14 -08:00
eb12d29683 cli: don't overallocate upgradeable buffer accounts (#15603) (#15625)
(cherry picked from commit d73af9c1dd)

Co-authored-by: Jack May <jack@solana.com>
2021-03-02 08:21:09 -08:00
979e07501a Lower blockstore processor error severity (#15578) (#15609)
(cherry picked from commit f1223fb783)

Co-authored-by: sakridge <sakridge@gmail.com>
2021-03-02 07:47:15 -08:00
297c08310f Enable BPF program instruction traces (#15613) (#15621)
(cherry picked from commit 3cd00965a7)

Co-authored-by: Jack May <jack@solana.com>
2021-03-02 00:35:55 -08:00
f0afbf4948 cli: dump non-upgradeable programs (#15598) (#15612)
(cherry picked from commit fbb1012584)

Co-authored-by: Jack May <jack@solana.com>
2021-03-01 22:23:46 -08:00
c82c750091 Fixes for latest RustSec Audit manifest (bp #15601) (#15605)
* Add RUSTSEC-2020-0146 to audit ignores

(cherry picked from commit 85252777a6)

# Conflicts:
#	ci/test-checks.sh

* Pass audit ignores to bpf program audit

(cherry picked from commit ccb604f8c3)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-03-01 22:30:03 +00:00
a7d1223583 Plumb slot update pubsub notifications (#15488) (#15585)
(cherry picked from commit ae96ba3459)

Co-authored-by: carllin <carl@solana.com>
2021-03-01 08:42:11 +00:00
b550f5bc19 Sort forks in "ledger processed..." log message (#15583)
(cherry picked from commit 33eaa2b238)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-03-01 02:48:16 +00:00
5d341d9bf4 CLI: Support querying FeeCalculator for a specific blockhash (bp #15555) (#15577)
* cli-output: Minor refactor of CliFees

(cherry picked from commit ebd56f7ff4)

* CLI: Support querying fees by blockhash

(cherry picked from commit 21e08b5b2c)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-27 20:59:54 +00:00
82ba19488e Update testnet break RPC node identity 2021-02-27 09:34:33 -08:00
fa7067950a Update version to v1.5.11 (#15574) 2021-02-27 04:27:54 +00:00
d69f09f152 create-snapshot subcommad now accepts the ROOT keyword 2021-02-26 20:20:41 -08:00
0b510ac9b4 --help cleanup 2021-02-26 20:20:41 -08:00