Greg Fitzgerald
e9b0e3cb9d
Move RpcSignatureStatus into its own module
...
And fixup some imports from previous commits.
2019-02-17 12:20:05 -07:00
dependabot[bot]
e42c95a327
Bump bincode from 1.1.1 to 1.1.2
...
Bumps [bincode](https://github.com/TyOverby/bincode ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/TyOverby/bincode/releases )
- [Commits](https://github.com/TyOverby/bincode/compare/v1.1.1...v1.1.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-16 13:58:37 -07:00
Greg Fitzgerald
c55ada2f26
Fix wallet test
2019-02-14 13:26:46 -07:00
Greg Fitzgerald
4e4a1643c4
Boot SystemInstruction::Spawn
2019-02-14 13:26:46 -07:00
dependabot[bot]
3849b8ece4
Bump bincode from 1.0.1 to 1.1.1 ( #2709 )
...
* Bump bincode from 1.0.1 to 1.1.1
Bumps [bincode](https://github.com/TyOverby/bincode ) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/TyOverby/bincode/releases )
- [Commits](https://github.com/TyOverby/bincode/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* update autocfg 0.1.1 => 0.1.2
2019-02-14 12:46:22 -06:00
Stephen Akridge
1e58c585d3
Add retry_get_balance function
...
clients don't need to know about json
2019-02-10 09:08:16 -08:00
Stephen Akridge
ed4e9febe0
Refactor wallet processing
...
Yuge functions
2019-02-10 09:08:16 -08:00
Michael Vines
c5a74ada05
leader_scheduler: remove bootstrap_height
2019-02-06 14:23:10 -08:00
Michael Vines
85c8af08b3
Link dangling program cuda features to the src/ crate
2019-02-01 12:42:46 -08:00
Greg Fitzgerald
dad0bfe447
Replace transaction traits with structs
...
Also:
* SystemTransaction::new -> new_account
* SystemTransaction::new_create -> new_program_account
2019-02-01 11:38:25 -08:00
dependabot[bot]
0e58023794
Bump serde_json from 1.0.37 to 1.0.38
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.37...v1.0.38 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-01 10:06:21 -07:00
Michael Vines
25f25d0f82
new_fullnode: don't return the genesis_block, nobody uses it
2019-01-29 17:51:07 -08:00
Michael Vines
bfaf5634a1
.unwrap() in tests instead of assert!()ing .is_ok() for a better failure message
2019-01-28 16:10:32 -08:00
Stephen Akridge
2262f279d5
Reduce boilerplate code with helper function to create
...
fullnode/bank/genesis
2019-01-28 13:48:58 -08:00
Greg Fitzgerald
1bae87d4b3
Add unit-test-friendly VoteSignerProxy constructor
2019-01-26 14:56:49 -07:00
Michael Vines
4bb6549895
Genesis block is now a json file
2019-01-25 09:05:15 -08:00
dependabot[bot]
06e3cd3d2a
Bump serde_json from 1.0.36 to 1.0.37
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.36...v1.0.37 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-25 03:34:06 -08:00
Tyera Eulberg
b7be5b9a7a
Add no-signer argument
2019-01-24 10:47:37 -08:00
Michael Vines
9a7082d0d5
Report stuck last_id in error message
2019-01-23 00:02:30 -08:00
Tyera Eulberg
cb23070dfe
Remove sleeps on fullnode spin-up in integration tests
2019-01-21 13:27:31 -07:00
Michael Vines
c7e5006bcf
Remove assert!()s that hide error codes, making failure debug harder
2019-01-21 10:36:56 -08:00
Stephen Akridge
1b15fd1da6
Fix build, add new parameter to new_with_bank
2019-01-18 15:07:46 -08:00
Stephen Akridge
1fd7bd7ede
Storage fixes
...
* replicators generate their sample values
* fixes to replicator block height logic
2019-01-18 13:05:35 -08:00
Tyera Eulberg
75e19f4f0f
Add build script
2019-01-17 12:38:04 -08:00
Tyera Eulberg
1a5bf0c689
Remove sleep
2019-01-17 12:38:04 -08:00
Tyera Eulberg
3e245f16c0
Add wallet deploy integration test
2019-01-17 12:38:04 -08:00
Tyera Eulberg
2698b7614b
Add wallet deploy unit tests, incl program test fixture
2019-01-17 12:38:04 -08:00
Michael Vines
a84b6bc7e4
Overhaul wallet rpc/drone command-line arguments
2019-01-17 08:36:05 -08:00
dependabot[bot]
590b88f718
Bump serde_json from 1.0.35 to 1.0.36
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.35...v1.0.36 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-16 15:57:01 -07:00
Tyera Eulberg
0d7b1a84cb
Remove unused timeout wallet arg and config field
2019-01-16 09:20:45 -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
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
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
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
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
Stephen Akridge
44b7684d56
Fix some instances of ledger to db_ledger
2019-01-09 16:33:37 -08:00
Michael Vines
e883117a7d
Add missing description field, required for crate publishing
2019-01-07 23:02:32 -08:00
Pankaj Garg
91bd38504e
Use vote signer service in fullnode ( #2009 )
...
* Use vote signer service in fullnode
* Use native types for signature and pubkey, and address other review comments
* Start local vote signer if a remote service address is not provided
* Rebased to master
* Fixes after rebase
2019-01-05 12:57:52 -08:00
Michael Vines
1f6346d880
De-dup ledgers - db_ledger is now the only ledger written to disk
2019-01-04 16:37:00 -08:00
Michael Vines
0a7e199c82
Don't follow the leader: assume drone runs on the network entrypoint
2019-01-04 15:58:42 -08:00
dependabot[bot]
5fbdc6450d
Bump serde_json from 1.0.33 to 1.0.34
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.33...v1.0.34 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-30 21:15:59 -08:00
Michael Vines
0e567381fb
v0.12.0
2018-12-19 17:03:28 -08:00
Michael Vines
fd562cb9e2
Rust 2018 cleanup
2018-12-14 21:57:15 -08:00
Michael Vines
8ba1aed5a3
Fix up tests
2018-12-14 19:32:04 -08:00
Michael Vines
8fcb7112ec
Fetch a new last_id to prevent DuplicateSignature errors during AccountInUse retries
2018-12-14 13:33:31 -08:00
Michael Vines
6ac466c0a4
Move src/logger.rs into logger/ crate to unify logging across the workspace
2018-12-14 13:10:43 -08:00
Michael Vines
d45fcc4381
Move src/wallet.rs into wallet/ crate
2018-12-14 12:15:18 -08:00