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
Tyera Eulberg
f55103498f
Remove commented test code
2019-03-07 19:18:53 -07:00
Tyera Eulberg
639cb49356
Fix wallet integration tests
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
c5e9c6fdb6
Get chacha off Budget
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
7a4ccc8719
Fix Budget's payment_with_fee test
...
Fee is now independent of the contract.
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
125a345c90
Fix pubsub test
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
3dc22e7323
Simulate auto-creation of system accounts
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
17dcd1f62a
Resurrect the tests
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
a277f3e816
Migrate to TransactionBuilder
...
This code wasn't updated after we started batching instructions.
The current code does allocations instead of using CreateAccount.
The runtime shouldn't allow that, so getting this code out of the
way before we lock down the runtime.
2019-03-07 19:18:53 -07:00
Greg Fitzgerald
10b16753af
Remove 'new' constructor
2019-03-07 19:18:53 -07:00
Tyera Eulberg
4625aed3a5
Make hypen/underscore consistent
2019-03-07 16:51:25 -08:00
Tyera Eulberg
259c820f15
Review comments
2019-03-07 17:21:32 -07:00
Tyera Eulberg
e888c90ecf
Add program notifications to JSON RPC documentation
2019-03-07 17:21:32 -07:00