90a4ab7e57
fixes issue #299
2018-07-09 14:50:14 -07:00
412e15fbdc
add test for populated window
2018-07-09 14:50:14 -07:00
ed0a590549
support an initial window filled with last up-to-WINDOW_SIZE blobs
2018-07-09 14:50:14 -07:00
71f05cb23e
Vet timestamp source from contract, not leader
...
Per @aeyakovenko, contracts shouldn't trust the network for
timestamps. Instead, pass the verified public key to the
contract and let it decide if that's a public key it wants
to trust the timestamp from.
Fixes #405
2018-07-09 08:40:07 -06:00
5f99657523
Remove last_time from bank
...
We had a test for this, but without `Bank::time_sources` (removed in the last
commit), there's no last_time that can be trusted.
2018-07-09 08:40:07 -06:00
587ae1bf3c
Remove time_sources from bank
...
I wrote this, but per
https://github.com/solana-labs/solana#code-coverage , if it doesn't
break a test, it's fair game to delete.
2018-07-09 08:40:07 -06:00
461dea69d9
Add SOLANA_METRICS_CONFIG environment variable
2018-07-07 19:40:09 -07:00
22c0e3cd54
Metrics v0.1
2018-07-07 19:40:09 -07:00
3ed9567f96
Remove exit variable from RequestStage
2018-07-05 17:32:41 -06:00
c4fa841aa9
Remove exit variable from respond [stage]
...
And drop the sender that feeds input to the responder.
2018-07-05 17:32:41 -06:00
f284af1c3d
Remove exit variable from WindowStage and retransmit [stage]
2018-07-05 17:32:41 -06:00
46602ba9c3
Remove exit variable from ReplicateStage
2018-07-05 17:32:41 -06:00
81477246be
Remove exit variable from VerifyStage
2018-07-05 17:32:41 -06:00
9bd63867aa
No longer need to ignore downstream send errors
...
By removing the exit variables, the downstream stages wait for
upstream stages to drop their senders before exiting.
2018-07-05 17:32:41 -06:00
d1c317fd5f
Remove exit variable from broadcast [stage]
2018-07-05 17:32:41 -06:00
cbd664ba4b
Remove exit variable from BankingStage
2018-07-05 17:32:41 -06:00
4bb7cefa15
Remove exit variable from WriteStage
2018-07-05 17:32:41 -06:00
82c86daa78
Exit write_stage on channel errors
2018-07-05 17:32:41 -06:00
b95db62be3
Handle errors consistently
...
Error handling is still clumsy. We should switch to something like
`error-chain` or `Result<T, Box<Error>>`, but until then, we can
at least be consistent across modules.
2018-07-05 17:32:41 -06:00
0f7fdd71cc
Remove executable bit from nat.rs
2018-07-05 17:32:41 -06:00
af1a7da0d5
Fix code comments
2018-07-05 17:32:41 -06:00
d698b3da3a
Revert tps_demo marker
2018-07-05 15:15:23 -06:00
6d275d571c
Clean up commented code
2018-07-05 15:15:23 -06:00
63acb82c87
Update drone airdrop test for tps_demo functionality
2018-07-05 15:15:23 -06:00
4d05b74314
Port solana-client-demo to clap crate for CLI arguments
2018-07-05 15:15:23 -06:00
37dd511356
Pass client.json location as argument
2018-07-05 15:15:23 -06:00
96c321da76
Update drone to allow TPS-sized airdrops
2018-07-05 15:15:23 -06:00
4701540cc9
Migrate solana-client-demo to use drone
2018-07-05 15:15:23 -06:00
f54615b4e3
UDP port for client demo in range
...
* This change will allow clients to run behind a firewall
with only certain port range opened for access
2018-07-05 10:17:35 -06:00
9c456b2fb0
Fixup the integration tests
2018-07-04 16:40:34 -06:00
77bf17064a
Add Service trait
...
Added a consistent interface to all the microservices.
2018-07-04 16:40:34 -06:00
44150b2e85
Remove unused crate from wallet CLI
2018-07-04 16:39:26 -06:00
8ec2fe15f3
Port solana-drone to clap crate for CLI arguments
2018-07-04 16:39:26 -06:00
687af3e3a4
Document source of magic net.core.rmem_max value
2018-07-04 14:24:01 -07:00
72ab83cd45
Collect timing metrics for CI jobs
2018-07-04 11:00:56 -07:00
4b07772e22
Add helper functions for reading entries
...
```rust
let entries = entry_writer::read_entries_from_str(entries_str).unwrap();
let entries_len = entries.len();
assert_eq!(entries_len, 7);
let bank = Bank::default();
bank.process_ledger(entries).unwrap();
assert_eq!(bank.transaction_count(), entries_len - 2);
```
2018-07-03 19:32:01 -06:00
22d2c962b2
ignore
2018-07-03 18:10:16 -06:00
e771d36278
Better logs
2018-07-03 18:10:16 -06:00
800c2dd370
make the leader append to the ledger file
2018-07-03 17:17:52 -06:00
f38842822f
Cleanup code duplication
2018-07-03 16:33:36 -06:00
88a6fb86bf
Clean up read_entries() and its usage
2018-07-03 16:33:36 -06:00
f6fe998ed4
Revert 1dd8c5ed36
...
Per @sakridge, this might cause a performance degradation. Need
to benchmark it.
2018-07-03 14:00:53 -06:00
16337d7c1e
unstable test
2018-07-03 14:00:39 -06:00
ae309f80f7
boot from file test
2018-07-03 14:00:39 -06:00
fa70b3bf70
split out files, fixed a bug @garious!
2018-07-03 14:00:39 -06:00
3a90f138b2
dynamit network test
...
* cleaned up fullnode api
* added debug_id to ReplicatedData and crdt for debugging
2018-07-03 14:00:39 -06:00
033f6dcbcb
Demote 'sorted leader' log
2018-07-03 08:24:28 -07:00
5d8b2f899a
Fix wallet doc
v0.7.0-beta
2018-07-02 19:21:03 -07:00
490205ab84
Fix sanity check
...
...that my last PR broke
2018-07-02 19:21:03 -07:00
2c0e704c82
Confirm the payment
2018-07-02 17:59:50 -07:00