Michael Vines
ba2cdd0bf6
Move testnet/testnet-perf to the stable channel
2019-03-11 16:14:16 -07:00
Tyera Eulberg
fe1676bc3a
Review comments
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
Michael Vines
de4d14ddc0
set_leader() now remains local and doesn't emit a LeaderId gossip message
2019-03-08 15:10:19 -08:00
Michael Vines
5b386ec30a
Delete cluster_info::get_gossip_top_leader()
2019-03-08 12:10:34 -08:00
Michael Vines
8f0aa956a3
bench-tps no longer cares who the leader is
2019-03-08 11:43:07 -08:00
Michael Vines
e04148ff44
Reduce leader_id visiblity
2019-03-08 11:42:06 -08:00
Michael Vines
d5d853838c
RPC now sends transactions at the local TPU
...
The local TPU will forward the transactions as needed if it's not
currently the leader
2019-03-08 11:42:06 -08:00
Michael Vines
e18673953c
Remove poll_gossip_for_leader()
2019-03-08 11:14:47 -08:00
Michael Vines
12f3fd75e8
StorageStage now sends transactions at the local TPU
2019-03-08 11:03:49 -08:00
Michael Vines
7bd0929157
Remove process_block()
2019-03-08 09:36:30 -08:00
Michael Vines
19488ba42a
Speling
2019-03-08 09:36:30 -08:00
Michael Vines
f0dc10c67b
Hide close(), the user is supposed to drop instead
2019-03-08 09:36:30 -08:00