Commit Graph

1761 Commits (c2408eddce1f7ebba8114b61cc5f66561305ec6d)

Author SHA1 Message Date
jMyles 36b86eb6bb Implementing InterfaceInfo. 2018-06-20 10:13:26 -07:00
jMyles 0c7646fa94 Working known_nodes into fixtures and tests. 2018-06-20 10:13:26 -07:00
jMyles 8c9bb38dc0 The learning loop. 2018-06-20 10:13:26 -07:00
jMyles 8dca6d2447 Unifying known_node interfaces. 2018-06-20 10:13:26 -07:00
jMyles eae14ed521 Allowing known_nodes to be passed into Character to reflect "initially known nodes." 2018-06-20 10:13:26 -07:00
jMyles 9c0244c651 Some style fixes. 2018-06-20 10:13:26 -07:00
Kieran R Prasch bdbef9b0d6 Deprecate node contract datastore client methods 2018-06-20 10:13:26 -07:00
Kieran R Prasch 9a42ba89a8 Decorator for enforcing actor ownership. 2018-06-20 10:13:26 -07:00
Kieran R Prasch b3e6ca2f34 Deprecate stale switchLock method 2018-06-20 10:13:26 -07:00
Kieran R Prasch e388a611c5 Remove old test script 2018-06-20 10:13:26 -07:00
Kieran R Prasch 769b82fb2c Make second attempt at consideration. 2018-06-20 10:13:26 -07:00
Kieran R Prasch 132f45a090 Split make arrangements into three methods; Refactor selection. 2018-06-20 10:13:26 -07:00
Kieran R Prasch e5517fe15b Draft of make_arrangements, with consideration to node learning 2018-06-20 10:13:26 -07:00
Kieran R Prasch b02fd0266c Update Travis config to use Pipfile.lock 2018-06-20 10:13:23 -07:00
szotov eccef48005 Fixes stake division for the actors and agents 2018-06-20 10:12:50 -07:00
szotov 9e7eb8a983 Fixed calculation of delta periods 2018-06-20 10:12:50 -07:00
szotov 8595355d41 Using index of stake in the divideStake method in the contract 2018-06-20 10:12:50 -07:00
Kieran Prasch 9981847bd6 draft miner divide stake public method 2018-06-20 10:12:50 -07:00
Kieran Prasch 57975f71f5 Keep tests up-to-date; Create convention for test accounts, adds miners fixture, use properties and injected deployer_addresses. 2018-06-20 10:12:50 -07:00
Kieran Prasch c75425615f Fixes miner entity test failure, multi-path fixture resolution issues 2018-06-20 10:12:50 -07:00
Kieran Prasch 1133faa215 Update node contract datastore tests 2018-06-20 10:12:50 -07:00
Kieran Prasch 5666d54a88 Require a deployer address parameter for deployer objects; remove default on etherbase. 2018-06-20 10:12:50 -07:00
Kieran Prasch c4e52e35a8 Fix constants imports, rethink some private names. 2018-06-20 10:12:50 -07:00
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