939b597edb
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. |
||
---|---|---|
publications | ||
source-code | ||
whitepaper | ||
README.md |
Monero Research Lab
Copyright (c) 2014-2017, The Monero Project
Research Resources
Web: getmonero.org
Forum: forum.getmonero.org
Mail: lab@getmonero.org
IRC on Freenode:
Vulnerability Response
- Our Vulnerability Response Process encourages responsible disclosure
- We are also available via HackerOne
About this Project
Research activities performed by members of the Monero Research Lab, and others, are stored here to make collaboration easy, and to allow for other researchers to pick up where someone leaves off.
This project is covered by the BSD 3-clause license as listed below. Contributors are welcome and warmly invited, but are expected to work in their own forks before submitting pull requests to this repository.
Source Code and Concept License
Copyright (c) 2014-2017, The Monero Project
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.