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
ad4fef4f09
Doc for rpc_port configuration
2018-09-21 18:06:20 -06:00
e3b3701e13
Add RPC port option to fullnode
2018-09-21 18:06:20 -06:00
9228fe11c9
Port Wallet to jsonrpc and fix tests
2018-09-21 18:06:20 -06:00
5ab38afa51
Changed the window_service in Replicator to send entries instead of blobs ( #1302 )
2018-09-21 16:50:58 -07:00
e49b8f0ce7
Update poh_service.rs
2018-09-21 16:03:54 -07:00
c50ac96f75
Moved deserialization of blobs to entries from replicate_stage to window_service ( #1287 )
2018-09-21 16:01:24 -07:00
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
3dcee9f79e
Update poh_service.rs
2018-09-21 08:01:24 -07:00
2614189157
cargo fmt
2018-09-20 19:46:20 -07:00
beeb09646a
suppress warning: unused variable: recycler
2018-09-20 19:46:20 -07:00
67f1fbab5f
Treat rustc warnings as errors in CI
2018-09-20 19:46:20 -07:00
c0e7e43e96
fixup! s/contract/program
2018-09-20 19:33:54 -07:00
9bfead2e01
s/contract/program
2018-09-20 19:33:54 -07:00
6073cd57fa
Boot Recycler::recycle()
2018-09-20 17:08:51 -06:00
5174be5fe7
Rename getAccount to getAccountInfo
2018-09-20 15:18:56 -07:00
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
a6c15684c9
Avoid panicking invalid instructions
2018-09-20 14:08:39 -07:00
5691bf557c
Handle bad account userdata better
2018-09-20 14:08:39 -07:00
8f01f7cf21
Trace syscalls for more helpful logs
2018-09-20 14:08:39 -07:00
bb8c94ad2c
Add getAccount JSON RPC request
2018-09-20 13:58:15 -07:00
d98e35e095
Delete no longer used PaymentPlan trait
2018-09-20 14:22:45 -06:00
3163fbad0e
Remove 'Plan' indirection since it's implied by BUDGET_CONTRACT_ID
2018-09-20 14:22:45 -06:00
0172422961
Require a self-assigned account ID
2018-09-20 14:16:14 -06:00
8ccfb26923
tests for my IP picker
2018-09-20 09:21:09 -07:00
12a474b6ee
sort local interfaces before selecting one
2018-09-20 09:21:09 -07:00
270fd6d61c
Fix compiler warnings
2018-09-20 09:47:36 -06:00
7b9c7d4150
Cleaned up find_leader_rotation function. Added testing for WriteStage find_leader_rotation_index() function ( #1276 )
2018-09-19 18:16:00 -07:00
55126f5fb6
Marked Tvu functionality in Fullnode as unused for now
2018-09-19 16:05:31 -07:00
431692d9d0
Use a Drop trait to keep track of lifetimes for recycled objects.
...
* Move recycler instances to the point of allocation
* sinks no longer need to call `recycle`
* Remove the recycler arguments from all the apis that no longer need them
2018-09-19 16:59:42 -06:00
6732a9078d
Clarify AfterTimestamp wire format
2018-09-19 13:28:35 -07:00
2981076a14
Add solana-upload-perf to parse json from bench and upload to influx ( #1166 )
2018-09-19 13:16:55 -07:00
5740ea3807
RFC 006: Wallet CLI
2018-09-19 12:10:53 -06:00
cd2d50e06c
Changed transition to restart Rpu rather than modify bank to prevent lock contention
2018-09-19 10:48:05 -06:00
8c8a4ba705
debugging commit
2018-09-19 10:48:05 -06:00
b10de40506
Made LEADER_ROTATION_INTERVAL settable so that integration tests don't time out
2018-09-19 10:48:05 -06:00
2030dfa435
Implement PR comments, tidy up
2018-09-19 10:48:05 -06:00
bfe64f5f6e
Added integration test for transitioning leader to validator to see that tpu pipeline can exit and restart a tvu. Fixed Tpu and broadcast stage so that exiting later stages in the pipeline also causes earlier stages to exit.
2018-09-19 10:48:05 -06:00
6d27751365
give fullnode ownership of state needed to dynamically start up a tpu or tvu for role transition
2018-09-19 10:48:05 -06:00
1fb1c0a681
added jointypes to the stages in the tpu involved in leader rotation
2018-09-19 10:48:05 -06:00
062f654fe0
formatted code
2018-09-19 10:48:05 -06:00
d3cb161c36
Added broadcast stage test for leader rotation exit
2018-09-19 10:48:05 -06:00
98b47d2540
Added check in broadcast stage to exit after transmitting last blob before leader rotation. Also added tests
2018-09-19 10:48:05 -06:00
f28ba3937b
Added check in write stage to exit when scheduled entry_height for leader rotation is detected
2018-09-19 10:48:05 -06:00
91cf14e641
Rewrote service trait join() method to allow thread join handles to return values other than ()
2018-09-19 10:48:05 -06:00
7601a8001c
Update reqwest requirement from 0.8.6 to 0.9.0
...
Updates the requirements on [reqwest](https://github.com/seanmonstar/reqwest ) to permit the latest version.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/commits/v0.9.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-19 10:47:02 -06:00
0ee6c5bf9d
Read multiple entries in write stage ( #1259 )
...
- Also use rayon to parallelize to_blobs() to maximize CPU usage
2018-09-18 21:45:49 -07:00
6dee632d67
Remove Signature from ApplySignature
2018-09-18 20:00:42 -07:00
51e5de4d97
Log specific send_transaction error messages
2018-09-18 16:17:08 -07:00
1f08b22c8e
Tweak log messages
2018-09-18 16:17:08 -07:00