Tyera Eulberg
9ce142606c
Update getBlockTime rpc docs ( #7688 )
2020-01-06 00:00:20 -07:00
Tyera Eulberg
e75a64a8a2
getBlockTime: Fix RootedSlotIterator lowest root ( #7681 )
...
* Determine lowest_nonzero_root for purged blocktrees, and clean up slot offset math
* Filter duplicate timestamp votes
* Refactor deduping code
2020-01-05 23:38:27 -07:00
dependabot-preview[bot]
bc71e1b612
Bump sha2 from 0.8.0 to 0.8.1
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.0...sha2-v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-05 22:33:02 -07:00
Tyera Eulberg
580ca36a62
Cli: fund validator-info accounts with rent-exempt lamports
2020-01-04 22:59:12 -07:00
Michael Vines
447fe48d2a
Revert "Add a stand-alone gossip node on the blocksteamer instance"
...
This reverts commit a217920561
.
This commit is causing trouble when the TdS cluster is reset and
validators running an older genesis config are still present.
Occasionally an RPC URL from an older validator will be selected,
causing a new node to fail to boot.
2020-01-04 16:42:12 -07:00
Michael Vines
e8a6c8cd6d
Don't panic if peer_addr() fails ( #7678 )
...
automerge
2020-01-04 10:00:22 -08:00
Michael Vines
a8fd42c1df
Set default vote account commission to 100%
2020-01-04 10:04:31 -07:00
Michael Vines
e782c26908
Prune older epoch stakes
2020-01-04 09:34:27 -07:00
Michael Vines
cd65a1e172
Run local cluster tests serially for easier debug
2020-01-04 09:34:27 -07:00
Michael Vines
6e51c5685e
Minor book fixes
2020-01-04 08:53:20 -07:00
Tyera Eulberg
84a37a2c0c
Make validator timestamping more coincident, and increase timestamp sample range ( #7673 )
...
automerge
2020-01-03 22:38:00 -08:00
Trent Nelson
7e94cc2cc3
Move nonce into system program ( #7645 )
...
automerge
2020-01-03 16:34:58 -08:00
Michael Vines
7002ccb866
Log root slots while processing ledger
2020-01-03 13:25:37 -07:00
Michael Vines
4fe0b116ae
Measure heap usage while processing the ledger
2020-01-03 13:25:37 -07:00
Michael Vines
a0fb9de515
Move thread_mem_usage module into measure/
2020-01-03 13:25:37 -07:00
sakridge
5d42dcc9ec
Reduce constants for ledger cleanup test ( #7629 )
2020-01-03 12:05:14 -08:00
sakridge
96e88c90e8
Lessen test_slots_to_snapshot constants to make test faster ( #7628 )
...
Reduces test time from 6m to 45s
2020-01-03 09:58:52 -08:00
Jack May
75d94240ed
account_info utilities ( #7666 )
2020-01-03 09:14:51 -08:00
Jack May
6c544708e1
Add safety docs ( #7665 )
2020-01-03 09:14:28 -08:00
Michael Vines
078e7246ac
Publish bpf-sdk only in Linux build
2020-01-02 23:20:59 -07:00
Jack May
06cff1fb9f
Publish bpf-sdk releases ( #7655 )
2020-01-02 20:44:15 -08:00
Michael Vines
2e8bbed75b
Revert "Remov dead code from TdS testnet manager config ( #7414 )"
...
This reverts commit 8920ac02f6
.
2020-01-02 21:07:40 -07:00
Greg Fitzgerald
a707c9410e
More thiserror ( #7183 )
...
* Less solana_core::result. Module now private.
* Drop solana_core::result dependency from a few more modules
* Fix warning
* Cleanup
* Fix typo
2020-01-02 20:50:43 -07:00
Jack May
a956bb08d8
Export bpf loader ser/de ( #7661 )
2020-01-02 18:18:56 -08:00
Trent Nelson
db52cc6749
CLI: Fix default nonce authority resolution ( #7657 )
...
automerge
2020-01-02 17:05:08 -08:00
Trent Nelson
73c6224a95
Book - Document nonceable CLI subcommands ( #7656 )
...
automerge
2020-01-02 16:30:26 -08:00
Michael Vines
a217920561
Add a stand-alone gossip node on the blocksteamer instance
...
The blocksteamer instance is the TdS cluster entrypoint. Running an
additional solana-gossip node allows other participants to join a
cluster even if the validator node on the blocksteamer instance goes down.
2020-01-02 17:20:59 -07:00
Michael Vines
48a36f59a6
Add get-rpc-url --any option
2020-01-02 17:20:59 -07:00
Michael Vines
965b132664
Permit --gossip-host with --entrypoint
2020-01-02 17:20:59 -07:00
Rob Walker
63f185f9bf
Delete unused type ( #7653 )
2020-01-02 13:15:31 -08:00
Rob Walker
e97b0088f2
Make lockups block stake transfers via rekeying ( #7651 )
2020-01-01 11:03:29 -08:00
Trent Nelson
374c17a0d9
Book: Sync CLI API doc for show-block-production ( #7648 )
...
automerge
2019-12-31 09:26:45 -08:00
Michael Vines
4b3bc587ab
Add input validation for --creation-time/--lockup-date args ( #7646 )
...
automerge
2019-12-30 21:57:47 -08:00
dependabot-preview[bot]
06c63f2026
Bump cbindgen from 0.12.0 to 0.12.1 ( #7637 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.12.0...v0.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 22:16:48 -07:00
Rob Walker
6b7d9942a7
Add authorized_voter history ( #7643 )
...
* Add authorized_voter history
* fixups
* coverage
* bigger vote state
2019-12-30 19:57:53 -08:00
Rob Walker
760a56964f
delete fixed_buf ( #7644 )
2019-12-30 16:45:43 -08:00
Tyera Eulberg
6ca575b5a3
Make sol-to-lamport const name more clear ( #7641 )
...
automerge
2019-12-30 11:28:41 -08:00
Trent Nelson
ce1d36cacb
Book: Document CLI durable nonce account management ( #7595 )
...
* Book: Document CLI durable nonce account management
* Fix rent link
* review
2019-12-30 13:13:56 -05:00
Pankaj Garg
87b2525e03
Limit maximum number of shreds in a slot to 32K ( #7584 )
...
* Limit maximum number of shreds in a slot to 32K
* mark dead slot replay as fatal error
2019-12-30 07:42:09 -08:00
Rob Walker
faa77aca2e
Update terminology.md
2019-12-29 21:35:06 -08:00
Rob Walker
5d2158792c
Add inflation to book, cleanup dead links, include orphaned documents ( #7638 )
...
* Add inflation as implemented proposal
* grab another orphan and add orphan-proofing
2019-12-29 18:15:32 -08:00
Rob Walker
e1ebaa902b
Add base pubkey to create_account_with_seed ( #7636 )
2019-12-29 16:42:24 -08:00
Rob Walker
e0564f628e
Use lamports in genesis ( #7631 )
...
* Use lamports in genesis
* readability
2019-12-28 12:49:10 -08:00
Justin Starry
44e45aa090
Support nonced transactions in the CLI ( #7624 )
...
* Support nonced transactions in the CLI
* Update nonce.rs
2019-12-27 14:35:49 -06:00
Michael Vines
89f5f336af
Account for rent ( #7626 )
...
automerge
2019-12-24 18:01:21 -08:00
Parth
727be309b2
fix entryverification state ( #7169 )
...
automerge
2019-12-23 23:26:27 -08:00
dependabot-preview[bot]
ce2d7a2d5a
Bump nix from 0.16.0 to 0.16.1 ( #7623 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 23:06:42 -07:00
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