Rob Walker
814af378a7
stake cooldown ( #5553 )
...
* stake cooldown
* fixups
* sheesh
2019-08-17 18:12:30 -07:00
Michael Vines
d853b20d7f
Remove airdrop balance (in)sanity checks ( #5542 )
2019-08-16 15:23:59 -07:00
Michael Vines
b28407d98a
Permit keypair for deactivate-stake vote pubkey too ( #5544 )
...
automerge
2019-08-16 15:06:59 -07:00
Michael Vines
d925902b3f
Set default wallet/validator-info url to localhost ( #5537 )
...
automerge
2019-08-16 10:22:22 -07:00
Tyera Eulberg
e4519d6447
Use check_unique_pubkeys helper to prevent DuplicateAccountIndex errors earlier ( #5532 )
2019-08-15 14:16:05 -06:00
Michael Vines
2b219228ce
Add wallet ping command ( #5508 )
2019-08-12 21:33:13 -07:00
Tyera Eulberg
b6151b5200
Solana-wallet: prevent duplicate pubkeys ( #5497 )
...
* Add helper function to compare wallet pubkey args for uniqueness
* Fix test
2019-08-12 14:01:55 -06:00
Tyera Eulberg
c68ebbb0a6
Parse system custom errors ( #5494 )
2019-08-12 14:00:55 -06:00
Michael Vines
c8c0815144
Permit keypair files for create-validator-storage-account
2019-08-10 13:16:06 -07:00
Michael Vines
958c345f0c
Add show-account command ( #5485 )
2019-08-09 22:48:57 -07:00
Tyera Eulberg
9ee5f36068
Solana-wallet: print JSON RPC endpoint ( #5482 )
...
* Print RPC endpoint in use
* Fixup wallet-sanity
2019-08-09 20:23:53 -06:00
Tyera Eulberg
4090600717
Remove deprecated arg ( #5479 )
...
automerge
2019-08-09 15:02:27 -07:00
Tyera Eulberg
8a4179da67
Add balance check to all wallet transactions ( #5474 )
...
* Add payer balance check to all wallet transactions
* Fix tests
2019-08-09 15:52:06 -06:00
Rob Walker
07a049aa59
include vote account in deactivate ( #5476 )
2019-08-09 12:55:21 -07:00
Tyera Eulberg
e1e295e1b6
Solana-wallet: enable keypair use for pubkey args ( #5470 )
...
* Make clap value_names more verbose for positional args
* Update clap validation to check for pubkey|keypair file
* Update helper functions to process pubkey|keypair file
* Add parse pubkey|keypair file test
* Fix vote-account instruction
* Fix vote-account instruction moar
2019-08-08 18:10:09 -06:00
Tyera Eulberg
4ae48b56f3
Add cluster-version subcommand to return entrypoint versions ( #5464 )
2019-08-08 11:13:06 -06:00
Michael Vines
c7710fdd24
Add wallet get-slot command and document how to use it ( #5424 )
...
* Add wallet get-slot command and document how to use it
* ,
2019-08-05 13:17:03 -07:00
Michael Vines
ccc0f2d956
show-stake-account now works for reward pool accounts ( #5416 )
...
automerge
2019-08-02 17:15:26 -07:00
Michael Vines
6f269e5a0e
Improve error messages when a vote account is rejected for delegation ( #5407 )
2019-08-02 10:09:09 -07:00
Michael Vines
0f5acb86d3
wallet: Refuse to delegate stake to a vote account with a stale root slot ( #5282 )
...
* Refuse to delegate stake to a vote account with a stale root slot
* Remove sdk-c from the virtual manifest temporarily
For an unknown reason |cargo clippy| is getting stuck in CI
intermittently when trying to build this crate.
2019-08-01 21:08:24 -07:00
Michael Vines
feaf29792f
Error cleanly on show vote/stake/storage account pubkey mismatch ( #5289 )
...
Also deverb vote/stake account variables
2019-07-26 09:34:12 -07:00
Michael Vines
d1eff5d607
Merge create-stake-account into delegate-stake ( #5280 )
2019-07-25 16:53:43 -07:00
Rob Walker
027ebb6670
no more OUT_DIR ( #5139 )
...
* no more OUT_DIR
* no more OUT_DIR
* more information about failure
2019-07-17 14:27:58 -07:00
Michael Vines
6accf21229
Add epoch voting history to show-vote-account ( #5080 ) ( #5085 )
...
automerge
2019-07-12 22:01:12 -07:00
Rob Walker
0d27515d09
tmp dirs target to farf ( #5079 )
2019-07-12 18:28:42 -07:00
Rob Walker
12ef0c25b5
change vote commission to u8 (from u32) ( #4887 )
...
automerge
2019-07-02 14:18:11 -07:00
Sagar Dhawan
11992946a4
Add storage reward pools ( #4779 )
2019-06-22 17:18:35 -07:00
Pankaj Garg
405ca1bcb2
Add instructions and processor for stake deactivation ( #4781 )
...
automerge
2019-06-21 23:45:03 -07:00
Pankaj Garg
b7f169e06e
Program instruction to withdraw un-staked lamports from stake account ( #4780 )
2019-06-21 22:28:34 -07:00
Rob Walker
a49f5378e2
rewrite vote credits redemption to eat from rewards_pools on an epoch-sensitive basis ( #4775 )
...
* move redemption to rewards pools
* rewrite redemption, touch a few other things
* re-establish test coverage
2019-06-21 20:43:24 -07:00
Rob Walker
0ff9c4cd8e
add stake warmup and cool down ( #4711 )
2019-06-17 19:34:21 -07:00
Rob Walker
4c6a6d63bf
add MiningPools, fund validator MiningPools from inflation ( #4676 )
...
* add MiningPool fund validator MinigPools from inflation
* fixup
* finish rename of MINIMUM_SLOT_LENGTH to MINIMUM_SLOTS_PER_EPOCH
* deterministic miningpool location
* point_value, not credit_value... use f64
2019-06-14 11:38:37 -07:00
Sagar Dhawan
b1ac8f933b
Fix storage program space issues and limit storage transaction data ( #4677 )
2019-06-13 17:53:54 -07:00
Sagar Dhawan
8019bff391
Fixes for storage program and rework storage stage ( #4654 )
...
automerge
2019-06-11 18:27:47 -07:00
Rob Walker
a18c0e34f4
add activate_stake to stake_api ( #4600 )
2019-06-10 12:17:29 -07:00
Michael Vines
002fbc4d53
Add |wallet fees| subcommand for easy viewing of the current cluster fees ( #4596 )
2019-06-07 13:11:56 -07:00
Sagar Dhawan
de5cad9211
Add account owner to Storage Accounts ( #4537 )
...
* Add account owner to Storage Accounts
* Fix tests
2019-06-04 14:52:52 -07:00
Rob Walker
c56052ff16
remove from_account from stake_instruction ( #4502 )
2019-06-03 09:04:51 -07:00
Rob Walker
028e111fbc
remove payer from vote instructions ( #4475 )
2019-05-31 11:45:17 -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
b37d2fde3d
Add storage mining pool ( #4364 )
...
* Add storage mining pool
* Set gossip port
* Add create-storage-mining-pool-account wallet command
* Add claim-storage-reward wallet command
* Create storage account upfront
* Add storage program to genesis
* Use STORAGE_ACCOUNT_SPACE
* Fix tests
* Add wallet commands to create validator/replicator storage accounts
* Add create_validator_storage_account()
* Storage stage no longer implicitly creates a storage account
2019-05-23 14:50:23 -07:00
Rob Walker
58295b825d
introduce syscalls ( #4373 )
2019-05-21 15:19:41 -07:00
Michael Vines
6374e69a69
Add mining pool wallet commands ( #4360 )
...
automerge
2019-05-21 07:32:38 -07:00
Rob Walker
86e03a6d1b
support issuing vote instructions from system account ( #4338 )
...
* issue vote instructions from system account
* fixup
* bring back KeypairUtil
2019-05-20 13:32:32 -07:00
Michael Vines
f079a78c5e
Remove fee arg from system_transaction::* ( #4346 )
...
automerge
2019-05-20 10:03:19 -07:00
Rob Walker
39e85a3e53
kill some bs58 ( #4316 )
...
* kill some bs58
* fixup
2019-05-16 21:43:18 -07:00
Michael Vines
a2e3a92b01
Extend GetBlockHash RPC API to include the fee scehdule for using the returned blockhash ( #4222 )
2019-05-13 12:49:37 -07:00
Rob Walker
ba8f49366d
passive staking 4 ( #4240 )
...
* support passive staking with wallet, use it
* fixups
* clippy
* cleanup app generation in wallet, finish fullnode.sh staking
* _id and _keypair => pubkey
use keygen, not wallet to get pubkey
* found 'em
2019-05-09 19:31:42 -07:00
Michael Vines
1e949caa7f
Move airdrop retries fully out of bash ( #4234 )
...
automerge
2019-05-09 09:48:27 -07:00
Michael Vines
d9e18a71ec
Pay program loading fees from a system account ( #4190 )
2019-05-07 15:00:54 -07:00