Justin Starry
b78b1bbfa9
Improve bench-tps keypair generation ( #7723 )
...
* Improve bench-tps keypair generation
* Fix tests
* Fix move test
* cargo fmt
* Split up funding function into smaller functions
* Support restarting bench-tps without re-funding
* Change quick start logic and remove noisy log
2020-01-17 10:35:12 +08:00
sakridge
2e89ec9105
Don't keep generating transactions in non-sustained bench-tps mode ( #7577 )
2020-01-09 17:48:18 -08:00
Justin Starry
54f16ca2bf
clippy
2019-12-19 11:33:44 -07:00
Justin Starry
a096ade345
reduce error logging
2019-12-19 11:33:44 -07:00
Justin Starry
848fe51f3d
@sakridge feedback
2019-12-19 11:33:44 -07:00
Justin Starry
e82db6fc2f
Revert blockhash sleep
2019-12-19 11:33:44 -07:00
Justin Starry
4b3176a9a1
Tune bench-tps blockhash poller and stop panicking
2019-12-19 11:33:44 -07:00
Justin Starry
01f44f531e
Improve bench-tps stability ( #7537 )
...
* Improve bench-tps throughput
* Fix tests
* Fix more tests
* Fix move test
* Drop blockhash poll sleep interval
2019-12-18 23:50:17 -05:00
Tyera Eulberg
3513f4ee84
Rename drone to faucet ( #7508 )
2019-12-16 14:05:17 -07:00
Greg Fitzgerald
92d485dd4d
Cleanup ( #7176 )
...
* Drop serde error instances
These were no longer needed after ToPrimitive instances were
added.
* Rename last of _api crates
2019-11-29 13:50:32 -07:00
Jack May
6ec918fabb
Update Move support to accomadate Libra's changes to compiler behavior ( #6993 )
2019-11-18 16:47:01 -08:00
Justin Starry
9807f47d4e
Rename genesis block to genesis config ( #6816 )
2019-11-08 23:56:57 -05:00
Parth
5bd05fba09
require to
account signature ( #6658 )
...
* require to signature
* fixing invocation to create_account
* fix create_account references
* address review comment
* whacking bugs in tests
* fixing stake program tests
2019-11-08 15:57:35 +05:30
Tyera Eulberg
b3a75a60a4
Use rooted bank by default in rpc bank selection ( #6759 )
...
* Name anonymous parameters for clarity
* Add CommitmentConfig to select bank for rpc
* Add commitment information to jsonrpc docs
* Update send_and_confirm retries as per commitment defaults
* Pass CommitmentConfig into client requests; also various 'use' cleanup
* Use _with_commitment methods to speed local_cluster tests
* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests
* Restore solana ping speed
* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
carllin
0559212df7
log bench ( #6643 )
2019-10-30 19:51:44 -07:00
Rob Walker
b4119c454a
credit_only credits forwarding ( #6509 )
...
* credit_only_credits_forwarding
* whack transfer_now()
* fixup
* bench should retry the airdrop TX
* fixup
* try to make bench-exchange a bit more robust, informative
2019-10-23 22:01:22 -07:00
Rob Walker
e2c316d2d0
system_instruction_processor updates ( #6448 )
...
* zero lamport account creation
* whack create_user_account, take 2
* target->to
* ..
* ..
* update chacha golden
* update chacha golden
* ..
* ..
2019-10-19 18:23:27 -07:00
Tyera Eulberg
72d227ae91
Bench-tps: swap consts ( #6296 )
2019-10-09 16:31:30 -06:00
Rob Walker
7cf90766a3
add epoch_schedule sysvar ( #6256 )
...
* add epoch_schedule sysvar
* book sheesh!
2019-10-08 22:34:26 -07:00
sakridge
6123d2f9e8
Add print to bench-tps about blockhash time ( #6272 )
2019-10-08 11:34:10 -07:00
sakridge
5ef012b2c1
Tweak debug to remove unreadable datapoints ( #6060 )
2019-10-04 16:25:22 -07:00
Tyera Eulberg
aa3694cca8
Bench tps: improve fund_keys ( #6225 )
...
automerge
2019-10-04 01:16:07 -07:00
Tyera Eulberg
2c6599c73b
Bench-tps: flush tx queue when too old ( #6201 )
...
* Flush transaction VecDeque when hit old transactions
* Fixup too-old threshold
2019-10-01 15:43:36 -06:00
sakridge
75a92d58cb
Featureize move ( #5897 )
...
* Featureize move
* Add move featured test
2019-09-27 12:19:06 -07:00
carllin
86213d38fe
Release builds for local cluster tests ( #5891 )
...
* Release builds for test
* Remove setting thread count in local cluster
* Increase timeout
* Move local cluster to separate job
* Extract out local cluster test from bench-tps
* Make local cluster inaccessible from outside crate
* Update test-stable.sh to exclude local_cluster in stable, include it in local-cluster CI job
* Move bench-exchange to local cluster
* Remove local cluster from coverage
2019-09-18 13:10:50 -07:00
sakridge
772ee4b29d
Add num_lamports_per_account as a configurable argument ( #5869 )
2019-09-10 16:24:43 -07:00
Michael Vines
1f9fde5f7b
ThinClient internal name grooming ( #5800 )
2019-09-06 09:07:40 -07:00
Michael Vines
c3782082bc
Add retries to smooth over ThinClient internal experiments ( #5813 )
2019-09-06 07:24:04 -07:00
sakridge
9f354522a7
Make bench_tps_local_cluster tests serial ( #5762 )
...
-
2019-08-31 16:53:56 -07:00
sakridge
362a39a941
Don't unwrap get_balance immediately in bench-tps move mode ( #5685 )
...
automerge
2019-08-27 14:36:48 -07:00
Michael Vines
3450b9a44d
Rename solana to solana-core ( #5583 )
2019-08-21 10:23:33 -07:00
sakridge
238aa2133d
Move local_cluster tests into own crate ( #5465 )
2019-08-08 11:04:33 -07:00
sakridge
7911895b67
Improve bench-tps funding in move mode ( #5442 )
2019-08-07 08:55:01 -07:00
sakridge
c2fc0f2418
Plumb libra accounts to genesis ( #5333 )
...
* Plumb move_loader to genesis
* Remove core dependency on genesis-programs
2019-07-31 16:10:55 -07:00
sakridge
05f3437601
Handle paying for move transactions with unique solana system transactions ( #5317 )
2019-07-31 11:15:14 -07:00
Jack May
6d7cb23c61
Add command to create genesis accounts ( #5343 )
2019-07-30 23:43:12 -07:00
sakridge
4f1c881227
Add --use_move mode to bench-tps ( #5311 )
...
* Add --use_move mode to bench-tps
substitute for global flag.
* Use cuda queue for coverage build.
2019-07-28 10:43:42 -07:00
sakridge
a642168369
Add move to bench-tps ( #5250 )
2019-07-27 15:28:00 -07:00
Tyera Eulberg
417066ad30
Fix bench-tps funding math; make generate_keypairs() and fund_keys() algorithms consistent ( #4841 )
...
* Fix funding math; make generate_keypairs and fund_keys consistent
* Add test, and fix inconsistencies it exposes
* De-pow math, and use assert_eq in tests for better failure msgs
2019-07-01 18:32:03 -06:00
carllin
46bb79df29
Support for custom BroadcastStage in local cluster tests ( #4716 )
...
* Refactor BroadcastStage to support custom implementations, add FailEntryVerificationBroadcastRun implementation
* Plumb switch on broadcast type through validator
* Add test for validator generating non-verifiable entries to local_cluster
* Fix bad initializers
* Refactor broadcast run code into utils
2019-06-19 00:13:19 -07:00
Michael Vines
25908feef9
Fund accounts with the worst-case fee
2019-06-14 19:52:44 -07:00
sakridge
589a9d3a72
Create aligned number of keypairs so they all get funded ( #4685 )
2019-06-14 11:11:52 -07:00
sakridge
c1f316721a
Clean up some error handling ( #4667 )
...
Shouldn't call exit from a library function.
2019-06-12 15:01:59 -07:00
Pankaj Garg
fe40b75ac6
Bench TPS tweaks for transaction fees ( #4538 )
...
* use lamports_per_signature instead of hard coding it in bench client
2019-06-04 13:56:11 -07:00
Michael Vines
cfe5afd34c
_id => _pubkey variable renaming ( #4419 )
...
* wallet: rename *_account_id to *_account_pubkey
* s/from_id/from_pubkey/g
* s/node_id/node_pubkey/g
* s/stake_id/stake_pubkey/g
* s/voter_id/voter_pubkey/g
* s/vote_id/vote_pubkey/g
* s/delegate_id/delegate_pubkey/g
* s/account_id/account_pubkey/g
* s/to_id/to_pubkey/g
* s/my_id/my_pubkey/g
* cargo fmt
* s/staker_id/staker_pubkey/g
* s/mining_pool_id/mining_pool_pubkey/g
* s/leader_id/leader_pubkey/g
* cargo fmt
* s/funding_id/funding_pubkey/g
2019-05-23 23:20:04 -07:00
Michael Vines
94beb4b8c2
More fullnode -> validator renaming ( #4414 )
...
* s/fullnode_config/validator_config/g
* s/FullnodeConfig/ValidatorConfig/g
* mv core/lib/fullnode.rs core/lib/validator.rs
* s/Fullnode/Validator/g
* Add replicator-x.sh
* Rename fullnode.md to validator.md
* cargo fmt
2019-05-23 22:05:16 -07:00
sakridge
0b892b2579
Reduce 100ms to 1ms. ( #4412 )
...
automerge
2019-05-23 15:15:26 -07:00
Michael Vines
f079a78c5e
Remove fee arg from system_transaction::* ( #4346 )
...
automerge
2019-05-20 10:03:19 -07:00
Pankaj Garg
9476fe5ce3
Use log levels for datapoint metrics ( #4335 )
...
* Use log levels for datapoint metrics
* address review comments
* fix cyclomatic complexity
2019-05-17 17:34:05 -07:00
sakridge
035a364122
Add expect to get better errors on crash ( #4327 )
2019-05-17 12:49:41 -07:00