342 Commits

Author SHA1 Message Date
Michael Vines
963ce0bbc3 v0.13.3 2019-04-26 07:36:32 -07:00
Michael Vines
395a7ec96e Rename in-tree program_ids to be base-58 human readable (#4004)
automerge
2019-04-25 17:53:27 -07:00
Michael Vines
7c5e5a06f3 Add getClusterNodes/getSlotLeader RPC API (#3980)
automerge
2019-04-24 17:49:14 -07:00
Dan Albert
7c0c7da72d Increment Cargo.toml version to 0.13.2 2019-04-24 02:37:58 +00:00
Sagar Dhawan
b328e5f6ec Add genesis blockhashes to blobs (#3955)
* Add genesis blockhashes to blobs

* Update golden
2019-04-23 17:41:21 -07:00
carllin
0a4b6cedc7 Fix inserting bogus is_last blobs into blocktree (#3934) 2019-04-22 19:27:06 -07:00
Rob Walker
d9a53eb9d4 verify that blobs match a known leader for the slot (#3927) (#3930)
* validate that blobs match a known leader for the slot

* clippy
2019-04-22 18:07:50 -07:00
Carl
a5b8ee645f Revert "Fix receiving bogus is_last blobs"
This reverts commit 1cbd1c42df.
2019-04-22 15:52:16 -07:00
Carl
1cbd1c42df Fix receiving bogus is_last blobs 2019-04-22 15:45:43 -07:00
Michael Vines
cb194eaee7 Ack on empty Gossip Pull Responses and keep Entrypoint around (#3881) (#3891)
* Ack on empty Gossip Pull Responses and keep Entrypoint around

* Address comments and fix test

* Update core/src/cluster_info.rs

Co-Authored-By: sagar-solana <sagar@solana.com>

* Update core/src/cluster_info.rs

Co-Authored-By: sagar-solana <sagar@solana.com>
2019-04-18 17:45:05 -07:00
Dan Albert
d4ec81fe61 Bump Cargo.toml versions to 0.13.1 (#3842) 2019-04-17 16:01:00 -06:00
Michael Vines
2530448474 net/ testnet nodes now stake more lamports (#3809)
* Add --bootstrap-leader-lamports

* Generalize --no-stake into --stake NUM

* Use a large stake for net/ fullnodes

* Setup vote account before starting fullnode to avoid mixed log output
2019-04-16 17:43:22 -07:00
anatoly yakovenko
68fc303b9b Rework Accounts for fast squash, hashing state and checkpoint recovery. (#3613)
* accounts rewrite

* ignore grow tests

* skip duplicate roots

* allow for a root race

* logger

* accounts_index tests

* tests

* tests
2019-04-15 17:15:50 -07:00
Sagar Dhawan
3fcf03ff3e Refactor LocalCluster and add support for listener nodes (#3790) 2019-04-15 15:27:45 -07:00
Greg Fitzgerald
80f3568062 Upgrade to Rust 1.34.0 (#3781)
* Upgrade to Rust 1.34.0

* Remove redundant closures

Thanks Clippy!
2019-04-15 15:56:08 -06:00
Michael Vines
d026ebb83a Use tvu_peers() since validators no longer run an RPC port by default (#3784) 2019-04-15 13:25:09 -07:00
Rob Walker
64c6f05da2 persist set_root() and use it in blocktree_processor to limit squashes (#3782)
* rename locktower's slot to epoch

* persist set_root() and use it in blocktree_processor to limit squashes
2019-04-15 13:12:28 -07:00
Rob Walker
5c4689a326 rename locktower's slot to epoch (#3776) 2019-04-15 10:46:14 -07:00
Rob Walker
6859907df9 more rigorous erasure constants, comments (#3766)
* more rigorous erasure constants, comments

* new header size means new golden
2019-04-14 21:10:09 -07:00
Rob Walker
de52747950 remove max_tick_height replicode (#3765) 2019-04-14 19:15:31 -07:00
Rob Walker
bd1db51e07 delete db_window.rs, move contents to window_service, clean up process_blobs (#3746) 2019-04-14 18:52:05 -07:00
Rob Walker
dd005fb50e fix broadcast to *always* call erasure generation, simplify generator, test slot reset better (#3764) 2019-04-14 18:12:37 -07:00
Rob Walker
542bafeb71 groom packet.rs, add blob.data alignment (#3763) 2019-04-14 17:30:08 -07:00
Rob Walker
e57a0ab05d test some bits (#3762) 2019-04-14 17:10:30 -07:00
Pankaj Garg
2c745ce108 Shorten recv wait when there are buffered packets in banking stage (#3757)
- packets are buffered on leader rotation, when the next leader is
  unknown
- shortening the wait allows the banking stage to poll for next
  leader more frequently
2019-04-14 12:34:07 -07:00
Michael Vines
f6aa90e193 Add fullnode --dynamic-port-range option 2019-04-14 07:08:29 -07:00
Michael Vines
2277a39dd2 Default solana-gossip log-level to 'info' 2019-04-14 07:07:15 -07:00
Pankaj Garg
ee35ed5250 Refactored buffered packet forwarding code (#3750)
- Added unit tests
- Don't consume packets if bank is not known
2019-04-13 23:19:54 -07:00
Stephen Akridge
92b5e131fe Name sigverify threads 2019-04-13 11:24:36 -07:00
Sagar Dhawan
1e8f83a74a Use a better name for new api 2019-04-12 14:58:22 -07:00
Sagar Dhawan
1db80d79fc Update get recent blockhashes to return confirmed blockhashes only 2019-04-12 14:58:22 -07:00
Stephen Akridge
1dac4c33b8 Change sigverify counter from entries to packets
batch or entries kind of useless since it can have some
variable number of packets
2019-04-12 13:19:46 -07:00
Pankaj Garg
44ebfa736a Don't forward buffered packet to the same node (#3712)
- instead, process the packets
2019-04-11 17:23:45 -07:00
Sagar Dhawan
877ec08280 Send recent votes in Vote Transactions (#3734) 2019-04-11 14:48:36 -07:00
Rob Walker
efd19b07e7 implement erasure-based recovery inside blocktree (#3739)
* implement recover in blocktree

* erasures metric

* erasure metrics only

* fixup
2019-04-11 14:14:57 -07:00
carllin
787dc5748a Fixed DuplicateSigs (#3727)
* Fixed DuplicateSigs by not recording errors in signature cache of bank
2019-04-11 11:51:34 -07:00
Rob Walker
e1d5bb1a26 add redundant broadcast (#3724)
* add redundant broadcast

* crank up to full redundancy

* Update broadcast_stage.rs

* Update broadcast_stage.rs

* Update broadcast_stage.rs

* Update broadcast_stage.rs
2019-04-11 09:15:17 -07:00
Jack May
d0f46d6a8a Cleanup client traits and create super trait (#3728) 2019-04-11 00:25:14 -07:00
Rob Walker
4b6c0198ad reset coding generator on slot boundaries (#3726) 2019-04-10 18:18:55 -07:00
Rob Walker
f1e7237c09 vote_api cleanup (#3710)
* vote_api cleanup

* fixups

* fixup

* remove unused code

* revert removal of serialize and deserialize

* ...

* increase coverage, bootstrap staking

* Sagar's STAKE to my VOTE
2019-04-10 17:52:47 -07:00
Sagar Dhawan
1b5845ac3e Fix getting votes from gossip (#3723) 2019-04-10 17:16:08 -07:00
Sagar Dhawan
d2ea782372 Always use bootstrap vote account for leader 2019-04-10 15:51:00 -07:00
Greg Fitzgerald
894135a084 Less pub in PohRecorder 2019-04-10 12:50:45 -07:00
Pankaj Garg
7da4142d33 Process votes from gossip only in leader node (#3707) 2019-04-09 22:06:32 -07:00
carllin
003fd6545c Logging for unexpected validator errors (#3697) 2019-04-09 15:05:43 -07:00
Stephen Akridge
2c93062f54 Improve banking_stage performance messages
Use transaction count instead of batch count,
and set the recv_start from when we finished processing
the previous batch to get a more accurate number.
2019-04-09 14:54:12 -07:00
Pankaj Garg
dc6c34da5d Fast-track vote signature verification and processing (#3695) 2019-04-09 12:57:12 -07:00
carllin
d4eebcc2aa Check for frozen in confirm_forks (#3678) 2019-04-09 11:45:38 -07:00
carllin
483cc2fa4e Support old repair strategy for reparing slots in a range for supporting replicators (#3665) 2019-04-08 12:46:23 -07:00
Jack May
44b391096d Configurable local cluster native processors (#3676) 2019-04-08 11:15:58 -07:00