Michael Vines
1fdbe893c5
Improve game setup experience: X now shares game key and accepts O
2018-09-27 10:44:13 -07:00
Pankaj Garg
55a542bff0
Fix erasure and cuda related compilation errors
2018-09-27 10:42:37 -06:00
Pankaj Garg
e10574c64d
Remove recycler and it's usage
...
- The memory usage due to recycler was high, and incrementing with
time.
2018-09-27 10:42:37 -06:00
Anatoly Yakovenko
2e00be262e
Remove data from BankError.
...
This reduces how much memory is written to last_id_sigs table on very TX, and has a 40% impact on
`cargo +nightly watch -x 'bench bench_banking_stage'`
2018-09-27 09:07:56 -06:00
Greg Fitzgerald
4172bde081
Only send a vote once a second
2018-09-27 09:06:41 -06:00
jackcmay
9c47e022dc
break dependency of programs on solana core ( #1371 )
...
* break dependency of programs on Solana core
2018-09-27 07:49:26 -07:00
Greg Fitzgerald
874addc51a
Move KeyedAccount into Account
...
Now programs don't need to depend on dynamic_program and its
dependencies.
2018-09-26 20:40:40 -06:00
Greg Fitzgerald
b7ae5b712a
Move Pubkey into its own module
2018-09-26 20:40:40 -06:00
Greg Fitzgerald
c6d7cd2d33
Move Account into its own module
...
Also use default Default generator, since system program ID is
[0; 32]. Bank should probably be the one to set this anyway.
2018-09-26 20:40:40 -06:00
Rob Walker
386a96b7e0
capture multinode logs by default ( #1367 )
2018-09-26 19:30:40 -07:00
Michael Vines
b238c57179
Add trace! when an error is mapped to GenericFailure
2018-09-26 19:30:20 -07:00
Michael Vines
1821e72812
Add getSignatureStatus
2018-09-26 19:00:34 -07:00
Rob Walker
a23c230603
fix reverse loop in write_stage, simplify banking_stage, add tooling to help find this ( #1366 )
2018-09-26 18:37:24 -07:00
Greg Fitzgerald
4e01fd5458
Update test to show when we should collect tx fees
...
See #1157 for details. The `from` account should be cloned
before execute_transaction(), and that's the only one that should
be stored if there's an error executing the program.
2018-09-26 19:30:27 -06:00
Greg Fitzgerald
e416cf7adf
Let clients know when transactions failed
2018-09-26 19:30:27 -06:00
Anatoly Yakovenko
25edb9e447
fix benches
2018-09-26 19:29:46 -06:00
Anatoly Yakovenko
93c4f6c9b8
Synchronize PoH, bank last_id queue and ledger entry channel.
...
PoH, bank's last_id queue and the Entry channel need to have a synchronized order of ids.
2018-09-26 16:19:03 -07:00
Anatoly Yakovenko
718031ec35
Ignore the test_leader_to_validator_transition until it can handle PoH entries
2018-09-26 16:59:57 -06:00
Stephen Akridge
d546614936
Handle deserialize failure with error
2018-09-26 15:17:07 -07:00
Greg Fitzgerald
ac8d738045
Don't call unwrap() in StorageProgram::process_tx
2018-09-26 15:17:07 -07:00
Greg Fitzgerald
ca962371b8
Fix build
...
Two PRs crossed in flight.
2018-09-26 14:40:48 -06:00
Rob Walker
e6f8922e35
fix issue #1347 ( #1355 )
2018-09-26 13:31:39 -07:00
Greg Fitzgerald
7292ece7ad
Free up term instruction for new multi-instruction feature
2018-09-26 14:17:15 -06:00
Greg Fitzgerald
df3b78c18c
Move BudgetTransaction into its own module
2018-09-26 14:17:15 -06:00
Greg Fitzgerald
c83dcea87d
Move SystemTransaction into its own module
2018-09-26 14:17:15 -06:00
Greg Fitzgerald
be20c99758
Promote the one true transaction constructor
2018-09-26 14:17:15 -06:00
Greg Fitzgerald
694add9919
Move budget-specific and system-specific tx constructors into traits
...
These functions pull in budget-specific and system-specific
dependencies that aren't needed by the runtime.
2018-09-26 14:17:15 -06:00
Michael Vines
afc764752c
Permit testnets without a GPU
2018-09-26 10:37:41 -07:00
Tyera Eulberg
113c8b5880
Rollback jsonrpc SendTransaction pool for signature; ignore flaky tests
2018-09-26 10:25:29 -07:00
Stephen Akridge
a5b28349ed
Add max entry height to download for replicator
2018-09-26 09:57:22 -07:00
Greg Fitzgerald
bb7ecc7cd9
Migrate to solana-labs fork of jsonrpc
...
This changes aims to be a no-op. Future changes to rev should be
along the new solana-0.1 branch.
2018-09-26 10:08:37 -06:00
Tyera Eulberg
14bc160674
Clean up test and add signature return to rpc send tx
2018-09-25 16:38:51 -07:00
Tyera Eulberg
d438c22618
Update RFC
2018-09-25 16:38:51 -07:00
Tyera Eulberg
bcbae0a64f
Fix witness functionality
2018-09-25 16:38:51 -07:00
Tyera Eulberg
f636408647
Fix timestamp and cancel functionality
...
- Also serialize and send helper fn
2018-09-25 16:38:51 -07:00
Tyera Eulberg
3ffc7aa5bc
Add helper fn to get last id
2018-09-25 16:38:51 -07:00
Tyera Eulberg
7b7e8c0d3f
Clippy
2018-09-25 16:38:51 -07:00
Tyera Eulberg
11ea9e7c4b
Add cancelable handling
2018-09-25 16:38:51 -07:00
Tyera Eulberg
2b82121325
Fix wallet-sanity to reflect new wallet arg syntax
2018-09-25 16:38:51 -07:00
Tyera Eulberg
5038e5ccd7
Preliminary Wallet-Budget functionality
2018-09-25 16:38:51 -07:00
Tyera Eulberg
e943ed8caf
Expand parse_command and add tests
2018-09-25 16:38:51 -07:00
Tyera Eulberg
c196952afd
Flesh out Wallet CLI & add placeholder WalletCommands
2018-09-25 16:38:51 -07:00
carllin
e7383a7e66
Validator to leader ( #1303 )
...
* Add check in window_service to exit in checks for leader rotation, and propagate that service exit up to fullnode
* Added logic to shutdown Tvu once ReplicateStage finishes
* Added test for successfully shutting down validator and starting up leader
* Add test for leader validator interaction
* fix streamer to check for exit signal before checking socket again to prevent busy leaders from never returning
* PR comments - Rewrite make_consecutive_blobs() function, revert genesis function change
2018-09-25 15:41:29 -07:00
Rob Walker
8a7545197f
move tick generation back to banking_stage, add unit tests ( #1332 )
...
* move tick generation back to banking_stage, add unit tests
fixes #1217
* remove channel() stuff for synchronous comm; use a mutex
2018-09-25 15:01:51 -07:00
Greg Fitzgerald
680072e5e2
No need to special case vote failures
2018-09-25 13:43:35 -06:00
Greg Fitzgerald
4ca377a655
Delete dead code
2018-09-25 13:43:35 -06:00
Tyera Eulberg
751dd7eebb
Move vote into ReplicateStage after process_entries
2018-09-25 13:43:35 -06:00
Michael Vines
8f0e0c4440
Add tic-tac-toe program
2018-09-25 12:07:41 -07:00
Michael Vines
50cf73500e
Remove rfc 004
2018-09-25 12:07:41 -07:00
Tyera Eulberg
db310a044c
Add Budget::And element, and supporting functions ( #1329 )
2018-09-25 12:38:13 -06:00