Commit Graph

24 Commits

Author SHA1 Message Date
Luca Favatella 31482d418e Enable caller to select small initial nonce
... for reproducing quite closely behaviour before 68124a3
2019-03-29 14:37:46 +00:00
Valeri Filipov 7cde3fd2f4 Initial CircleCi configuration (#9)
Initial CircleCi configuration
2019-03-22 08:36:45 +02:00
Juraj Hlista 05f68fab29 Merge pull request #8 from aeternity/add-new-functions
Export verify_proof/4 and add get_target/2
2019-03-12 20:31:39 +07:00
Juraj Hlista 63b6890c61 Merge pull request #7 from aeternity/dialyzer-fixes
Dialyzer fixes
2019-03-12 20:27:17 +07:00
Juraj Hlista 87ee39ffb0 Export verify_proof/4 and add get_target/2
verify_proof/4 checks that a solution is a valid solution it doesn't check
it against any target.

get_target/2 returns the target of a solution in integer form
(not scientific).
2019-03-12 12:21:29 +07:00
Juraj Hlista 84f59998a2 Change types of exec and extra_args to binary
When config is created, it accepts binaries that are converted to list
and kept in config record. This causes issues in the code that uses this
project as a dependency. There is a different type for exec and extra_args
outside and inside the config record.
2019-03-12 11:00:57 +07:00
Juraj Hlista 73b70519f1 Use defines from .hrl in the code 2019-03-12 11:00:51 +07:00
Juraj Hlista 82a7cb813a Merge pull request #6 from aeternity/export-instance-types
Export instance/0 and instances/0 types
2019-03-04 15:28:21 +07:00
Juraj Hlista 4726ab5ace Export instance/0 and instances/0 types 2019-03-03 14:04:02 +07:00
Juraj Hlista 5a538b360c Merge pull request #5 from aeternity/add-defines-to-hrl
Add more defines into .hrl
2019-02-27 17:46:03 +07:00
Juraj Hlista 2b87718d20 Add more defines into .hrl 2019-02-27 17:35:44 +07:00
Juraj Hlista c6d2c9f0dd Merge pull request #4 from aeternity/fix-random-nonce
Fix picking of random nonce
2019-02-26 19:48:36 +07:00
Juraj Hlista 68124a3355 Fix picking of random nonce 2019-02-26 18:01:26 +07:00
Tino Breddin 17d7a8d458 Merge pull request #3 from aeternity/tb-use-custom-sink
Use custom lager sink
2019-02-19 16:29:39 +01:00
Zbigniew Pękala 2c05d67bb0 Add aeminer extra sink 2019-02-19 16:21:49 +01:00
Zbigniew Pękala aff6c54ded Use aeminer sink explicitely 2019-02-19 16:21:10 +01:00
Tino Breddin 41fee48ed2 Allow use of custom lager sink 2019-02-19 15:55:59 +01:00
Juraj Hlista 97b47be661 Merge pull request #2 from aeternity/update-rebar-aecuckooprebuilt-plugin
Update rebar aecuckooprebuilt plugin
2019-02-14 13:33:31 +01:00
Juraj Hlista 162426d39d Update rebar to 3.9.0 2019-02-14 13:26:17 +01:00
Juraj Hlista b4ddedb8e1 Update rebar aecuckooprebuilt plugin 2019-02-13 13:39:24 +01:00
Juraj Hlista ce9e1cd14d Merge pull request #1 from aeternity/initial
PT-163387907 Move mining related code from ae node
2019-02-12 14:57:48 +01:00
Juraj Hlista d6021504ad Add missing tests, refactor, improve type specs 2019-02-12 14:49:49 +01:00
Juraj Hlista c2b9873d10 Copy aeminer_pow, aeminer_pow_cuckoo, aecuckoo_SUITE from ae node
aecuckoo_SUITE is moved from aecuckoo to aeminer

To make the suite pass:
- siphash24 module was taken from ae node
- enacl has become a dep of aeminer (due to blake2b_256 hash)
2019-02-12 14:19:00 +01:00
Juraj Hlista 89d308437e Add README 2019-02-12 14:17:07 +01:00