Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mult-pow-hybrid-mining #5

Merged
merged 34 commits into from
Jun 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0c70fb4
addition of blockchain mining sim
Kevoulee Oct 18, 2019
7068a26
spreadsheet upload
Kevoulee Oct 24, 2019
cc3440a
Update to spreadsheet
Kevoulee Oct 24, 2019
6f3eefa
graphs
Kevoulee Oct 24, 2019
ac13382
update with difficulty and graph combinations
Kevoulee Oct 25, 2019
04dd569
formulae and graphs
Kevoulee Nov 1, 2019
536e4ca
update to algorithms
Kevoulee Nov 8, 2019
d814c00
update with workings of 3 algos
Kevoulee Nov 21, 2019
bd678dc
addition to notes
Kevoulee Nov 26, 2019
ae0dd9b
simulation 1 to find true difficulty
Kevoulee Nov 26, 2019
38837bd
addition of sim2 and work on accumulated PoW
Kevoulee Dec 9, 2019
52fb900
Multi POW
hansieodendaal Jan 2, 2020
ae9cccc
- config file for input params
hansieodendaal Jan 7, 2020
bfc5219
reorg, geometric mean overflow resistant version
hansieodendaal Jan 8, 2020
35ab93e
reorg, mining algo source data added
hansieodendaal Jan 8, 2020
7a41780
Fixed data type error in `class DIFFICULTY_LWMA_00`
hansieodendaal Jan 8, 2020
509e9cb
Added reorg ignore factor and integrated block time estimation
hansieodendaal Jan 8, 2020
c8e1bce
WIP: Modularizing all classes
hansieodendaal Jan 15, 2020
b25e516
WIP: state, strategy, error, oracle
hansieodendaal Jan 16, 2020
c2b2bb3
WIP
hansieodendaal Jan 21, 2020
0f1ee60
WIP - running basic
hansieodendaal Jan 24, 2020
d21bc2e
WIP
hansieodendaal Jan 29, 2020
64e709f
WIP
hansieodendaal Jan 31, 2020
d8fde3b
Reorg
hansieodendaal Jan 31, 2020
65584d6
WIP
hansieodendaal Feb 3, 2020
464e11e
Working simulation.
hansieodendaal Feb 4, 2020
5241e87
Still WIP
hansieodendaal Feb 6, 2020
b424462
WIP: Fixed block time estimation
hansieodendaal Feb 6, 2020
90fda49
WIP: more realistic time estimation and related effects for selfish m…
hansieodendaal Feb 7, 2020
b3560f8
Fixed selfish mining block transmission
hansieodendaal Jun 4, 2020
10d95a4
Added TSA
hansieodendaal Jun 5, 2020
add4e63
fixed random functions and achieved difficulty
hansieodendaal Jun 6, 2020
bf6f68e
fixed blockchain geometric mean calc
hansieodendaal Jun 6, 2020
205d5c6
ready for discussion
hansieodendaal Jun 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ venv.bak/

# mypy
.mypy_cache/

other/bad_nodes_variation_100_10.xlsx
Binary file added other/bitcoin-difficulty.xlsx
Binary file not shown.
Binary file added other/honest-mining-probabilities.xlsx
Binary file not shown.
Binary file added other/multi_pow_algos_approximation.pdf
Binary file not shown.
Binary file added other/multi_pow_algos_approximation.xlsx
Binary file not shown.
1,063 changes: 1,063 additions & 0 deletions scenarios/multi_pow.py

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions scenarios/multi_pow_inputs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
>>>> Gtd$K46U%JN*X#Vd2 >>>>
2000
2
3
120
90
0.01
1
0.005
0
<<<< Gtd$K46U%JN*X#Vd2 <<<<