Rob Walker
94f1132fb6
fix single node testnet, remove bootstrap vote ( #5534 )
2019-08-15 18:58:46 -07:00
Sagar Dhawan
4ee212ae4c
Coalesce gossip pull requests and serve them in batches ( #5501 )
...
* Coalesce gossip pull requests and serve them in batches
* batch all filters and immediately respond to messages in gossip
* Fix tests
* make download_from_replicator perform a greedy recv
2019-08-15 17:04:45 -07:00
carllin
d5fb493aa4
Change recv to try_recv ( #5533 )
2019-08-15 15:17:46 -07:00
Rob Walker
88ea950652
add stake_api config account ( #5531 )
2019-08-15 14:35:48 -07:00
Tyera Eulberg
e4519d6447
Use check_unique_pubkeys helper to prevent DuplicateAccountIndex errors earlier ( #5532 )
2019-08-15 14:16:05 -06:00
Greg Fitzgerald
471bc73a23
Fix Rust 1.37.0 compiler warnings ( #5530 )
...
Looks like most usages of trait objects should have introduced
a type variable instead.
2019-08-15 14:00:09 -06:00
Rob Walker
75a2b74751
Delete append_vec_serialize
2019-08-15 11:02:30 -07:00
dependabot-preview[bot]
4e69408f54
Bump cc from 1.0.38 to 1.0.40 ( #5502 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.38 to 1.0.40.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.38...1.0.40 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 11:43:32 -06:00
Ryan Shea
38602d60b3
Reverse .travis.yml fix
...
_It didn't work!_
2019-08-15 11:15:34 -06:00
Tyera Eulberg
1fe1550a30
Update docs wrt new wallet and rpc functionality ( #5528 )
2019-08-15 11:05:34 -06:00
Michael Vines
827f2b3a5c
Add update manifest as signer
2019-08-15 09:23:55 -07:00
dependabot-preview[bot]
a948c9b7f9
Bump libc from 0.2.61 to 0.2.62 ( #5527 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.61 to 0.2.62.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.61...0.2.62 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 09:49:14 -06:00
Michael Vines
1363841f32
Fix testnet deployment
2019-08-15 08:32:10 -07:00
carllin
4688f9821f
Snapshot optimizations ( #5525 )
...
* Change serializing snapshot tar to use shell command
2019-08-14 23:14:40 -07:00
Ryan Shea
0c90c889cd
Add travis_wait to .travis.yml to fix timeout
2019-08-14 23:04:53 -06:00
Michael Vines
9f6c9c428b
Move genesis/snapshot archive download into Rust ( #5515 )
2019-08-14 19:25:22 -07:00
Rob Walker
fd443d85c4
update config_api with initialization and recovery utilities ( #5523 )
...
* update config_api with initialization and recovery utilities
* nits
* move tests to config_tests to eliminate config_api solana_runtime dependency
* fixups
2019-08-14 15:54:31 -07:00
Michael Vines
b4f0f4abcc
Disable rocksdb bzip2 compression
2019-08-14 15:39:30 -07:00
Rob Walker
d22848f9b1
use live stakes for consensus ( #5426 )
...
* use live stakes for consensus
* lint
* re-enable leader_failure_4
* fixups
* re-ignore leader_failure_4
2019-08-14 13:30:21 -07:00
TristanDebrunner
79416381dc
Add pubkey setup for datacenter nodes ( #5514 )
2019-08-14 14:25:56 -06:00
carllin
d791c70d90
Snapshot optimizations ( #5518 )
...
* Limit slots_since_snapshot size, only package latest snapshot, refactor tests
* Add test checking status_cache.roots == bank_forks.slots_since_snapshot after bank_forks.set_root()
2019-08-13 22:39:29 -07:00
Michael Vines
802537564b
Update stale.yml
2019-08-13 22:21:53 -07:00
Sagar Dhawan
1d0608200c
Restore blob size fix ( #5516 )
...
* Revert "Revert "Fix gossip messages growing beyond blob size (#5460 )" (#5512 )"
This reverts commit 97d57d168b
.
* Fix Crds filters
2019-08-13 18:04:14 -07:00
carllin
cd14a940d8
Allow process_blocktree() to start processing from any root ( #5484 )
...
* Remove unnecessary entry_height from BankInfo
* Refactor process_blocktree to support process_blocktree_from_root
* Refactor to process blocktree after loading from snapshot
* On restart make sure bank_forks contains all the banks between the root and the tip of each fork, not just the head of each fork
* Account for 1 tick_per_slot in bank 0 so that blockhash of bank0 matches the tick
2019-08-13 17:20:14 -07:00
carllin
58d4e32c97
Remove serialization of future AppendVecs and serialize AccountStorage correctly ( #5510 )
2019-08-13 16:05:37 -07:00
Michael Vines
1b6a200d6f
Enable automation to close stale pull requests ( #5511 )
2019-08-13 13:07:33 -07:00
Michael Vines
08f6a2ea3e
debash: Add `solana-gossip get-rpc-url` command to avoid hard coding ( #5513 )
2019-08-13 10:49:48 -07:00
Sagar Dhawan
97d57d168b
Revert "Fix gossip messages growing beyond blob size ( #5460 )" ( #5512 )
...
This reverts commit a8eb0409b7
.
2019-08-13 10:29:26 -07:00
Michael Vines
2b219228ce
Add wallet ping command ( #5508 )
2019-08-12 21:33:13 -07:00
Rob Walker
07d11be6ab
add global stake warmup ( #5483 )
...
* add global stake warmup
* integrate stake history into runtime
* fixup core tests
* fixup
* remove existing cooldown tests for now
2019-08-12 20:59:57 -07:00
Michael Vines
7981431f09
--entrypoint is a global arg
2019-08-12 16:08:45 -07:00
Greg Fitzgerald
a43922ccbf
Boot hashbrown ( #5505 )
...
As of Rust 1.36.0, hashbrown now implements the HashMap in std (which
implements HashSet).
https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk,-v%3E-implementation
2019-08-12 16:46:49 -06:00
TristanDebrunner
687818aad6
Run sdk-c through clippy separately ( #5504 )
2019-08-12 16:41:17 -06:00
Pankaj Garg
b7a5136136
Helper functions for shreds ( #5493 )
2019-08-12 15:27:58 -07:00
Justin Starry
0fde19239b
Rate limit counter metrics points to one per second ( #5496 )
...
* Rate limit counter metrics points to one per second
* Remove old env var
* Test that metrics counter is incrementing
* Fix typo
2019-08-12 18:15:34 -04:00
dependabot-preview[bot]
771d1a78fd
Bump libc from 0.2.60 to 0.2.61 ( #5491 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.60 to 0.2.61.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.60...0.2.61 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 15:39:26 -06:00
Sagar Dhawan
a8eb0409b7
Fix gossip messages growing beyond blob size ( #5460 )
...
* fixed bloom filter math
* Add split each pull request into multiple pulls with different filters
* Rework CrdsFilter to generate all possible masks to cover the keyspace
* Limit the bloom sizes such that each pull request is no larger than mtu
2019-08-12 13:51:29 -07:00
Tyera Eulberg
b6151b5200
Solana-wallet: prevent duplicate pubkeys ( #5497 )
...
* Add helper function to compare wallet pubkey args for uniqueness
* Fix test
2019-08-12 14:01:55 -06:00
Tyera Eulberg
c68ebbb0a6
Parse system custom errors ( #5494 )
2019-08-12 14:00:55 -06:00
carllin
1b84092b94
Fix slots_since_snapshot in BankForks.add_root() ( #5489 )
2019-08-12 11:56:03 -07:00
Pankaj Garg
b1d43ace14
Add columns for data and code shreds ( #5461 )
2019-08-12 10:03:57 -07:00
Michael Vines
6085109171
Delete terminated GCP instances ( #5490 )
...
automerge
2019-08-12 08:28:58 -07:00
Michael Vines
cd89f280b7
Remove decimal point from node count
2019-08-11 09:28:59 -07:00
Michael Vines
54f4d13350
Validator log filter may now be reconfigured at runtime ( #5473 )
...
* Log filter may now be reconfigured at runtime
* Add RPC API and bash script to reconfigure the log filter
2019-08-10 22:54:46 -07:00
dependabot-preview[bot]
799d3b1575
Bump nix from 0.14.1 to 0.15.0 ( #5488 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.14.1 to 0.15.0.
- [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-08-10 18:48:36 -06:00
Michael Vines
b3b782988c
Remove extra e
2019-08-10 14:38:41 -07:00
Michael Vines
5e128f8cc2
Simplify commands by using keypair files
2019-08-10 13:16:06 -07:00
Michael Vines
c8c0815144
Permit keypair files for create-validator-storage-account
2019-08-10 13:16:06 -07:00
Michael Vines
d59aae4849
Disable validator sanity for edge/beta
2019-08-10 13:16:06 -07:00
Michael Vines
342733be54
Correct arg
2019-08-10 13:16:06 -07:00