Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added security feature to epmd so we don't listen to outside contact.…
… add function to oracles.erl to know which oracles are ready to be closed. update documentation about closing markets.
- Loading branch information
1 parent
132cf10
commit 6c392fc
Showing
6 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
-sname amoveo_core | ||
|
||
-setcookie amoveo_core_cookie | ||
-kernel inet_dist_use_interface {127,0,0,1} | ||
|
||
|
||
+K true | ||
+A30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
|
||
|
||
|
||
|
||
|
||
``` | ||
api:new_market(OID, Expires, Period). | ||
``` | ||
|
||
period is how many blocks you have to wait till bets get matched in a batch. | ||
Expires is the height at which betting stops. | ||
Expires is the height at which betting stops. | ||
|
||
|
||
|
||
``` | ||
order_book:dump(OID). | ||
``` | ||
This is how you remove a market once it is closed. | ||
WARNING: make sure all the channels have closed their positions before closing the market. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
The problem is how to securely download a copy of the light node software so that you can trust that the Merkel proofs are valid. | ||
|
||
potential solution- | ||
|
||
The full node uses it's pubkey in the url, and it signs the light node software it sends to you. | ||
If the signature is invalid for the pubkey in the url, then you don't use it. | ||
|
||
The hub doesn't know if you are syncing fresh, or if you already have a copy of the light node software. | ||
|
||
The hub makes a fraud proof, so it will lose a ton of money to anyone who can show it signed a bad copy of the light node software. | ||
|
||
Many people would be constantly testing hubs, because if the hub lies, they can take all the hub's money. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters