Commit Graph

14668 Commits

Author SHA1 Message Date
Michael Vines
687af3e3a4 Document source of magic net.core.rmem_max value 2018-07-04 14:24:01 -07:00
Michael Vines
72ab83cd45 Collect timing metrics for CI jobs 2018-07-04 11:00:56 -07:00
Greg Fitzgerald
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
Anatoly Yakovenko
22d2c962b2 ignore 2018-07-03 18:10:16 -06:00
Anatoly Yakovenko
e771d36278 Better logs 2018-07-03 18:10:16 -06:00
Rob Walker
800c2dd370 make the leader append to the ledger file 2018-07-03 17:17:52 -06:00
Greg Fitzgerald
f38842822f Cleanup code duplication 2018-07-03 16:33:36 -06:00
Greg Fitzgerald
88a6fb86bf Clean up read_entries() and its usage 2018-07-03 16:33:36 -06:00
Greg Fitzgerald
f6fe998ed4 Revert 1dd8c5ed36
Per @sakridge, this might cause a performance degradation. Need
to benchmark it.
2018-07-03 14:00:53 -06:00
Anatoly Yakovenko
16337d7c1e unstable test 2018-07-03 14:00:39 -06:00
Anatoly Yakovenko
ae309f80f7 boot from file test 2018-07-03 14:00:39 -06:00
Anatoly Yakovenko
fa70b3bf70 split out files, fixed a bug @garious! 2018-07-03 14:00:39 -06:00
Anatoly Yakovenko
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
Michael Vines
033f6dcbcb Demote 'sorted leader' log 2018-07-03 08:24:28 -07:00
Greg Fitzgerald
5d8b2f899a Fix wallet doc v0.7.0-beta 2018-07-02 19:21:03 -07:00
Greg Fitzgerald
490205ab84 Fix sanity check
...that my last PR broke
2018-07-02 19:21:03 -07:00
Michael Vines
2c0e704c82 Confirm the payment 2018-07-02 17:59:50 -07:00
Michael Vines
253048f72d Only tune networking for leader/validator 2018-07-02 17:59:50 -07:00
Michael Vines
e09b8430ce Add |wallet reset| command 2018-07-02 17:59:50 -07:00
Michael Vines
9ae283dc3a Expose wallet.sh as a Snap program temporarily 2018-07-02 17:59:50 -07:00
Michael Vines
f95a79d145 Default to using testnet.s.c when running as a Snap 2018-07-02 17:59:50 -07:00
Greg Fitzgerald
0dabdfd48e Use zero to represent a nonexistent account
This also fixes a bug in the thin client where a nonexistent account
would have triggered a panic because we were using `balances[k]` instead
of `balances.get(key)`.

Fixes #534
2018-07-02 18:48:40 -06:00
Greg Fitzgerald
d2bb4dc14a Purge empty accounts 2018-07-02 18:48:40 -06:00
Michael Vines
b4dc180592 More quotes to pacify shellcheck 2018-07-02 16:41:22 -07:00
Michael Vines
263577773f Set client config directory correctly in a Snap 2018-07-02 16:41:22 -07:00
Michael Vines
7d708be121 Drone now grabs mint.json locally 2018-07-02 16:41:22 -07:00
Michael Vines
feb1669d39 Correct locate rsync when running as a Snap 2018-07-02 15:57:30 -07:00
Michael Vines
2cbfe41422 Abort nicer on drone connection failure 2018-07-02 15:57:30 -07:00
Michael Vines
b7653865b1 Support testnet.solana.com as first argument 2018-07-02 15:57:30 -07:00
Michael Vines
c72dced8fa Report error when an invalid confirmation signature or public key is provided 2018-07-02 15:57:30 -07:00
Anatoly Yakovenko
6feed5fd56 rebased 2018-07-02 16:34:49 -06:00
Anatoly Yakovenko
b8fe5ae076 rename server to fullnode 2018-07-02 16:34:49 -06:00
Anatoly Yakovenko
7e657d65f3 merged f2ab08c65e 2018-07-02 16:34:49 -06:00
Anatoly Yakovenko
a166bb816e wtfr 2018-07-02 16:34:49 -06:00
Anatoly Yakovenko
2952027d04 wtfr 2018-07-02 16:34:49 -06:00
Anatoly Yakovenko
430d9d9314 fixup! 2018-07-02 16:34:49 -06:00
Anatoly Yakovenko
fa247196c0 fullnode lib 2018-07-02 16:34:49 -06:00
Greg Fitzgerald
5d17c2b58f Return output receivers from each stage
Reaching into the stages' structs for their receivers is, in hindsight,
more awkward than returning multiple values from constructors. By
returning the receiver, the caller can name the receiver whatever it
wants (as you would with any return value), and doesn't need to
reach into the struct for the field (which is super awkward in
combination with move semantics).
2018-07-02 16:18:32 -06:00
Rob Walker
6ee45d282e some auto-detect of wallet commands 2018-07-02 15:51:12 -06:00
Michael Vines
cfc3bd0696 Add manual wallet sanity test 2018-07-02 14:38:01 -07:00
Michael Vines
3e0e09555a Undo UPnP UDP port binding 2018-07-02 14:38:01 -07:00
Michael Vines
1d8bb5144e Drop -demo suffix 2018-07-02 14:38:01 -07:00
Michael Vines
67e0100866 Bind to 0.0.0.0 2018-07-02 14:38:01 -07:00
Michael Vines
f2ab08c65e Reuse request UDP port for responses 2018-07-02 14:38:01 -07:00
Greg Fitzgerald
04a93050e7 No need to share a write lock across single-threaded methods 2018-07-02 15:25:16 -06:00
Michael Vines
03401041db Correct signature argument name 2018-07-02 11:24:13 -07:00
Michael Vines
6eac744a05 Only rsync leader.json once 2018-07-02 10:59:09 -07:00
Michael Vines
ae29e2085f Init env_logger 2018-07-02 10:59:09 -07:00
Michael Vines
7ce0b58af8 Document pkg-config dependency 2018-07-02 10:42:56 -07:00
Michael Vines
ea5663c0da Demote log 2018-07-02 10:28:43 -07:00