anatoly yakovenko
e7de7c32db
Transactions with multiple programs. ( #1381 )
...
Transactions contain a vector of instructions that are executed atomically.
Bench shows a 2.3x speed up when using 5 instructions per tx.
2018-09-28 16:16:35 -07:00
Stephen Akridge
a5f07638ec
Use static str define for ledger files
2018-09-28 14:23:37 -07:00
Stephen Akridge
aa2a3fe201
Add chacha module to encrypt ledger files
2018-09-28 14:23:37 -07:00
Jack May
abd13ba4ca
move program tests to integration
2018-09-28 11:30:10 -07:00
Greg Fitzgerald
485ba093b3
Install kcov to CI environment
2018-09-28 11:20:27 -06:00
Tyera Eulberg
36b18e4fb5
Create new wallet on each run of wallet-sanity
2018-09-28 07:39:31 -07:00
Michael Vines
8d92232949
Specify zone
2018-09-28 07:32:49 -07:00
Michael Vines
e4d8c094a4
Include -z when deleting network
2018-09-27 21:27:09 -07:00
Michael Vines
d26e1c51a9
0.10.0
2018-09-27 16:38:53 -07:00
Greg Fitzgerald
675ff64094
Fail CI on clippy warnings
2018-09-27 16:21:12 -06:00
Greg Fitzgerald
423e7ebc3f
Pacify clippy
2018-09-27 16:21:12 -06:00
Greg Fitzgerald
f9fe6a0f72
Move clippy to Rust stable
2018-09-27 16:21:12 -06:00
Greg Fitzgerald
8d007bd7f7
Upgrade rustc and add clippy to stable
2018-09-27 16:21:12 -06:00
Stephen Akridge
6cdbdfbbcb
Enable bench and fix upload-perf
2018-09-27 14:16:56 -07:00
Pankaj Garg
35e6343d61
Update testnet-deploy script to configure GPUs for leader node ( #1379 )
2018-09-27 13:42:24 -07:00
Pankaj Garg
7fb7839c8f
Configure GPU type/count from command line in GCE scripts ( #1376 )
...
* Configure GPU type/count from command line in GCE scripts
* Change CLI to input full leader machine type information with GPU
2018-09-27 11:55:56 -07:00
Tyera Eulberg
dbc1ffc75e
Use jsonrpc fork
2018-09-27 12:50:38 -06:00
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