64 Commits

Author SHA1 Message Date
zzz
85d66c0084 readme updates 2024-01-26 11:27:48 -05:00
zzz
be815233c9 better resolution for Hashx.make() time 2024-01-26 10:09:06 -05:00
zzz
b1b2e863b8 clear compile flag before verifying 2024-01-26 10:04:19 -05:00
zzz
e1b10fa1ef add timing to Equix.verify() 2024-01-26 09:55:04 -05:00
zzz
09af344490 show actual effort with double resolution 2024-01-26 09:21:15 -05:00
zzz
0b8ee027ae find best solution if more than one 2024-01-09 07:34:26 -05:00
zzz
925b76ff03 add RUN_FAILED state
set REQUESTED inside POW loop
2024-01-09 07:14:59 -05:00
zzz
c742c46346 readme update 2024-01-09 07:01:39 -05:00
zzz
538b35c850 fix clearing the requested flag part 2 2024-01-09 06:57:13 -05:00
zzz
777b6f418c fix clearing the requested flag 2024-01-09 06:38:23 -05:00
zzz
5743072241 add interpreted run time to testhashxi 2024-01-09 06:32:11 -05:00
zzz
895c44aaf2 don't output comments unless preserving program 2024-01-09 06:26:46 -05:00
zzz
b734019983 change ctx compiler booleans to enum 2024-01-09 06:15:01 -05:00
zzz
c7dbec3dc0 add sample compiler output from testhashxc
remove unused class
2024-01-09 05:45:31 -05:00
zzz
67e683b80b use separate seed and hash in POW.main()
log tweak
2024-01-08 13:33:03 -05:00
zzz
de1cba49a9 fix compiler locking so it only compiles once
don't call execute() from compile(), call separately
2024-01-08 12:05:26 -05:00
zzz
0fc9a639d4 annotate POW
only init blake once in POW
2024-01-08 12:01:16 -05:00
zzz
622fd804b6 more readme dependency notes 2024-01-06 06:43:34 -05:00
zzz
cf0e9a0fdd readme dependency notes 2024-01-06 06:29:25 -05:00
zzz
856c8d689f compiler output stream speedups 2024-01-06 06:14:54 -05:00
zzz
8a8c5b37d4 fix misconceptions about program order
it is not random
2024-01-04 16:29:09 -05:00
zzz
21f9603e3d ensure code_size is 0 for new program 2024-01-04 16:27:55 -05:00
zzz
cd9bd29f0a fix possible signed bug 2024-01-04 16:27:13 -05:00
zzz
1c811cdd65 remove tmp dir in clean 2024-01-04 16:20:42 -05:00
zzz
242be63d62 Fix compiled name to be based on seed, not input
Store name in ctx
Set random seed for runpow
2024-01-04 15:56:00 -05:00
zzz
b801cb1c30 readme fix 2024-01-04 14:52:26 -05:00
zzz
7c962a54d4 ensure old compilation is removed when building new program
enable threads for pow
log and test tweaks
2024-01-04 14:07:49 -05:00
zzz
faf3ef673f use local tmp dir for now 2024-01-04 13:00:09 -05:00
zzz
2d7708fed4 assert in pow tests 2024-01-04 09:57:16 -05:00
zzz
31fd44969b test enhancements for threads 2024-01-04 07:40:47 -05:00
zzz
06616db752 thread count in ctx 2024-01-04 07:37:23 -05:00
zzz
c24f444cd1 multithreaded solving stage0 (within a single HXCtx)
split up stage0 into threads if requested
split up stage0 into stage0a and stage0b if threaded
stage0a stores hashes in stage2 data temoprarily
stage0b moves hashes from stage2 data to state1 buckets
change SET_STAGE1_SIZE to GET_AND_INCREMENT_STAGE1_SIZE
2024-01-04 07:36:25 -05:00
zzz
8cfcfaa8bd enable assertions in tests 2024-01-04 06:28:31 -05:00
zzz
9a81a0ecb4 compiler locking 2024-01-04 06:15:52 -05:00
zzz
614b2fc2d7 readme fixes 2024-01-03 09:27:39 -05:00
zzz
0f0ed6eeb1 add ant test targets 2024-01-03 09:21:58 -05:00
zzz
8f87f7d8b1 more readme updates 2024-01-03 08:49:55 -05:00
zzz
2d9f24b5d7 Update readme 2024-01-03 08:33:38 -05:00
zzz
913303aac5 Use new classloader for every compilation
in the hopes that the class will be garbage collected eventually
2024-01-03 07:47:23 -05:00
zzz
cf52d17c90 set unique name for compiled classes
use temp dir
delete source and class files
check for compiler return values
2024-01-03 07:37:17 -05:00
zzz
3e0848fd8a pow requests compilation 2024-01-02 20:04:57 -05:00
zzz
33d010c76c speedup by caching method 2024-01-02 19:55:48 -05:00
zzz
6a3f84a404 compiler/ctx updates 2024-01-02 19:41:51 -05:00
zzz
3a4852543d run the compiled class 2024-01-02 19:08:35 -05:00
zzz
aa4b7aeba8 more investigation of pow test 3 failure 2024-01-02 15:22:20 -05:00
zzz
81c7068ed2 fix effort check 2024-01-02 12:36:51 -05:00
zzz
6144013581 fix test 7 2024-01-02 12:16:54 -05:00
zzz
7dbf566ce3 flop solution bytes in proof to match tor
test 2 now passes
2024-01-02 12:10:04 -05:00
zzz
12a1c23491 change proof order to match tor
tests still don't pass due to byte swapping
add solve() method that specifies initial nonce
add verify to pow test
add check of seed prefix
2024-01-02 11:40:54 -05:00
zzz
98e9bc2a3c add pow tests (vectors from tor), don't pass yet 2024-01-02 10:14:29 -05:00