7696a64891
Add design doc for testing programs
2019-03-10 23:20:10 -06:00
799ed24113
Integrate bank-forks proposal into the book
2019-03-10 20:13:36 -06:00
63477dabcd
Attempt to clarify bank forks
2019-03-10 20:13:36 -06:00
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
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
ac226c3e14
Remove superfluous set_leader() usage
2019-03-08 19:59:54 -08:00
4d5b832775
Remove commented out and clearly broken test
2019-03-08 19:59:54 -08:00
79b2542ca4
Remove CrdsValue::LeaderId
2019-03-08 19:41:51 -08:00
17921c9fae
Delete NodeInfo type
2019-03-08 18:37:36 -08:00
5de38852d2
Add cluster test framework doc. ( #3189 )
2019-03-08 19:29:41 -07:00
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
c8c85ff93b
Fix propagation of incorrectly signed messages in Gossip ( #3201 )
2019-03-08 18:08:24 -08:00
31cbb52654
Rename new_entry_point as new_gossip_entry_point to clarify usage
2019-03-08 17:42:25 -08:00
cd88f81817
bench-tps no longer uses an invalid ContactInfo for RPC
2019-03-08 17:42:25 -08:00
6de24ff0be
s/account/program in info msgs
2019-03-08 16:30:29 -07:00
de4d14ddc0
set_leader() now remains local and doesn't emit a LeaderId gossip message
2019-03-08 15:10:19 -08:00
5b386ec30a
Delete cluster_info::get_gossip_top_leader()
2019-03-08 12:10:34 -08:00
8f0aa956a3
bench-tps no longer cares who the leader is
2019-03-08 11:43:07 -08:00
e04148ff44
Reduce leader_id visiblity
2019-03-08 11:42:06 -08:00
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
e18673953c
Remove poll_gossip_for_leader()
2019-03-08 11:14:47 -08:00
12f3fd75e8
StorageStage now sends transactions at the local TPU
2019-03-08 11:03:49 -08:00
7bd0929157
Remove process_block()
2019-03-08 09:36:30 -08:00
19488ba42a
Speling
2019-03-08 09:36:30 -08:00
f0dc10c67b
Hide close(), the user is supposed to drop instead
2019-03-08 09:36:30 -08:00
f55103498f
Remove commented test code
2019-03-07 19:18:53 -07:00
639cb49356
Fix wallet integration tests
2019-03-07 19:18:53 -07:00
c5e9c6fdb6
Get chacha off Budget
2019-03-07 19:18:53 -07:00
7a4ccc8719
Fix Budget's payment_with_fee test
...
Fee is now independent of the contract.
2019-03-07 19:18:53 -07:00
125a345c90
Fix pubsub test
2019-03-07 19:18:53 -07:00
3dc22e7323
Simulate auto-creation of system accounts
2019-03-07 19:18:53 -07:00
17dcd1f62a
Resurrect the tests
2019-03-07 19:18:53 -07:00
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
10b16753af
Remove 'new' constructor
2019-03-07 19:18:53 -07:00
4625aed3a5
Make hypen/underscore consistent
2019-03-07 16:51:25 -08:00
259c820f15
Review comments
2019-03-07 17:21:32 -07:00
e888c90ecf
Add program notifications to JSON RPC documentation
2019-03-07 17:21:32 -07:00
b053bc2790
Load accounts by program owner for program subscriptions
2019-03-07 17:21:32 -07:00
6a81f9e443
Add program subscriptions to rpc
2019-03-07 17:21:32 -07:00
0ef1fa7c76
Replace RemoteVoteSigner with a user-supplied keypair
...
Vote program currently offers no path to vote with the
authorized voter. There should be a
VoteInstruction::new_authorized_vote() that accepts the
keypair of the authorized voter and the pubkey of the vote
account. The only option in current code is
VoteInstruction::new_vote() that accepts the voter's keypair
and assumes that pubkey is the vote account.
2019-03-07 17:15:36 -07:00
02eb234399
Fix TVU and PoH Recorder going out of sync ( #3164 )
...
* Fix broadcast_stage error
* Account for very fast ticks in tick verification
2019-03-07 15:49:07 -08:00
8d80da6b46
Fix picking account store paths
...
Store the set of accounts paths in AccountsDB and choose with an rng
when we need to create a new one. Remove path from AccountStorageEntry object.
2019-03-07 14:58:52 -08:00
22855def27
Fix race condition in store.
...
Multiple threads can enter the read lock and
all store the new empty set to account_maps.
Check again after taking write lock to make sure
only one thread actually inserts the new entry.
2019-03-07 14:58:52 -08:00
0be59cad4e
Remove dead code
2019-03-07 13:05:42 -08:00
5edbd6a7fb
gossip_service::discover() now reports the leader
2019-03-07 13:05:42 -08:00
54ff9b3ac2
Shutdown gossip on failure
2019-03-07 13:05:42 -08:00
5463226184
Give spy nodes a proper keypair
2019-03-07 13:05:42 -08:00
b96bccd71f
Use Self
2019-03-07 13:05:42 -08:00
07a948a0d0
Replicator now uses its keypair for gossip
2019-03-07 13:05:42 -08:00
8f034280dc
Increase polling frequency to report convergence quicker
2019-03-07 13:05:42 -08:00