jMyles
|
594180839b
|
Fixing KFrag attachment loop.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
a2bf097eff
|
Adding Alice's signature to ID for TreasureMap. A tiny morsel of #172.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
73702e97e0
|
Passing value into Arrangement. Turning buckets into sets.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
766acca7bf
|
known_nodes is now private _known_nodes.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
6fc2777d48
|
We don't need to separately publish the TreasureMap; that happens in publish() now.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
d932c18c08
|
Taking ursulas in grant to pass to make_arrangements.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
a3fa74e537
|
Using known_nodes for FederatedPolicy.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
323c8c2505
|
Moving node shuffling logic up to its own method.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
e7375e0d98
|
Removing is_federated and using federated_only instead.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
fb1bc83944
|
public_address logic for either federated or decentralized mode.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
1d42a797b6
|
publish() for Federated logic.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
f5f6ef00f6
|
Moving _consider_arrangements up to Policy.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
97d1abc598
|
Now composing Arrangement class object on Policy subclass in order to get the right one every time. Also, introducing FederatedPolicy! :-)
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
bc1c89cef6
|
Logic for getting periods from expiration is now Blockchain-only.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
1bbaf2c55f
|
Proper error for scenario where, in the middle of a run, we can't find a teacher node.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
d739bc6ffa
|
Shipping splitter for public information with ProxyRestServer.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
126adccba3
|
Using public address as bytes (instead of strictly casting ether address to bytes).
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
b2e5d9958e
|
Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
6e3814cee2
|
token_airdrop as a utility function.
|
2018-06-22 20:17:57 -07:00 |
jMyles
|
6b0e3cf92d
|
We don't even use MockTokenAgent anymore.
|
2018-06-20 14:57:29 -07:00 |
jMyles
|
e867f495b9
|
New splitting logic for Arrangement; including ether address.
|
2018-06-20 14:57:29 -07:00 |
jMyles
|
4a1c208742
|
Don't need ot pass db name again; it's already defined on the Policy.
|
2018-06-20 14:57:28 -07:00 |
jMyles
|
a338d526b7
|
Property / setter logic for public_address.
|
2018-06-20 14:55:29 -07:00 |
jMyles
|
d1b90f2edd
|
_known_nodes are by public address now.
|
2018-06-20 14:55:29 -07:00 |
jMyles
|
5b74e7e96b
|
These Arrangements are already in their respective bucket; no need to extend them again.
|
2018-06-20 14:55:29 -07:00 |
jMyles
|
23dd5fee5f
|
Calculating duration (in periods) from expiration (MayaDT). Also, setting aside spare Ursulas for the moment.
|
2018-06-20 14:55:29 -07:00 |
Kieran Prasch
|
f785394482
|
Remove stale dht publication method.
|
2018-06-20 12:33:53 -07:00 |
szotov
|
944a9db66b
|
Added constant for policy id length, fixed descriptions of some methods
|
2018-06-20 10:14:25 -07:00 |
szotov
|
f6736da2bf
|
Reduces size of variables in contracts
|
2018-06-20 10:13:47 -07:00 |
szotov
|
e0139897db
|
Improved the sample method in MinersEscrow and in agent. Some refactoring
|
2018-06-20 10:13:47 -07:00 |
szotov
|
f1b5f70214
|
Fixed script to estimate gas usage
|
2018-06-20 10:13:47 -07:00 |
szotov
|
2999110c16
|
Removes minerIds and datastore
|
2018-06-20 10:13:44 -07:00 |
jMyles
|
e4253b6c5d
|
Including Ursula ether address as part of public information.
|
2018-06-20 10:13:26 -07:00 |
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 |