Sagar Dhawan
97d90b99e2
Describe Data-Plane fanout and distribution ( #2008 )
2019-01-16 21:38:10 +05:30
Pankaj Garg
03d4d1cb36
Store and resend votes if leader's TPU port is unknown ( #2438 )
...
* Store and resend votes if leader's TPU port is unknown
* fix build errors
* fix failing tests
2019-01-16 06:14:55 -08:00
Michael Vines
3282cb85ae
Refactor request_and_confirm_airdrop() to use send_and_confirm_tx()
2019-01-15 19:29:59 -08:00
Michael Vines
9354e797b6
Cleanly handle balance underflows
2019-01-15 19:29:59 -08:00
Michael Vines
3f9c2bc33b
Resend transactions a couple times before giving up
2019-01-15 16:07:32 -08:00
Michael Vines
4369c1a113
RPC port is no longer reset on leader-to-validator transition
2019-01-15 16:06:56 -08:00
Michael Vines
b1e57e2a30
Retry rpc requests on connection failures
...
Applied a blanket default retry count of 5, which seems like enough but
not excessive retries.
2019-01-15 15:30:10 -08:00
Michael Vines
4d9489aeb1
Use RPC endpoint of the provided network entrypoint rather than searching for the leader
2019-01-15 15:13:57 -08:00
Rob Walker
45c247fa5b
bloom for forking ( #2431 )
...
* bloom for forking
* clippy fixes
* remove bloom_hash_index
2019-01-15 13:56:54 -08:00
dependabot[bot]
4e2663023b
Bump nix from 0.12.0 to 0.13.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-15 14:35:22 -07:00
Pankaj Garg
fa4608a95d
Change leader rotation time to a multiple of ticks per block ( #2414 )
...
* Change leader rotation time to a multiple of ticks per block
* fix component dependencies
* review comments
2019-01-15 12:07:58 -08:00
Tyera Eulberg
fec47a09a9
Add test from drone business logic; remove flaky, mis-placed integration test
2019-01-15 12:53:09 -07:00
Rob Walker
022a97da99
revert revert of kill window ( #2427 )
...
* remove window code from most places
* window used only for testing
* remove unecessary clippy directives
2019-01-15 10:51:53 -08:00
dependabot[bot]
e9116736cd
Bump libc from 0.2.46 to 0.2.47
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.46 to 0.2.47.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.46...0.2.47 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-15 08:56:16 -07:00
dependabot[bot]
2b549e3af6
Bump hashbrown from 0.1.7 to 0.1.8
...
Bumps [hashbrown](https://github.com/Amanieu/hashbrown ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/Amanieu/hashbrown/releases )
- [Changelog](https://github.com/Amanieu/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/hashbrown/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-15 08:55:24 -07:00
Jak May
b2afd1ea0b
Bump rbpf to 0.1.9 ( #2422 )
2019-01-15 00:42:30 -08:00
Jack May
ef8e5b40b6
Use dep files and restore tests
2019-01-14 23:41:07 -08:00
Jack May
a6773ad442
Specify entrypoint when building rust programs
2019-01-14 20:13:01 -08:00
Jack May
c2add08efb
Move parameter to make flags variable
2019-01-14 20:12:06 -08:00
Michael Vines
a33c76a456
Remove JsonRpcRequestProcessor dependency
2019-01-14 17:39:31 -08:00
Michael Vines
11b1bd278a
Remove unused exit field
2019-01-14 17:39:12 -08:00
Michael Vines
e3a96ed3fc
Minor new cleanup
2019-01-14 16:04:29 -08:00
Rob Walker
447243f994
Revert "remove window code from most places" ( #2417 )
...
* Revert "Fix link to book in Local Testnet section (#2416 )"
This reverts commit 710c0c9980
.
* Revert "Add current leader information to dashboard (#2413 )"
This reverts commit f0300c1711
.
* Revert "remove window code from most places (#2389 )"
This reverts commit e3c0bd5a3f
.
2019-01-14 15:11:18 -08:00
Pankaj Garg
710c0c9980
Fix link to book in Local Testnet section ( #2416 )
2019-01-14 14:57:12 -08:00
Pankaj Garg
f0300c1711
Add current leader information to dashboard ( #2413 )
2019-01-14 14:20:05 -08:00
Rob Walker
e3c0bd5a3f
remove window code from most places ( #2389 )
...
* remove window code from most places
* window used only for testing
* remove unecessary clippy directives
2019-01-14 12:11:55 -08:00
Tyera Eulberg
8af61f561b
Improve Wallet coverage ( #2385 )
...
* Add trait for RpcRequestHandler trait for RpcClient and add MockRpcClient for unit tests
* Add request_airdrop integration test
* Add timestamp_tx, witness_tx, and cancel_tx to wallet integration tests; add wallet integration tests to test-stable
* Add test cases
* Ignore plentiful sleeps in unit tests
2019-01-14 00:10:03 -07:00
Michael Vines
780360834d
Iteration testing v0.1
2019-01-13 21:49:09 -08:00
Michael Vines
74e503da92
Hold an accounts_db read lock as briefly as possible to avoid deadlocking
2019-01-13 21:49:09 -08:00
Michael Vines
d28b643c84
localnet-sanity.sh now supports iterations testing
2019-01-13 21:49:09 -08:00
dependabot[bot]
dc1049a6e7
Bump serde_json from 1.0.34 to 1.0.35
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.34...v1.0.35 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-12 21:26:45 -07:00
dependabot[bot]
f965b3de46
Bump reqwest from 0.9.7 to 0.9.8
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.7 to 0.9.8.
- [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 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-12 12:44:00 -07:00
Michael Vines
eb54a4fe91
Update book URL
2019-01-12 11:08:29 -08:00
Michael Vines
5d3847d14d
Publish book from both the edge and beta channels
2019-01-12 11:08:29 -08:00
Michael Vines
5b92286568
Remove channel duplication
2019-01-12 11:08:29 -08:00
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