Rob Walker
88a609ade5
groom write_stage
2018-09-25 00:18:35 -07:00
Rob Walker
304d63623f
give replication some time to happen
...
fixes #1307
2018-09-24 23:57:09 -07:00
Rob Walker
407b2682e8
remove dead code
2018-09-24 23:12:09 -07:00
Pankaj Garg
0f4fd8367d
Add counters for channel pressure and time spent in TPU pipeline ( #1324 )
...
* Add counters for channel pressure and time spent in TPU pipeline
* Fixed failing tests
* Fix rust format issue
2018-09-24 17:13:49 -07:00
Greg Fitzgerald
747ba6a8d3
Boot BudgetState::last_error
2018-09-24 17:14:23 -06:00
Greg Fitzgerald
bb99fd40de
Update transaction status in the bank
...
This will allow jsonrpc to query the system to find out if a
recent transaction failed.
2018-09-24 17:14:23 -06:00
Greg Fitzgerald
e972d6639d
Return errors from BudgetProgram::process_transaction
2018-09-24 17:14:23 -06:00
Greg Fitzgerald
22e77c9485
Add a way of getting transaction errors out of the bank
2018-09-24 17:14:23 -06:00
Pankaj Garg
bc88473030
Increase wmem for kernel network memory usage ( #1323 )
...
- Validators were running out of kernel buffer while retransmitting
blobs
2018-09-24 13:02:56 -07:00
Greg Fitzgerald
95677a81c5
Pacify clippy
2018-09-24 13:36:31 -06:00
Greg Fitzgerald
ea37d29d3a
Pass Bank::process_transactions() a reference to the txs instead of moving them
2018-09-24 13:36:31 -06:00
sakridge
e030673c9d
Do a recv on join to prevent channel destruction ( #1320 )
...
before window thread join
2018-09-24 11:50:37 -07:00
sakridge
3e76efe97e
Fix bench compilation ( #1311 )
2018-09-24 10:40:42 -07:00
Stephen Akridge
f5a30615c1
Ignore replicator startup for now
2018-09-24 09:43:58 -06:00
Michael Vines
e5e325154b
Add --shell argument
2018-09-24 08:05:47 -07:00
Rob Walker
9e3d2956d8
remove last recycle?
2018-09-24 08:09:41 -06:00
jackcmay
26b1466ef6
Initial integration of dynamic contracts and native module loading ( #1256 )
...
* Integration of native dynamic programs
2018-09-23 22:13:44 -07:00
Jack May
a1f01fb8f8
revert is_some to not is_none, causes test failure
2018-09-23 17:09:18 -06:00
Jack May
b2be0e2e5e
fix clippy warning
2018-09-23 17:09:18 -06:00
Jack May
1a45587c08
fix clippy warnings
2018-09-23 17:09:18 -06:00
sakridge
3199f174a3
Add option to pass boot disk type to gce create ( #1308 )
2018-09-22 16:43:47 -07:00
Rob Walker
a51c2f193e
fix Rob and Carl crossing wires
2018-09-21 21:37:25 -07:00
Rob Walker
be31da3dce
lastidnotfound step 2: ( #1300 )
...
lastidnotfound step 2:
* move "record stage", aka poh_service into banking stage
* remove Entry.has_more, is incompatible with leader rotation
* rewrite entry_next_hash in terms of Poh
* simplify and unify transaction hashing (no embedded nulls)
* register_last_entry from banking stage, fixes #1171 (w00t!)
* new PoH doesn't generate empty ledger entries, so some fixes necessary in
multinode tests that rely on that (e.g. giving validators airdrops)
* make window repair less patient, if we've been waiting for an answer,
don't be shy about most recent blobs
* delete recorder and record stage
* make more verbost thin_client error reporting
* more tracing in window (sigh)
2018-09-21 21:01:13 -07:00
sakridge
54b407b4ca
Wait on blob fetch before window, Seems to fix instability ( #1304 )
...
also cleanup ledger.
2018-09-21 18:56:20 -07:00
Tyera Eulberg
e87cac06da
Request/reqwest improvements
...
- Use json macro to simplify request builds
- Add proxy option for reqwest to use TLS
- Add rpc port options for configured nodes
2018-09-21 18:06:20 -06:00
Tyera Eulberg
ad4fef4f09
Doc for rpc_port configuration
2018-09-21 18:06:20 -06:00
Tyera Eulberg
e3b3701e13
Add RPC port option to fullnode
2018-09-21 18:06:20 -06:00
Tyera Eulberg
9228fe11c9
Port Wallet to jsonrpc and fix tests
2018-09-21 18:06:20 -06:00
carllin
5ab38afa51
Changed the window_service in Replicator to send entries instead of blobs ( #1302 )
2018-09-21 16:50:58 -07:00
Rob Walker
e49b8f0ce7
Update poh_service.rs
2018-09-21 16:03:54 -07:00
carllin
c50ac96f75
Moved deserialization of blobs to entries from replicate_stage to window_service ( #1287 )
2018-09-21 16:01:24 -07:00
sakridge
a9355c33b2
Placeholder storage contract and replicator client ( #1286 )
...
* Add hooks for executing the storage contract
* Add store_ledger stage
Similar to replicate_stage but no voting/banking stuff, just convert
blobs to entries and write the ledger out
* Add storage_addr to tests and add new NodeInfo constructor
to reduce duplication...
2018-09-21 15:32:15 -07:00
Rob Walker
3dcee9f79e
Update poh_service.rs
2018-09-21 08:01:24 -07:00
Michael Vines
2614189157
cargo fmt
2018-09-20 19:46:20 -07:00
Michael Vines
beeb09646a
suppress warning: unused variable: recycler
2018-09-20 19:46:20 -07:00
Michael Vines
67f1fbab5f
Treat rustc warnings as errors in CI
2018-09-20 19:46:20 -07:00
Tyera Eulberg
c0e7e43e96
fixup! s/contract/program
2018-09-20 19:33:54 -07:00
Anatoly Yakovenko
9bfead2e01
s/contract/program
2018-09-20 19:33:54 -07:00
Greg Fitzgerald
6073cd57fa
Boot Recycler::recycle()
2018-09-20 17:08:51 -06:00
Michael Vines
5174be5fe7
Rename getAccount to getAccountInfo
2018-09-20 15:18:56 -07:00
Rob Walker
62a18d4c02
step one of lastidnotfound: record_stage->record_service, trim recorder to hashes ( #1281 )
...
step one of lastidnotfound
* record_stage->record_service, trim recorder to hashes
* doc updates, hash multiple without alloc()
cc #1171
2018-09-20 15:02:24 -07:00
Michael Vines
a6c15684c9
Avoid panicking invalid instructions
2018-09-20 14:08:39 -07:00
Michael Vines
5691bf557c
Handle bad account userdata better
2018-09-20 14:08:39 -07:00
Michael Vines
8f01f7cf21
Trace syscalls for more helpful logs
2018-09-20 14:08:39 -07:00
Michael Vines
bb8c94ad2c
Add getAccount JSON RPC request
2018-09-20 13:58:15 -07:00
Greg Fitzgerald
d98e35e095
Delete no longer used PaymentPlan trait
2018-09-20 14:22:45 -06:00
Greg Fitzgerald
3163fbad0e
Remove 'Plan' indirection since it's implied by BUDGET_CONTRACT_ID
2018-09-20 14:22:45 -06:00
Greg Fitzgerald
0172422961
Require a self-assigned account ID
2018-09-20 14:16:14 -06:00
Rob Walker
8ccfb26923
tests for my IP picker
2018-09-20 09:21:09 -07:00
Rob Walker
12a474b6ee
sort local interfaces before selecting one
2018-09-20 09:21:09 -07:00