Commit graph

31 commits

Author SHA1 Message Date
Brandon Goodell
956c59ad24 Architecture present for whole sims and transcripts. 2018-02-08 17:04:13 -07:00
Brandon Goodell
f51f35669a Block and blockchain working, computing fucking difficulty correctly finally 2018-02-08 13:06:01 -07:00
Brandon Goodell
7c8aa16609 Separating into files for easier bugfindin 2018-02-01 17:36:30 -07:00
Brandon Goodell
4593f2b8ea Failing loudly and often. 2018-01-28 12:16:13 -07:00
Brandon Goodell
868ac2680f Added FishGraph.py 2018-01-22 22:59:06 -07:00
Brandon Goodell
939b597edb
Poisson process on graph for blockchain sims
COMPLETELY untested code. Does the following:

Create a random graph with a specified number of vertices. Vertices are nodes on a cryptocurrency network, edges are their p2p connections. Node additions occur in a nonhomogeneous Poisson process with a (piecewise) constant intensity function. Node deletions occur in a homogeneous Poisson process. Block discovery occurs at each node in a nonhomogeneous Poisson process with a (piecewise) constant intensity function. Blocks, upon discovery, are propagated to neighbors along edges with a random (unique for each edge) delay. Blocks arrive at the end of edges in a deterministic way.

Currently, I'm measuring difficulty in the most simple way: use the MLE estimate for a homogeneous Poisson process's intensity function. 

TODO:
1) Plot block arrivals, true network hash rate, and the difficulty score of some node (or maybe the average difficulty score) over time.
2) Gather statistics on the above.
3) Different difficulty metrics
4) Different birthrate functions
5) Oh, I should compile this at some point? I bet it doesn't even work yet.
2018-01-15 22:21:35 +01:00
Brandon Goodell
69d1689758
more robust computation of challenges 2017-12-18 13:40:08 -05:00
Brandon Goodell
898f462c4a
Creating BP folder and files 2017-12-18 11:38:56 -07:00
Brandon Goodell
4b13345207 Unit test written (but failed) for vote() 2017-12-14 00:24:20 -07:00
Brandon Goodell
de324cfcf7 vote function added, unit test must be written on results 2017-12-13 11:09:19 -07:00
Brandon Goodell
fef1017fb7 fixed small errors in unit testing 2017-12-13 10:53:39 -07:00
Brandon Goodell
1445943246 voteFor, pendingVotes, transmitVote working 2017-12-13 10:46:00 -07:00
Brandon Goodell
ba5049ddcc udpate ffs again 2017-12-12 15:33:24 -07:00
Brandon Goodell
cdaeb98d1d udpate ffs 2017-12-12 15:33:05 -07:00
b-g-goodell
463d8f35e2 Rem. dep. file 2017-12-12 11:18:22 -07:00
b-g-goodell
41c8b73f2b Testing new versions 2017-12-12 11:15:56 -07:00
Brandon Goodell
807d29ac0a
BP Code
again
2017-11-28 10:16:46 -07:00
Brandon Goodell
b48505b392
BP code
wooo
2017-11-28 09:58:18 -07:00
Brandon Goodell
253f70d248 playing 2017-11-05 16:17:34 -07:00
Brandon Goodell
8608381697 Delete Spectre.py~ 2017-10-23 17:54:11 -06:00
Brandon Goodell
71dbe05174 Spectre passing unit tests! 2017-10-23 17:52:11 -06:00
Brandon Goodell
6229c28243 Update Spectre.py 2017-10-23 12:22:16 -06:00
Brandon Goodell
ed9b21b0a6 Starting spectre 2017-10-23 12:09:43 -06:00
knaccc
4dd4d1d148 renamed directory to StringCT-java 2017-09-23 21:29:39 +01:00
knaccc
6ae0228254 renamed bootleruffing to stringct 2017-09-23 20:25:11 +01:00
knaccc
63dfd2bcae converted to use x25519 bouncycastle impl 2017-09-23 17:34:37 +01:00
knaccc
46d95551ff RuffCT first commit 2017-09-13 23:27:46 +01:00
shnoe
b215a98a74 Updated rct code with ring multisig and fixing key image bug I found last night 2016-02-07 08:42:01 -07:00
shnoe
bfb18a0eed Added MiniNero and RingCT code 2016-02-05 13:22:13 -07:00
shnoe
55c92de3bc Added MiniNero and RingCT code 2016-02-05 13:20:44 -07:00
Riccardo Spagni
767ddb8cde
forgot to add the source folder, my bad 2016-02-04 17:44:26 +02:00