Michael Vines
094bc59553
refactor: reduce node_info scope
2019-01-12 10:28:38 -07:00
Jak May
e9a0b3a8f3
Add BPF-to-BPF and PC relative call tests ( #2395 )
2019-01-11 19:33:08 -08:00
Pankaj Garg
1724430489
Remove clippy override for cyclomatic complexity ( #2392 )
...
* Remove clippy override for cyclomatic complexity
* reduce cyclomatic complexity of main function
* fix compilation errors
2019-01-11 16:49:18 -08:00
Jak May
23c43ed21b
Multi-file BPF C builds ( #2393 )
2019-01-11 15:33:21 -08:00
Greg Fitzgerald
79b334b7f1
Don't use count_valid_ids in bench
2019-01-11 14:54:17 -07:00
Greg Fitzgerald
9328ee4f63
Revert "Revert "Delete unused code and its tests""
...
This reverts commit d6b3991d49
.
2019-01-11 14:54:17 -07:00
Pankaj Garg
d7594b19fc
Implemented a trait for vote signer service ( #2386 )
...
* Implemented a trait for vote signer service
* removes need for RPC in unit tests for vote signing
* fix build errors
* address some review comments
2019-01-11 12:58:31 -08:00
Michael Vines
d6b3991d49
Revert "Delete unused code and its tests"
...
This reverts commit e713ba06f1
.
2019-01-11 07:30:28 -08:00
dependabot[bot]
ec63bacdc1
Bump reqwest from 0.9.6 to 0.9.7
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.6 to 0.9.7.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.6...v0.9.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-10 23:23:38 -07:00
Greg Fitzgerald
e713ba06f1
Delete unused code and its tests
2019-01-10 23:19:38 -07:00
Greg Fitzgerald
37cb218437
Drop the serialization length
2019-01-10 17:05:03 -08:00
Greg Fitzgerald
4f79a8a204
Use serialized_size - less fragile
2019-01-10 17:05:03 -08:00
Greg Fitzgerald
7341298a11
Cleanup tpu forwarder ( #2377 )
...
* Use unwrap() on locks
An error there generally indicates a programmer error, not a
runtime error, so a detailed runtime message is not generally useful.
* Only clone Arcs when passing them across thread boundaries
* Cleanup TPU forwarder
By separating the query from the update, all the branches get easier to
test. Also, the update operation gets so simple, that we see it
belongs over in packet.rs.
* Thanks clippy
cute
2019-01-10 13:34:48 -07:00
dependabot[bot]
b9c27e3a9d
Bump rocksdb from 0.10.1 to 0.11.0 ( #2376 )
...
Bumps [rocksdb](https://github.com/spacejam/rust-rocksdb ) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/spacejam/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/rust-rocksdb/compare/v0.10.1...v0.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-10 11:12:06 -08:00
Greg Fitzgerald
885fe38c01
Move BloomHashIndex into its own module
...
This trait is for bloom, not crds.
Slightly better would be to put it in the SDK so that the trait
implementations could go into hash and pubkey, but if we don't
want compatibility constraints, this is the next best thing.
2019-01-10 10:22:16 -08:00
Pankaj Garg
2dbe8fc1a9
Refactor vote signer code ( #2368 )
...
* Refactor vote signer code
* fixed test compilation errors
* address clippy errors
* fix missing macro_use
* move macro use
* review comments
2019-01-10 09:21:38 -08:00
Sagar Dhawan
7122139e12
Rewrite TPU forwarder test ( #2344 )
2019-01-10 13:50:28 +05:30
Michael Vines
4e6c03c9da
Avoid holding a read lock during IO
2019-01-10 00:34:50 -07:00
Michael Vines
d5f27f9b1e
shellcheck
2019-01-09 22:06:58 -07:00
Michael Vines
86f19a3ab3
Propagate PS4 to prevent unintentional buildkite log unfolding
2019-01-09 22:02:31 -07:00
Michael Vines
be0eefb0af
Add timeout to prevent stuck bench-tps when a cluster goes bad
2019-01-09 19:21:53 -07:00
Michael Vines
c1cd92bbee
Avoid -d arg conflict
...
-D is now "delete"
-d is now "disk type"
2019-01-09 16:39:24 -08:00
Stephen Akridge
44b7684d56
Fix some instances of ledger to db_ledger
2019-01-09 16:33:37 -08:00
Stephen Akridge
0c90e1eff6
Make entry_sender optional on window_service
...
window_service in replicator has no need to consume the the produced entries.
2019-01-09 15:15:47 -08:00
Stephen Akridge
491bca5e4b
Remove ledger.rs
...
Split into entry.rs for entry-constructing functions and EntrySlice
trait and db_ledger.rs for ledger helper test functions.
2019-01-09 15:15:47 -08:00
Stephen Akridge
ebd676faaa
Rename Block to EntrySlice
2019-01-09 15:15:47 -08:00
Stephen Akridge
045c5e8556
Remove most of the old ledger code
...
Removes LedgerWriter, read_ledger, LedgerWindow
2019-01-09 15:15:47 -08:00
Stephen Akridge
45b4cf2887
Remove store_ledger_stage which is no longer needed
2019-01-09 15:15:47 -08:00
Michael Vines
4b5acc065a
Give the bootstrap leader one million tokens as a #2355 workaround
2019-01-09 13:30:20 -08:00
Stephen Akridge
73eca72f14
Switch test to send a repair request to try and download from replicator
...
Removes need for read_ledger in the test and also tests replicator
download path.
2019-01-09 13:24:12 -08:00
Michael Vines
28431ff22c
Add configurable RUST_LOG for ./net.sh sanity
2019-01-09 12:12:50 -08:00
Michael Vines
639bed2f6d
Reorder sanity.
...
1. Check for presence of nodes
2. Check for functioning RPC API
3. Then try the wallet
2019-01-09 12:05:30 -08:00
Michael Vines
77794eebdb
Remove |cargo package| sanity step
...
Unfortunately due to our multi-crate repo, as soon as
|./scripts/increment-cargo-version.sh| is run after a release, |cargo
package| will fail for crates that depend on other in-tree crates, as
the new crate version has not yet been published to crates.io.
For now this means that we need to continue flying blind and be prepared
to deal with minor publishing issues on each new release.
2019-01-09 11:59:24 -08:00
Michael Vines
eb37aa2bba
Kill monitoring scripts by process group to ensure a full shutdown
2019-01-09 11:59:01 -08:00
Michael Vines
048fe371aa
set -x for more detailed logs
2019-01-09 11:59:01 -08:00
Michael Vines
0b666ad9fd
De-dup error messages
2019-01-09 11:59:01 -08:00
Michael Vines
87c9af142f
Preserve config/ when skipSetup
2019-01-09 11:59:01 -08:00
Michael Vines
6b46c22b42
Use restart
2019-01-09 11:59:01 -08:00
Rob Walker
94494b64d7
whack commented out, obsolete, superceded test
2019-01-09 11:30:07 -08:00
Rob Walker
b648f37b97
encapsulate erasure_cf ( #2349 )
2019-01-09 10:21:55 -08:00
Michael Vines
78d3b83900
Remove vestigial vote account configuration from fullnode-config
2019-01-09 09:56:44 -08:00
jackcmay
56b6ed6730
Rerun build if any file in a directory has changed ( #2343 )
2019-01-09 09:56:23 -08:00
Michael Vines
e0c68bf9ad
docs: -z is a common option
2019-01-08 21:11:43 -08:00
Michael Vines
64ebd9a194
Add update-to-restart operation. Also try to update before restarting on sanity failures
2019-01-08 21:11:43 -08:00
Michael Vines
35fe08b3bc
Add update support
2019-01-08 21:11:43 -08:00
Michael Vines
aedab3f83f
Run sanity when previous ledger/setup is preserved
2019-01-08 21:11:43 -08:00
Michael Vines
5c87ddc80e
nit: hide echo
2019-01-08 21:11:43 -08:00
Greg Fitzgerald
f53810fcd2
Remove unused exit variable
...
The exit variable was only used by a test.
2019-01-08 20:22:31 -08:00
Michael Vines
56fa3a09c8
Surface the spy node's id, useful for log analysis
2019-01-08 17:43:41 -08:00
Tyera Eulberg
58bca04a3f
Couple edits
2019-01-08 17:44:09 -07:00