4621 Commits

Author SHA1 Message Date
Rob Walker
a799f8f4b1
tell blockexplorer to run on port 8080 (#3237)
* tell blockexplorer to run on port 8080

* forward port 80 to 5000 for a blockexplorer node
2019-03-12 13:39:09 -07:00
Michael Vines
1ee43a7633 Remove non-essential programs from runtime/ 2019-03-12 15:11:59 -05:00
Michael Vines
3d2b7dd1ef Move programs/system into runtime/ 2019-03-12 11:30:58 -05:00
Sagar Dhawan
7b35114c0f
Filter vote accounts with no delegate from being selected in Rotation (#3224) 2019-03-11 17:58:21 -07:00
Pankaj Garg
b418525464 Update current leader information in metrics and dashboard 2019-03-11 17:43:59 -07:00
Pankaj Garg
8bba11367e Provide drone's host address while setting up staking account 2019-03-11 17:11:34 -07:00
anatoly yakovenko
9eb7e63819
Add staking rewards design proposal for delegation (#3148)
* proposal for single vote many delegators
2019-03-11 16:35:42 -07:00
Michael Vines
092501039c
Cargo.lock 2019-03-11 16:27:22 -07:00
Michael Vines
6899bd7099
0.13.0 2019-03-11 16:21:19 -07:00
Michael Vines
5a0416b925
Keep stable dashboard on stable channel at all times 2019-03-11 16:19:16 -07:00
Michael Vines
ba2cdd0bf6
Move testnet/testnet-perf to the stable channel 2019-03-11 16:14:16 -07:00
Tyera Eulberg
fe1676bc3a Review comments v0.12.0 2019-03-11 16:58:43 -06:00
Tyera Eulberg
1a9ef37251 Update programs using simple error mapping to use CustomError 2019-03-11 16:58:43 -06:00
Tyera Eulberg
db5370c5df Add helper macro to implement bincode serialization of program-specific errors 2019-03-11 16:58:43 -06:00
Tyera Eulberg
804378e8f7 Add ProgramError::CustomError and truncate value to 32 bytes 2019-03-11 16:58:43 -06:00
Mark
56b0ba2601
KvStore - A data-store to support BlockTree (#2897)
* Mostly implement key-value store and add integration points

Essential key-value store functionality is implemented, needs more work to be integrated, tested, and activated.

Behind the `kvstore` feature.
2019-03-11 17:53:14 -05:00
Michael Vines
3073ebb20d reduce pub 2019-03-11 17:09:21 -05:00
Stephen Akridge
f8e07ef5a3 banking_stage_entryfication fails when run as cargo test
Add some retry for getting entries from the channel.
2019-03-11 14:13:32 -07:00
Carl
a4b6d181a2 rename forwarder ports to tpu_via_blobs 2019-03-11 14:07:17 -07:00
Pankaj Garg
0b8c5d807d code cleanup 2019-03-11 14:07:17 -07:00
Pankaj Garg
e201136eee more review comments 2019-03-11 14:07:17 -07:00
Pankaj Garg
55f660d5f9 address review comments 2019-03-11 14:07:17 -07:00
Carl
a4acc631ee Refactor packing packets into blobs into separate packets_to_blob() function in packets.rs 2019-03-11 14:07:17 -07:00
Carl
3ddf4b6c24 PR fixes 2019-03-11 14:07:17 -07:00
Carl
ccd1173a83 Add local cluster test for forwarding 2019-03-11 14:07:17 -07:00
Carl
cd1a9faacd Batch packet forwarding in banking stage 2019-03-11 14:07:17 -07:00
Carl
b60b8ec5ae Add logic for deserialzing packets embedded in blobs 2019-03-11 14:07:17 -07:00
Carl
536c8accf8 Add separate sockets for tpu forwarder and run different protocol for those sockets 2019-03-11 14:07:17 -07:00
Carl
7beefb3f81 Add forwarder sockets and address to contact info and sockets structs 2019-03-11 14:07:17 -07:00
Pankaj Garg
fe1f67ea9a clippy errors 2019-03-11 14:07:17 -07:00
Pankaj Garg
069ce71256 fix clippy 2019-03-11 14:07:17 -07:00
Pankaj Garg
e3cacb9296 Buffer unprocessed packets if next leader is the current node 2019-03-11 14:07:17 -07:00
anatoly yakovenko
0c592c52f6
Wake up replay stage when the poh bank is cleared. (#3211)
* wake up replay stage when the poh bank is cleared

* bump ticks per second

* Increase ticks per slot to match faster tick rate

* Remove check that working bank must be the bank for the greatest slot

* Make start_leader() skip starting TPU for slots we've already been leader for
2019-03-11 13:58:23 -07:00
Sagar Dhawan
78bb96ee51
Reduce bootstrap leader stake (#3218) 2019-03-11 13:29:44 -07:00
Greg Fitzgerald
86e2f35ac4 Only need the TPU and a light client implement Transact 2019-03-10 23:20:10 -06:00
Greg Fitzgerald
7696a64891 Add design doc for testing programs 2019-03-10 23:20:10 -06:00
Greg Fitzgerald
799ed24113 Integrate bank-forks proposal into the book 2019-03-10 20:13:36 -06:00
Greg Fitzgerald
63477dabcd Attempt to clarify bank forks 2019-03-10 20:13:36 -06:00
Rob Walker
cd0bc1dea5
updates to reflect new_from_parent() (#3076)
* design draft

* update

* section on updating root forks

* updates to reflect new_from_parent()

* fixup

* Grammar check
2019-03-10 13:59:16 -07:00
Rob Walker
195a880576
pass Pubkeys as refs, copy only where values needed (#3213)
* pass Pubkeys as refs, copy only where values needed

* Pubkey is pervasive

* fixup
2019-03-09 19:28:43 -08:00
Michael Vines
ac226c3e14 Remove superfluous set_leader() usage 2019-03-08 19:59:54 -08:00
Michael Vines
4d5b832775 Remove commented out and clearly broken test 2019-03-08 19:59:54 -08:00
Michael Vines
79b2542ca4 Remove CrdsValue::LeaderId 2019-03-08 19:41:51 -08:00
Michael Vines
17921c9fae Delete NodeInfo type 2019-03-08 18:37:36 -08:00
anatoly yakovenko
5de38852d2 Add cluster test framework doc. (#3189) 2019-03-08 19:29:41 -07:00
Rob Walker
0acdbc0d03 plumb staking_account and voting_keypair from multinode-demo to Vote (#3199)
* plumb staking_account and voting_keypair from bash to Vote
2019-03-08 19:29:08 -07:00
Sagar Dhawan
c8c85ff93b
Fix propagation of incorrectly signed messages in Gossip (#3201) 2019-03-08 18:08:24 -08:00
Michael Vines
31cbb52654 Rename new_entry_point as new_gossip_entry_point to clarify usage 2019-03-08 17:42:25 -08:00
Michael Vines
cd88f81817 bench-tps no longer uses an invalid ContactInfo for RPC 2019-03-08 17:42:25 -08:00
Tyera Eulberg
6de24ff0be s/account/program in info msgs 2019-03-08 16:30:29 -07:00