Commit Graph

7701 Commits

Author SHA1 Message Date
Michael Vines fad6c7201e
Remove old book location (#7621) 2019-12-23 22:56:42 -07:00
Michael Vines 8f0e1f3349
Update gitbook-cage first 2019-12-23 18:18:30 -07:00
sakridge 6f7d0c6928
Move cleanup to a script so it doesn't kill itself (#7603) 2019-12-23 14:31:57 -08:00
Rob Walker 120c8f244c
Add slot_history for slashing (#7589)
* Add slot_history for slashing

* fixup

* fixup
2019-12-23 12:23:45 -08:00
Jack May 352a367570
Specify version for solana-sdk-macro to enable crate.io publishing (#7615) 2019-12-23 12:10:43 -08:00
Michael Vines 9f65d22909
Groom log messages (#7610) 2019-12-23 10:43:07 -07:00
Ryo Onodera 141131f3a6
Stabilize fn coverage by creating a clean room (#7576)
* Stabilize fn coverage by pruning all updated files

* Pruning didn't work; Switch to clean room dir

* Oh, shellcheck...

* Remove the data_dir variable

* Comment about relationale for find + while read
2019-12-23 16:32:29 +09:00
dependabot-preview[bot] 488420fdf2 Bump core_affinity from 0.5.9 to 0.5.10 (#7578)
Bumps [core_affinity](https://github.com/Elzair/core_affinity_rs) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/Elzair/core_affinity_rs/releases)
- [Commits](https://github.com/Elzair/core_affinity_rs/compare/0.5.9...0.5.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-22 22:41:47 -07:00
Greg Fitzgerald 10e6b8f769 Fix key in genesis (#7585) 2019-12-22 22:40:35 -07:00
Michael Vines 419da18405
show-block-production: Rename "missed" to "skipped" as not all skipped slots are missed slots (#7599) 2019-12-22 22:39:47 -07:00
Dan Albert 7329d4bf3a Extend Stable CI job timeout to 60 minutes (#7604) 2019-12-22 20:14:07 -07:00
Ryo Onodera c8fe4043b6
Rename slot_hash => bank_hash in AcoountsDB (#7579)
* Rename slot_hash => bank_hash in AcoountsDB
2019-12-23 10:50:31 +09:00
Parth 3d133d61ca
fix rent book entry (#7602) 2019-12-23 06:12:29 +05:30
Michael Vines d51e42c707
MISSED -> SKIPPED 2019-12-22 10:19:35 -07:00
Michael Vines 79e39d6f0b
Remove stray SOLANA_CUDA=1 2019-12-22 10:09:04 -07:00
sakridge 7dec934bb3
Optimize lock_accounts mutex use (#7593)
Use the lock for the whole batch instead of per-tx
Optimize the critical section to pre-generate the keys necessary
before taking the lock.
2019-12-21 10:43:22 -08:00
sakridge 83f866df01
Switch banking bench to report tps instead of total time (#7590)
Easier to compare results when modifying thread count.
2019-12-21 10:43:08 -08:00
Michael Vines d88d8e2dbb
Fix another silly bug 2019-12-21 09:20:12 -07:00
Michael Vines 3a40dff999
Cargo.lock 2019-12-20 21:55:35 -07:00
Michael Vines 3f69d58498
ledger-tool: Add --all option to bounds, to display all non-empty slots (#7592) 2019-12-20 20:43:53 -07:00
Dan Albert ca10cf081f
Update cargo.toml files from 0.22.0 to 0.23.0 (#7596) 2019-12-20 21:45:42 -05:00
Greg Fitzgerald f120449aae
Move implemented proposals into the implemented section of the book (#7591)
* Move implemented proposals to implemented section of the book

Leave "Slashing" commentary in a new proposal.

* Remove considered considerations

@CriesofCarrots says meh about the first concern, and has moved the
second concern into a GitHub issue #7485.
2019-12-20 15:13:31 -07:00
Greg Fitzgerald 636f51c93c Update testnet descriptions (#7586)
automerge
2019-12-20 12:43:17 -08:00
Trent Nelson 9bb47c8c61
Book: Document CLI offline signing (#7575)
* Book: Document offline signing

* Address review

* nits

* consistency

* one voice
2019-12-20 13:07:07 -05:00
Michael Vines 8886db2000
--verbose now causes show-block-production to list all slots and highlight the specific misses (#7582) 2019-12-20 09:38:08 -07:00
Rob Walker a7040896f0
Update to rust 1.40.0 (#7572)
* Update to rust 1.40.0

* fixups
2019-12-19 23:27:54 -08:00
Rob Walker 2ebfab8e07
Remove duplicate def of MAX_SLOT_HASHES (#7574) 2019-12-19 21:24:12 -08:00
Justin Starry 9bd5888f5e
Fix broken internal-nodes-stake-lamports arg in scripts (#7581) 2019-12-19 21:38:03 -05:00
Trent Nelson 8b7bbbc6af
Streamline paper wallet pubkey verification docs (#7570)
* Book: Move paper wallet keypair docs to usage page

* Book: Remove dedicated paper wallet keypair docs

* Nudge our reader. Be extra clear

* Clarify `--skip-seed-phrase-validation` argument rationale
2019-12-19 20:59:07 -05:00
Trent Nelson 0383ffa5ab
CLI: Fix offline signing Pay TX (#7566) 2019-12-19 20:58:38 -05:00
Ryo Onodera 3c361eb759
Check account hashes in snapshot (#7559)
* Check for incorrect hash value

* Finish up checking for incorrect hash value

* Fix comment a bit

Co-authored-by: sakridge <sakridge@gmail.com>
2019-12-20 09:39:30 +09:00
Trent Nelson 37eaa6e4f9
CLI: Expose Durable Nonce `Authorize` instruction (#7541)
* CLI: Expose Durable Nonce `Authorize` instruction

* fmt
2019-12-19 19:13:01 -05:00
Sagar Dhawan 0ae7e86fcb Dashboard: Move y-axis items with different units either side of the graph (#7573)
automerge
2019-12-19 15:22:43 -08:00
Rob Walker 3f405d8908
Add unix_timestap to stake lockups (#7569) 2019-12-19 14:37:47 -08:00
Rob Walker 0245847ea8
Update runtime.md (#7568) 2019-12-19 13:11:43 -08:00
Justin Starry 54f16ca2bf clippy 2019-12-19 11:33:44 -07:00
Justin Starry a096ade345 reduce error logging 2019-12-19 11:33:44 -07:00
Justin Starry 848fe51f3d @sakridge feedback 2019-12-19 11:33:44 -07:00
Justin Starry e82db6fc2f Revert blockhash sleep 2019-12-19 11:33:44 -07:00
Justin Starry 4b3176a9a1 Tune bench-tps blockhash poller and stop panicking 2019-12-19 11:33:44 -07:00
Michael Vines 5e6c58716e Speed up show-block-production command 2019-12-19 10:50:27 -07:00
carllin e98132fd76
Move window insertion to separate thread (#7397)
* Move window insertion to separate thread
2019-12-19 00:15:49 -08:00
Michael Vines ff171baa67 Add show-block-production command 2019-12-19 00:02:11 -07:00
Michael Vines 05664d150b Add get_confirmed_block()/get_confirmed_blocks() 2019-12-18 23:34:01 -07:00
Michael Vines fcda972cec Add support for multiple params 2019-12-18 23:34:01 -07:00
Justin Starry 01f44f531e
Improve bench-tps stability (#7537)
* Improve bench-tps throughput

* Fix tests

* Fix more tests

* Fix move test

* Drop blockhash poll sleep interval
2019-12-18 23:50:17 -05:00
Tyera Eulberg c5b076ec7e Add getConfirmedBlocks rpc method (#7550)
automerge
2019-12-18 15:51:47 -08:00
Sunny Gleason 05cf5a38af
Add ledger benchmark test (#7484) 2019-12-18 18:31:04 -05:00
Michael Vines bd22b641b3 Speed up getLeaderSchedule RPC call by reducing pubkey duplication 2019-12-18 15:59:55 -07:00
Sagar Dhawan 6a9005645a
Update "limit-ledger-size" to use DeleteRange for much faster deletes (#7515)
* Update "limit-ledger-size" to use DeleteRange for much faster deletes

* Update core/src/ledger_cleanup_service.rs

Co-Authored-By: Michael Vines <mvines@gmail.com>

* Rewrite more idiomatically

* Move max_ledger_slots to a fn for clippy

* Remove unused import

* Detect when all columns have been purged and fix a bug in deletion

* Check that more than 1 column is actually deleted

* Add helper to test that ledger meets minimum slot bounds

* Remove manual batching of deletes

* Refactor to keep some N slots older than the highest root

* Define MAX_LEDGER_SLOTS that ledger_cleanup_service will try to keep around

* Refactor compact range
2019-12-18 11:50:09 -08:00