Commit Graph

1688 Commits (ba2089a606fa5aca3e133cf2037ed0d0cadeb25f)

Author SHA1 Message Date
Kieran Prasch ba2089a606 PolicyManager contract API methods on its agent. update on BlockchainArrangement 2018-06-20 10:12:50 -07:00
Kieran Prasch 0528d14708 Relocates and adds miner contract API to ContractAgents, from whence they came. 2018-06-20 10:12:50 -07:00
Kieran Prasch 1896da5e05 Thin TokenActors - use soley agents for contract method execution. 2018-06-20 10:12:50 -07:00
Kieran Prasch 7566fad8cf Make public staking method more dynamic, taking a MayaDT as an expiration. 2018-06-20 10:12:50 -07:00
Kieran Prasch 52148cfa32 Use property interface to manage staking and stake state. 2018-06-20 10:12:50 -07:00
Kieran Prasch fd58fc2860 Datetime to Periods utility methods 2018-06-20 10:12:50 -07:00
Kieran Prasch a9031f6db7 Refactors cached node values into properties, and lazy evaluation. 2018-06-20 10:12:50 -07:00
Kieran Prasch 27ffc557ad Updates tests and utilities with blockchain-representable characters 2018-06-20 10:12:50 -07:00
Kieran Prasch c442d1cd95 Make miner contract datastore methods private 2018-06-20 10:12:50 -07:00
Kieran Prasch 0b41efcd4c Attach the dht_server for bobs, and miners. 2018-06-20 10:12:50 -07:00
Kieran Prasch 4016a8c1b8 known node_id routing, for dual-dict node storage, will populate with node learning 2018-06-20 10:12:50 -07:00
Kieran Prasch 3045f1fb59 Thins PolicyAuthor, recruit mutates itself, for uptake by node learning api 2018-06-20 10:12:50 -07:00
Kieran Prasch 8bc795e630 Agent validation and self-awareness, and documentation. 2018-06-20 10:12:50 -07:00
Kieran Prasch 7a35c4b24b Hack together MockRestMiddleware, temp fix until implementing node learning. 2018-06-20 10:12:50 -07:00
Kieran Prasch c1857847d2 Update actor tests with testerchain renaming. 2018-06-20 10:12:50 -07:00
Kieran Prasch 616a3001bb Update miner contract datastore tests with caching ability 2018-06-20 10:12:50 -07:00
Kieran Prasch db5856f932 Lazify reading the miners contract datastore with a cached iterator. 2018-06-20 10:12:50 -07:00
Kieran Prasch 1fc99659ff Locate selected ursulas from known nodes. 2018-06-20 10:12:50 -07:00
Kieran Prasch 31f07e9ba7 Subclass UmbralPrivate key, Use Umbral keys to make test accounts. 2018-06-20 10:12:50 -07:00
Kieran Prasch 820f41bdc0 Blockchain make arrangement lock periods, and consideration 2018-06-20 10:12:50 -07:00
Kieran Prasch a0681c78d7 Include miner datastore in Miner's init and cache it. 2018-06-20 10:12:50 -07:00
Kieran Prasch 4af2037bbf Decouple blockchain operations, expand Policy and Arrangement types. 2018-06-20 10:12:47 -07:00
Kieran Prasch e2eb556e10 Middleware -> RestMiddleware 2018-06-20 10:12:27 -07:00
Kieran Prasch 94d94d3407 Additional deprecation of alice DHT usage. 2018-06-20 10:12:27 -07:00
jMyles 2c0a844da8 Need to set aside the ProxyRESTServer cooperative inheritance for the moment. 2018-06-20 10:12:27 -07:00
jMyles e6072e1024 Some fixes pursuant to a recent refactor. 2018-06-20 10:12:27 -07:00
jMyles ea4c8e63aa Logic for StrangerStamp scenario in keypair. 2018-06-20 10:12:26 -07:00
jMyles 83657197c9 Bob sets correctness keys right away in retrieve(). 2018-06-20 10:12:26 -07:00
jMyles 37b32d58cf Need to raise some kind of error if the response is a no-go. 2018-06-20 10:12:26 -07:00
jMyles 7ddb9f26fc Some style and naming fixes. 2018-06-20 10:12:26 -07:00
jMyles 533874ffe8 Freshening up SandboxNetworkMiddleware. 2018-06-20 10:12:26 -07:00
jMyles 8c360bbde9 Allowing explicit federated_only condition. 2018-06-20 10:12:26 -07:00
jMyles 5328bda6fe Passing Alice's pubkey to verify CFrags in Finnegan's Wake demo. 2018-06-20 10:12:26 -07:00
jMyles 7d8b07d8c3 from_rest_url now needs Middleware. Sensible. 2018-06-20 10:12:26 -07:00
jMyles 9fdfec43f3 Ethereum address didn't work as a Kademlia Node ID without being digested. 2018-06-20 10:12:26 -07:00
jMyles 8041527677 Explicit inheritance to make sure Character gets its args and kwargs. We can possibly go back to the cooperative model if needed, but this gets us working for now. 2018-06-20 10:12:26 -07:00
jMyles 8dc1a37aaf BlockchainPolicy now inherits from Policy. 2018-06-20 10:12:26 -07:00
jMyles 00d0e64c7e Goodbye nucypher_test_config. 2018-06-20 10:12:26 -07:00
jMyles 196e2bc0da ArrangementResponse never really made sense. 2018-06-20 10:12:26 -07:00
jMyles a02a252d3d Style fixes. 2018-06-20 10:12:26 -07:00
jMyles 89c6ea595f Arrangement is now top-level. Removing deposit from most places. 2018-06-20 10:12:24 -07:00
jMyles 8e86591991 BlockchainArrangement inherits from Arrangement. 2018-06-20 10:12:00 -07:00
jMyles e57b65be35 Moving Finnegan's Wake demo to make it more obvious. 2018-06-20 10:12:00 -07:00
Kieran Prasch e37de07ec0 Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup. 2018-06-20 10:12:00 -07:00
Kieran Prasch 44952cd636 Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures. 2018-06-20 10:12:00 -07:00
Kieran Prasch 078d39df88 Update entity tests and utils to testerchain.interface api 2018-06-20 10:12:00 -07:00
Kieran Prasch 8a65ca14f2 Deprecated compadability fixtures, updates contract tests to testechain.interface api 2018-06-20 10:12:00 -07:00
Kieran Prasch 043e158c2c Start from_configuration classmethod strategy 2018-06-20 10:12:00 -07:00
Kieran Prasch 550a8cc1d7 Refactor Policy and Arrangement methods to play nice with the blockchain client; Remove fake blockchain client 2018-06-20 10:11:58 -07:00
Kieran Prasch 10483cc8b2 Refactor config classes for use alongside entities. 2018-06-20 10:11:34 -07:00