Sunny Gleason
a684984f8b
feat: add confirm_transaction, add rpc client test ( #6778 )
2019-11-06 22:08:03 -05:00
Tyera Eulberg
079682fbdc
Add ping cli option to use CommitmentLevel::Max, instead of CommitmentLevel::Recent ( #6775 )
2019-11-06 18:54:17 -07:00
Michael Vines
2491719f36
Fix windows build ( #6774 )
2019-11-06 16:07:28 -07:00
Jack May
65de227520
Don't panic on packet data ( #6769 )
2019-11-06 14:32:37 -08:00
TristanDebrunner
29f3b198cf
Update snapshot verification proposal ( #6764 )
...
automerge
2019-11-06 13:48:28 -08:00
Pankaj Garg
0ace79939b
Add reference tick to data shreds ( #6772 )
...
* Add reference tick to data shreds
* fix tests
2019-11-06 13:27:58 -08:00
Tyera Eulberg
b3a75a60a4
Use rooted bank by default in rpc bank selection ( #6759 )
...
* Name anonymous parameters for clarity
* Add CommitmentConfig to select bank for rpc
* Add commitment information to jsonrpc docs
* Update send_and_confirm retries as per commitment defaults
* Pass CommitmentConfig into client requests; also various 'use' cleanup
* Use _with_commitment methods to speed local_cluster tests
* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests
* Restore solana ping speed
* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
anatoly yakovenko
5e8668799c
Fewer recyclers. ( #6770 )
...
automerge
2019-11-06 12:35:51 -08:00
Michael Vines
8fa6935c9d
Validators now log to a file by default (use `-o -`/`--log -` for stderr) ( #6768 )
...
automerge
2019-11-06 11:47:34 -08:00
Rob Walker
a1fe6265fd
use pubkeys in genesis ( #6750 )
2019-11-06 11:18:25 -08:00
anatoly yakovenko
67f636545a
Refactor sigverify to stage for signing shreds on the GPU ( #6635 )
...
automerge
2019-11-06 10:52:30 -08:00
sakridge
ec50c20400
Add time in net/logs path ( #6701 )
2019-11-06 10:43:12 -08:00
Michael Vines
18f146ace5
validator/: Restructure main() to fully parse cli arguments first ( #6765 )
2019-11-06 11:34:31 -07:00
Trent Nelson
a91bf296d7
Add some addition packages to DC installer scripts ( #6755 )
...
* Add 'cmake' to default DC node installer
* Add 'sysstat' to default DC node installer
For 'iostat'
* Add 'perf' to default DC node installer
* Add 'iftop' to default DC node installer
2019-11-06 09:48:45 -07:00
dependabot-preview[bot]
bb8985d76c
[Security] Bump spin from 0.5.0 to 0.5.2 ( #6621 )
...
Bumps [spin](https://github.com/mvdnes/spin-rs ) from 0.5.0 to 0.5.2. **This update includes security fixes.**
- [Release notes](https://github.com/mvdnes/spin-rs/releases )
- [Commits](https://github.com/mvdnes/spin-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 08:31:25 -07:00
carllin
7ff2a44a63
Make last shred for an interrupted slot signed + typed ( #6760 )
2019-11-06 08:25:17 -07:00
Michael Vines
b5074d8577
Enable JSON RPC request/response logging by default ( #6758 )
2019-11-06 08:23:13 -07:00
dependabot-preview[bot]
5c1abaf43c
Bump cc from 1.0.46 to 1.0.47 ( #6741 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.46...1.0.47 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 08:23:00 -07:00
Parth
dc3988eff8
CLI changes required for `to` account signing ( #6678 )
...
* CLI changes draft
* use tempfile
* remove un-necessary error handling
* use keypair instead of pubkey
2019-11-06 20:17:34 +05:30
carllin
24102a7435
Allow voting on empty banks ( #6719 )
...
* Allow votes on empty banks
* Remove making first bank is_delta true, no longer necessary for idling
* Remove votable from ledger tool
2019-11-06 01:02:26 -08:00
Jack May
9614d17024
Limit deserialization of data coming off the wire ( #6751 )
...
* Limit deserialization of data coming off the wire
* Feedback and cleanup
2019-11-06 00:07:57 -08:00
Michael Vines
8e3be6413e
Cargo.lock
2019-11-05 20:02:09 -07:00
Michael Vines
09e648f957
ledger-tool/: Include full validator voting history in fork-graph ( #6756 )
2019-11-05 19:40:00 -07:00
Pankaj Garg
0c2bf022fa
Apply netem packet rules to only UDP traffic ( #6754 )
2019-11-05 18:34:04 -08:00
Pankaj Garg
1c5d2a85cf
Fix substitution of private IP with public IP in iftop logs ( #6748 )
...
automerge
2019-11-05 15:08:35 -08:00
Pankaj Garg
8993b15248
Integrated use of netem with testnet scripts ( #6746 )
...
automerge
2019-11-05 15:04:06 -08:00
carllin
8f91b5aab3
Add threshold to repairman for same slot ( #6728 )
2019-11-05 12:48:45 -08:00
dependabot-preview[bot]
46391397b8
Bump indicatif from 0.12.0 to 0.13.0 ( #6736 )
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/compare/0.12.0...0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 13:25:28 -07:00
Michael Vines
85c9a231c1
Include the affected slot in blocktree error metrics ( #6734 )
2019-11-05 13:25:21 -07:00
sakridge
c312d4fba0
Calculate proofs collected and don't encrypt if there are none ( #6698 )
2019-11-05 11:38:50 -08:00
Michael Vines
7203036e3e
Adjust nofiles within Blocktree::open() for all ledger/ users ( #6737 )
...
automerge
2019-11-05 11:18:49 -08:00
Jack May
b9d8e3e55a
Only copy whats needed to verify an instruction after processing ( #6669 )
2019-11-05 10:57:32 -08:00
Michael Vines
08973f9f05
Adjust default signature fee for base-10 lamports ( #6738 )
2019-11-05 11:21:45 -07:00
Tyera Eulberg
c6931dcb07
Remove credit-only account handling ( #6726 )
...
* Renaming
- credit-only/credit-debit to read-only/read-write
- debitable to writable
* Remove credit handling, making credit-only accounts read-only
* Update programs to remove deprecated credit-only account designation
* Use readonly and writable instead of underscored types
2019-11-05 09:38:35 -07:00
Michael Vines
cea13e964c
Add --graph-forks option ( #6732 )
2019-11-04 23:18:30 -07:00
Parth
d207a34736
remove duplicate signal handling ( #6702 )
2019-11-05 11:36:51 +05:30
Michael Vines
fba1af6ea9
ledger-tool can now load a ledger snapshot ( #6729 )
2019-11-04 22:14:55 -07:00
anatoly yakovenko
b825d04597
Pull perf into a separate module. ( #6718 )
...
automerge
2019-11-04 20:13:43 -08:00
Sagar Dhawan
3133ee2401
Fix limited iftop output and failure to stop iftop ( #6723 )
...
* Fix limited iftop output and failure to stop iftop
* Shellcheck
* Ignore shellcheck
2019-11-04 18:12:07 -08:00
Michael Vines
4d52f47f87
Move get_bank_forks() into ledger/ so its available for use by ledger-tool/ ( #6720 )
2019-11-04 19:10:06 -07:00
anatoly yakovenko
f54cfcdb8f
Store and persists full stack of tower votes in gossip ( #6695 )
...
* vote array
wip
wip
wip
update
gossip index should match tower index
tests build
clippy
test index after expired vote
test
bank specific last vote sync time
* verify
* we are likely to see many more warnings about old votes now
2019-11-04 16:19:54 -08:00
sakridge
57983980a7
Lower verify-batch-size to debug ( #6722 )
...
automerge
2019-11-04 16:00:59 -08:00
Tyera Eulberg
33f4aaf3fd
Rename confidence to commitment ( #6714 )
2019-11-04 16:44:27 -07:00
Pankaj Garg
c138d692b1
Show all ports for nodes in gossip table ( #6717 )
...
* Show all ports for nodes in gossip table
* review comments
2019-11-04 15:05:08 -08:00
Greg Fitzgerald
fb12136975
Add genesis_accounts module ( #6708 )
2019-11-04 13:46:33 -07:00
Rob Walker
efe260f12e
sysvar trait ( #6667 )
...
* sysvar trait
* get the new guy in on it
2019-11-04 12:31:24 -08:00
Rob Walker
b9b535c30f
move system_instruction::transfer() `to` credit-debit ( #6677 )
...
* transfer no credit only
* use a credit-only transfer in the credit-only test
2019-11-04 12:30:59 -08:00
Trent Nelson
d085c8626f
GCE: Add instances self-destruct ( #6363 )
...
automerge
2019-11-04 10:30:26 -08:00
Michael Vines
5e3697807c
Fail gracefully if AVX support is missing ( #6705 )
2019-11-04 11:03:39 -07:00
Trent Nelson
5416c114cf
SDK: Add sysvar to expose recent block hashes to programs ( #6663 )
...
* SDK: Add sysvar to expose recent block hashes to programs
* Blockhashes is one word
* Missed one
* Avoid allocs on update
* unwrap_or_else
* Use iterators
* Add microbench
* Revert "unwrap_or_else"
This reverts commit a8f8c3bfbe0d88e2229e67a29e9d2b489b93ff62.
* Revert "Avoid allocs on update"
This reverts commit 486f01790c271cf09ac3dbffba0e40e526e81324.
2019-11-04 10:51:15 -07:00