Greg Fitzgerald
4aedd3f1b6
Cleanup type aliases and imports
2018-06-27 15:06:18 -06:00
Greg Fitzgerald
bb89d6f54d
Get back to 500k transactions
2018-06-27 13:50:27 -07:00
Greg Fitzgerald
ed10841e3d
No longer spin up accounts for client-demo
...
Now that the Bank is single-threaded again, we can spin up new
accounts on the fly without concern of thread contention. Likewise,
we can send all transactions from a single account, which was also
problematic in the multi-threaded bank. Sending from one account will
also make client-demo straightforward to port to solana-drone.
2018-06-27 13:50:27 -07:00
Tyera Eulberg
6dac87f2a7
Add entry to snapscraft yaml; cleanup bash header
2018-06-27 13:01:29 -06:00
Tyera Eulberg
a167d0d331
CI cleanup
2018-06-27 13:01:29 -06:00
Tyera Eulberg
eed37820b5
Comments
2018-06-27 13:01:29 -06:00
Tyera Eulberg
124e1fa350
Bash scripts to go with simple-client-demo
2018-06-27 13:01:29 -06:00
Tyera Eulberg
ac40434cdf
Initial simple client demo commit
2018-06-27 13:01:29 -06:00
Rob Walker
39354c06f8
take multiple log files, allow restart of leader, validator
2018-06-27 11:41:25 -07:00
Michael Vines
faedb88de0
s/local/declare/g
2018-06-26 19:11:31 -07:00
Michael Vines
5cd1fb486f
Automatically add rsync:// prefix to URLs that need it
2018-06-26 17:45:53 -07:00
Rob Walker
5b5df49e6c
make client.sh behave like the others, i.e. no tee to a log
2018-06-26 17:02:24 -07:00
Michael Vines
86f9277e2d
Add USE_SNAP flag
2018-06-26 16:32:55 -07:00
Greg Fitzgerald
56b09bf0ac
cargo fmt
2018-06-26 16:51:07 -06:00
Stephen Akridge
f4c4b9df9c
Only free in replicate if we did not hold the reference in window stage
...
And then free when we are consuming blobs
2018-06-26 16:51:07 -06:00
Greg Fitzgerald
6e568c69a7
Preemptive strike
...
Should that blob have been passed to a recycler, it would have
had too high a reference count.
2018-06-26 16:51:07 -06:00
Greg Fitzgerald
14d624ee40
Fix benchmarks too
...
This change will make these benchmarks way slower, because its now
cloning the transaction vector each iteration instead of the ref
counts. We need to rethink these.
2018-06-26 16:51:07 -06:00
Greg Fitzgerald
d5c0557891
Fix test_replicate too
2018-06-26 16:51:07 -06:00
Greg Fitzgerald
1691060a22
Assert recycler is given last reference to data
...
This patch likely fixes the sporadic failures in the following tests:
```
test server::tests::validator_exit ... FAILED
test streamer::test::streamer_send_test ... FAILED
test thin_client::tests::test_bad_sig ... FAILED
test drone::tests::test_send_airdrop ... FAILED
test thin_client::tests::test_thin_client ... FAILED
```
2018-06-26 16:51:07 -06:00
Rob Walker
a5ce578c72
...
2018-06-26 16:23:41 -06:00
Greg Fitzgerald
05edfad13a
Fix compiler warnings
2018-06-26 15:03:15 -07:00
Greg Fitzgerald
136b43f461
Fix whitespace
...
TODO: Why didn't "cargo fmt" fail the build.
2018-06-26 15:03:15 -07:00
Rob Walker
ac40c1818f
..
2018-06-26 13:57:10 -07:00
Rob Walker
eb63dbcd2a
an Entry needs to be multiple of 4 bytes long
2018-06-26 13:57:10 -07:00
Rob Walker
4e2f1a519e
whack next_entries_batched
2018-06-26 13:57:10 -07:00
Rob Walker
55ec7f9fe9
add entry.has_more
...
* quick fix for really big genesis
* longer term fix for possible parallel verification over multiple
Blobs/Entries
2018-06-26 13:57:10 -07:00
Michael Vines
b7ddefdbf9
Empty plug array is not accepted by the snap store
2018-06-26 12:49:40 -07:00
Michael Vines
ce361c2cdc
Add Snap fullnode daemon
2018-06-26 12:32:33 -07:00
Michael Vines
ed6ba55261
Add snap/ README
2018-06-26 12:32:33 -07:00
Michael Vines
ec333d2bd6
Revert "-v was renamed to -t"
...
This reverts commit 8f4ce1e8d0
.
2018-06-26 12:32:33 -07:00
OEM Configuration (temporary user)
551f639259
Some pull request fixes(linting + documentation)
2018-06-26 12:31:04 -06:00
OEM Configuration (temporary user)
da3bb6fb93
ran linter
2018-06-26 12:31:04 -06:00
OEM Configuration (temporary user)
08bcb62016
added remote table to update respones
2018-06-26 12:31:04 -06:00
Michael Vines
8f4ce1e8d0
-v was renamed to -t
2018-06-25 20:48:26 -07:00
Greg Fitzgerald
4a534d6abb
Don't clone() Arc before recycling
...
This might fix an awful bug where the streamer reuses a Blob
before the current user is done with it. Recycler should probably
assert ref count is one?
* Also don't collect() an iterator before iterating over it.
2018-06-25 17:33:07 -06:00
Stephen Akridge
b48a8c0555
Chunk blobs into window size to avoid window overrun
...
Fixes #447
2018-06-25 17:33:07 -06:00
Rob Walker
1919ec247b
add a clock to validator windows (part 3 of #309 ) ( #448 )
...
* count entries processed by Bank
* initialize windows with initial height of Entries
2018-06-25 15:07:48 -07:00
Rob Walker
3966eb5374
support MacOS bash and ifconfig properly
2018-06-25 13:14:36 -06:00
Stephen Akridge
c22ef50cae
Client fixes, poll for unique last id and cache clients
...
So we don't keep running up the port range
2018-06-25 10:02:29 -06:00
Michael Vines
be5f2ef9b9
Consolidate CI jobs
2018-06-24 22:28:24 -07:00
Greg Fitzgerald
adfcb79387
Force install cargo-cov
2018-06-24 15:34:30 -06:00
Greg Fitzgerald
73c4c0ac5f
Revert "cargo-cov installed by default in nightly?"
...
This reverts commit 6fc601f696
.
2018-06-24 15:34:30 -06:00
Greg Fitzgerald
6fc601f696
cargo-cov installed by default in nightly?
2018-06-24 12:17:42 -06:00
Greg Fitzgerald
07111fb7bb
Use llvm-cov instead of gcov
...
@marco-c called this a hack, but since grcov isn't working
out-of-the-box (panics on call to gcov), we'll take a stab at using
llvm-cov.
2018-06-24 12:17:42 -06:00
Greg Fitzgerald
a06d2170b0
No need for rustfmt on nightly
2018-06-24 12:17:42 -06:00
Greg Fitzgerald
7f53ea3bf3
Generate coverage with Rust nightly
...
Fixes #177
Thanks @marco-c!
2018-06-24 12:17:42 -06:00
Michael Vines
b2accd1c2a
Run snap build sooner to better mask the delay
2018-06-24 10:24:32 -07:00
Anatoly Yakovenko
8ef8a8dea7
borrow checker
2018-06-24 11:17:55 -06:00
Anatoly Yakovenko
e929404676
comments
2018-06-24 11:17:55 -06:00
Anatoly Yakovenko
c2258bedae
fixed!
2018-06-24 11:17:55 -06:00