Commit Graph

3548 Commits (2d518f8e625e22229037431e6e2f496d4f8327dc)

Author SHA1 Message Date
Kieran Prasch 2d518f8e62
Currency -> Token; Improve readability of blockchain constants 2019-03-18 12:31:08 -07:00
David Núñez d906ab699d Update docs to latest changes in `nucypher ursula stake` 2019-03-18 12:52:31 +01:00
David Núñez 8b4d71b55b
Respond to RFCs in PR #830; Merge Suggestions.
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2019-03-17 17:27:53 -07:00
Kieran Prasch 091adbae71
Move NU and Stake to currency.py 2019-03-17 12:47:35 -07:00
Kieran Prasch 24d346069d
Several more assertions for mixed-types NU.__init__ 2019-03-17 11:50:08 -07:00
Kieran Prasch 43da620732
Use scientific notation in stake confirmation messages for NU-wei values. 2019-03-15 10:27:08 -07:00
Kieran Prasch c069b0a2f9
Dont reinvent eth_utils! Port NU conversions to implement eth-utils to/from wei interfaces. 2019-03-15 09:55:45 -07:00
David Núñez f5eed5d787
Testing some edge cases for the NU class 2019-03-15 08:17:53 -07:00
Kieran Prasch b29a32e1a4
Docstrings and type hints for nucypher blockchin utils NU and Stake 2019-03-14 19:51:22 -07:00
Kieran Prasch 01bb9c1ef4
Upgrade to a dictionary for Ursula stake tracking. 2019-03-14 19:32:06 -07:00
Kieran Prasch 95c4cfe974
Dont update local stake cache in read-only operations 2019-03-14 16:50:11 -07:00
Kieran Prasch b68fb2a8b7
Divide stake tests reflect NU Implementation 2019-03-14 16:36:09 -07:00
Kieran Prasch d1dd66e27c
Port lower-level stake validators to us NU 2019-03-14 16:35:24 -07:00
Kieran Prasch f3b909a483
Ensure local stake cahce state is up to date 2019-03-14 16:34:48 -07:00
Kieran Prasch 9865eabdf5
Integrate click types, Stakes, and NU values in existing CLI tooling. 2019-03-14 14:29:29 -07:00
Kieran Prasch 79ca05605d
Baseline tests for NU and Stake classes 2019-03-14 13:38:21 -07:00
Kieran Prasch 215bf5ad7f
Denomination management implementation with NU and Web3. 2019-03-14 13:38:19 -07:00
Kieran Prasch 8d24026acd
NU token and Stake classes: Draft. 2019-03-14 13:29:38 -07:00
Kieran Prasch 60e8611bab
Enforce CLI-level validation against staking values while dividing; Fix incorrect stake division duration/ext. 2019-03-14 11:25:36 -07:00
Kieran Prasch ad1b62342b
Respond to RFCs in PR #805 pt. III 2019-03-14 09:47:02 -07:00
Kieran Prasch c939eb418a
Add paintStakes to Ursula REPL 2019-03-12 17:27:24 -07:00
Kieran Prasch c30e75dcce
Ensure staking loop starts on Miner.init when there are stakes. 2019-03-12 16:52:31 -07:00
Kieran Prasch 928a402fdc
Deploy then stake example script 2019-03-12 14:56:08 -07:00
Kieran Prasch acccdc23b4
Staking and deployment documentation drafting 2019-03-12 14:55:38 -07:00
Kieran Prasch b21e257110
Divide stake UX &Shared console painting utils 2019-03-11 22:37:08 -07:00
Kieran Prasch ec0104c444
Console painting for stake staging 2019-03-11 19:24:21 -07:00
Kieran Prasch 8a89f05e4a
Allow Ursula operation after deployment; Use etherbase as default init address as to avoid confusing implicit federated operation. 2019-03-11 17:02:03 -07:00
Kieran Prasch 0bced488d7
Stronger staking UX and language. 2019-03-11 17:01:18 -07:00
Kieran Prasch e779214a2d
Remove half-baked post-deployment tx hashes JSON file saving. 2019-03-11 10:24:33 -07:00
Kieran Prasch 91c5f565dc
Allow rewards to be collected to an alternate address. Tighter assertions on reward collection. 2019-03-09 18:29:44 -08:00
Kieran Prasch 0b62b288e9
Minimal gas price manage ment in tests; Assertions for reward collection via CLI. 2019-03-09 17:32:07 -08:00
Kieran Prasch 88ff212f3c
Post-rebase cleanup Pt. II. 2019-03-09 17:32:04 -08:00
Kieran Prasch f98fce348c
Dealing with the side effects of BlockchainPolicy updates 2019-03-09 17:31:28 -08:00
Kieran Prasch 244f0e0885
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests. 2019-03-09 17:31:28 -08:00
Kieran Prasch f4d4588af4
Integrating staking-CLI with the common entry-point workflow 2019-03-09 17:31:28 -08:00
Kieran Prasch abcc68fa26
Updates deposit -> value; Do not assume federated only in policy execution flows. 2019-03-09 17:31:28 -08:00
Kieran Prasch 6d541c5ad0
Fixes work order history lookup errors; Choose random capsule instead of always using the last one (leaky) 2019-03-09 17:31:28 -08:00
Kieran Prasch 2cbbc2588a
Wire-up Grant to accept input for blockchain polices 2019-03-09 17:31:28 -08:00
Kieran Prasch 26149f8409
Allow handpicked ursulas to bypass selection; Consider blockchain publication attributes. 2019-03-09 17:31:28 -08:00
Kieran Prasch 8b7ee144ec
Stubbing ideas on gas price 2019-03-09 17:31:28 -08:00
Kieran Prasch 3c1574b75d
Keeping finnegans wake demo up to date: missing Import 2019-03-09 17:31:28 -08:00
Kieran R. Prasch 2ebd3fc2d1
Missing integration test for BlockchainPolicy - working towards bug fixes. 2019-03-09 17:31:28 -08:00
Kieran R. Prasch bebe4db85c
Integrate native CLI and Staking CLI; numerous bugfixes. Failing reward collection test. 2019-03-09 17:31:26 -08:00
Kieran R. Prasch 621d25422a
Configuration filname and unlocking minor bug fixes. 2019-03-09 17:29:54 -08:00
Kieran R. Prasch 10a1fa42bc
Bug fixes and API updates for Domains, Heartbeat Demo, and CLI flags. 2019-03-09 17:29:54 -08:00
Kieran R. Prasch 46f674475e
Post rebase cleanup for stakling CLI over native CLI 2019-03-09 17:29:54 -08:00
Kieran R. Prasch bd9532bd87
post-rebase cleanup 2019-03-09 17:29:54 -08:00
Kieran R. Prasch dceabd8d04
Ensure allocation registry is passed onto test agency 2019-03-09 17:29:54 -08:00
Kieran R. Prasch 3818cef773
Ensure that nucypher ursula destroy requires password authentication without force, and on the other hand obliterate the config root if force is used. 2019-03-09 17:29:54 -08:00
Kieran R. Prasch 9a00a84f4c
Allow beneficiary allocation registry specification to accept an instance or filepath 2019-03-09 17:29:54 -08:00