Commit Graph

4877 Commits (e124fe50e68a528acc102646da60d8660941bfd6)

Author SHA1 Message Date
David Núñez e124fe50e6 Merge remote-tracking branch 'upstream/master' into biznaga
Fix conflicts in nucypher stake and nucypher-deploy
2019-10-22 22:53:23 +02:00
David Núñez a4b32c088c
Merge pull request #1402 from cygnusv/allocation-registry
Auto-detect HW accounts in TransactingPower. Finalize basic staking via contract CLI functionality.
2019-10-22 15:05:36 +02:00
David Núñez d2de49cd43 Improve clarity of IndividualAllocation template parsing. Additional sanity checks. 2019-10-21 22:30:38 +02:00
Michael Egorov 12ec0b6f75
Merge pull request #1430 from michwill/nonce-pending
Include pending transactions when calculating a nonce
2019-10-21 20:17:05 +02:00
David Núñez 8346a86bb6
Merge pull request #1432 from mswilkison/docs-hotfix
Python 3.8 not supported; remove --sync
2019-10-21 19:57:44 +02:00
MacLane Wilkison 9ca3b7370c Python 3.8 not supported; remove --sync 2019-10-21 10:41:01 -07:00
damon c df1895ccc2
Merge pull request #1417 from derekpierre/cli-commands
Improve CLI commands to better detect invalid option/commands and provide context-specific help
2019-10-21 07:54:04 -07:00
derekpierre e84f3b56a7 RFC changes based on reviews for PR 1417. 2019-10-21 09:27:23 -04:00
David Núñez 0fa3c13c7b
Merge pull request #1393 from mswilkison/docker-docs
Docker installation instructions in top-level docs
2019-10-21 08:38:15 +02:00
MacLane Wilkison 1b78a0f4ac Respond to RFCs 2019-10-20 19:36:06 -07:00
Michael Egorov 866cd98648
Include pending transactions when calculating a nonce 2019-10-20 19:26:32 +02:00
David Núñez c157a51312 RFCs to PR #1402 (vol 2) 2019-10-20 00:29:45 +02:00
David Núñez e4dee87d58 Optionally paint inactive stakes too with nucypher stake list --all 2019-10-19 23:59:42 +02:00
David Núñez 818f72d4ea Fix incorrect dates shown on stake creation 2019-10-19 23:59:42 +02:00
David Núñez b187238fbc `nucypher stake list` now only shows active stakes. Fix #1418. 2019-10-19 23:59:42 +02:00
David Núñez 9fe7fb1eb1 Enrich utils.datetime_at_period to return datetime at start of period 2019-10-19 23:59:42 +02:00
David Núñez d0629dfaa1 Prettify output of nucypher stake accounts 2019-10-19 23:59:42 +02:00
David Núñez e71aa0ff8b Add some basic output to nucypher stake collect-reward 2019-10-19 23:59:42 +02:00
David Núñez 0b2325131f Lexicographical order to output of nucypher stake list and nucypher stake accounts 2019-10-19 23:59:42 +02:00
David Núñez 0a3683286d RFCs to PR #1402 2019-10-19 23:59:42 +02:00
David Núñez ebe4e39ea0 Accomodate staking guide to latest changes to CLI staking via contract 2019-10-19 23:59:42 +02:00
David Núñez 377eb0dcf9 Test IndividualAllocationRegistry. Fix some broken stuff. 2019-10-19 23:59:37 +02:00
David Núñez edd12f5d66 Better error message for failed keyring unlocking due to bad password 2019-10-19 23:59:37 +02:00
David Núñez 09591a1a78 Simplify UX of CLI when staking via contract
* Remove --escrow flag
* No account selection; use individual allocation file or explicit addresses
2019-10-19 23:59:37 +02:00
David Núñez f8b75efd67 Use IndividualAllocation in StakeHolder and Staker.
...phew, much better!
2019-10-19 23:59:36 +02:00
David Núñez 7141efd8e9 Create individual allocation file with beneficiary and contract address 2019-10-19 23:59:36 +02:00
David Núñez 6b511c6157 First pass at CSV summary of deployed allocation 2019-10-19 23:59:36 +02:00
David Núñez bc7ee9e54f Write allocation template file when deploying allocations 2019-10-19 23:59:36 +02:00
David Núñez 3f302cdbad Introduce IndividualAllocationRegistry, constructed from published ABI 2019-10-19 23:59:36 +02:00
David Núñez d363108661 Stake should be the locked tokens, not locked + rewards. Fix #1369 2019-10-19 23:59:36 +02:00
David Núñez 2c2288bf55 Learning: check min stake size, accept stake for next period. Fix #1115 2019-10-19 23:59:36 +02:00
David Núñez d968cdd848 Add account selection to collect-reward. Complete tests for stake via contract. 2019-10-19 23:59:30 +02:00
David Núñez 8e2bb3e217 Don't use a ContractAdministrator for painting nucypher-deploy inspect 2019-10-19 22:54:24 +02:00
David Núñez 5ca663ef3f Use listWallets to ascertain if account is from a device. Fix #1385. Fix #1128. 2019-10-19 22:49:44 +02:00
David Núñez 9ae408056d Add support to personal_listWallets endpoint in Geth client 2019-10-19 22:49:44 +02:00
szotov 0976b2bcbe Added prolongStake to PreallocationEscrow 2019-10-19 22:48:47 +02:00
szotov d8621c17be Fixed tests after renaming 2019-10-19 22:48:47 +02:00
szotov dd0be915c4 Rename UserEscrow in python 2019-10-19 22:48:47 +02:00
szotov 7d445203ea UserEscrow renaming in contracts 2019-10-19 22:48:47 +02:00
szotov 2e205d03d5 UserEscrow refactoring 2019-10-19 22:48:47 +02:00
David Núñez 3515dad296 Fixes to assorted comments: docs, tests, etc. 2019-10-19 22:48:47 +02:00
David Núñez 8433316b0d Better integration of registry when selecting accounts and logging 2019-10-19 22:48:47 +02:00
David Núñez f2e10106ef Workaround for #1385. Better logs when activating TransactingPowers 2019-10-19 22:48:47 +02:00
David Núñez 91a5db16bb Update staking guide with instructions for staking via contract 2019-10-19 22:48:47 +02:00
David Núñez cfe6504393 More tests for staking via contract: set-worker, restake. Assorted fixes 2019-10-19 22:48:47 +02:00
David Núñez 508577e902 Handle restaking operations in UserEscrowAgent. Use this in Staker. 2019-10-19 22:48:47 +02:00
David Núñez 0da70c8982 Allocation users can now set worker, detach worker and re-stake 2019-10-19 22:48:47 +02:00
David Núñez d6f76c5d93 Introduce action for handling client accounts with support for allocation users 2019-10-19 22:48:47 +02:00
David Núñez 0c4ce00d16 CLI tests for staking via a UserEscrow contract
* Based on tests/cli/ursula/test_stakeholder_and_ursula.py
2019-10-19 22:48:47 +02:00
David Núñez 11c8be9b6d Fix bug in UserEscrowProxy that prevented UserEscrow to stake all its tokens 2019-10-19 22:48:47 +02:00