greptile
67b8de8451
zkas: fix index-out-of-bounds panic ( #203 )
...
Add check for indexing into byte array
Add regression unit test using input discovered via fuzzing
Co-authored-by: y <y>
Co-authored-by: parazyd <parazyd@users.noreply.github.com >
2023-08-30 05:51:01 +00:00
greptile
9d5ca4b904
zkas: fix out-of-memory panic ( #202 )
...
* zkas: fix out-of-memory panic
Fix panic due to unchecked Vec::with_capacity inputs. Also change
VecDeque to use the same validation pattern even though it was not
directly affected
Add panic regression unit test based on fuzzer input that caused the crash
* Add the vec alloc try to async serial as well
---------
Co-authored-by: y <y>
Co-authored-by: parazyd <parazyd@dyne.org >
2023-08-30 05:48:28 +00:00
greptile
7e76cf360c
docs: Add more details about fuzzing ( #201 )
...
Add more documentation to fuzz/README.md, especially when it comes to
interpreting out-of-memory issues.
Co-authored-by: y <y>
Co-authored-by: parazyd <parazyd@users.noreply.github.com >
2023-08-30 05:44:42 +00:00
y
374d19851f
fuzz: Restructure corpora git structure
...
Use artifacts/ rather than corpus/ to track fuzz inputs. corpus appears
to be a temporary directory that will be modified when minimizing test
cases using commands like `cargo fuzz cmin` or `cargo fuzz tmin`. For
this reason it's not suitable for long-term storage and is likely to
make the git commit-staging process very messy.
2023-08-30 05:42:23 +00:00
greptile
ccc46c2d3e
doc: add troubleshooting steps for development ( #199 )
...
* doc: add troubleshooting steps for development
* Minor consistency fixes
---------
Co-authored-by: y <y>
Co-authored-by: parazyd <parazyd@dyne.org >
2023-08-30 05:40:51 +00:00
parazyd
c36e34eb83
Makefile: Remove target directory on distclean
2023-08-30 07:36:35 +02:00
parazyd
31a5f28d66
sdk: Enable halo2_gadgets dev feature used for constants tests.
2023-08-29 22:03:43 +02:00
parazyd
b72660860c
lib: Hopefully final feature powerset fix
2023-08-29 18:26:36 +02:00
parazyd
96d35d5022
research/pow: Block timestamp verification
2023-08-29 17:48:46 +02:00
parazyd
e8a25b9ec4
Kill Tim Cook
2023-08-29 14:34:20 +02:00
parazyd
a59b628db5
research/pow: Add missing license header.
2023-08-29 14:27:20 +02:00
parazyd
6a9f311c99
lib: Modify feature powerset
...
Attempted fix, use Github for global warming.
2023-08-29 14:27:05 +02:00
parazyd
27606a5a46
Update github actions
2023-08-29 13:46:30 +02:00
parazyd
27b8d01287
chore: Clippy lints
2023-08-29 13:40:57 +02:00
parazyd
cbe9c64065
chore: Update crate dependencies
2023-08-29 13:08:35 +02:00
parazyd
ffe8643812
bin: Feature cleanup
2023-08-29 13:08:35 +02:00
parazyd
e2956a1451
Update system library dependency list.
2023-08-29 13:08:35 +02:00
parazyd
8f46f7b777
lib: Clean up library features.
2023-08-29 13:08:35 +02:00
parazyd
35462e00b2
blockchain: Trivial cleanup, add FIXME for certain functions/deps.
2023-08-29 13:08:35 +02:00
parazyd
41bf60570a
Implement standalone Makefiles for most of the bins and rework main Makefile.
2023-08-29 10:53:23 +02:00
parazyd
39e9d77e67
vanityaddr: Replace clap with arg and add standalone Makefile.
2023-08-29 10:19:10 +02:00
parazyd
0051baf300
zkas: Add standalone Makefile.
2023-08-29 08:59:42 +02:00
parazyd
0440864b3a
fuzz: Use patched blake2_simd crate.
2023-08-29 08:58:49 +02:00
parazyd
a659081d52
research/pow: Ignore genesis block for diff calc.
2023-08-28 20:50:46 +02:00
parazyd
5aa411779c
research/pow: Add difficulty adjustment algorithm with passing Monero tests.
2023-08-28 20:38:52 +02:00
x
18f7a27f66
net/acceptor: remove Mutex<Option<SessionWeakPtr>> in Acceptor, instead simply use SessionWeakPtr
2023-08-28 16:35:03 +02:00
aggstam
8e2b9e1838
chore: fmt
2023-08-28 17:24:19 +03:00
aggstam
dcdaa68115
net/acceptor: handle raw_os_error without unwrap()
2023-08-28 17:24:19 +03:00
x
adedcdbaaa
Revert "net/acceptor: replace Mutex<Option<Weak<Session>>> with LazyWeak<Session>"
...
This reverts commit 34fc8fbd8f .
2023-08-28 14:15:09 +02:00
x
34fc8fbd8f
net/acceptor: replace Mutex<Option<Weak<Session>>> with LazyWeak<Session>
2023-08-28 13:49:31 +02:00
parazyd
c9a9931300
serial: Correct code comment for blake2b serialization
2023-08-28 13:20:15 +02:00
parazyd
856b026f6b
serial: Support variable-length BLAKE2b encoding.
2023-08-28 13:19:04 +02:00
parazyd
6867eab442
research/pow: Actually push transactions into the block
2023-08-28 11:23:01 +02:00
parazyd
f441e4c512
research/pow: Print RandomX hash bytes on successful mining
2023-08-28 11:19:39 +02:00
parazyd
16a043537d
research/pow: Multithreaded setup
2023-08-28 11:10:43 +02:00
parazyd
b80b4b755e
net/acceptor: Handle accept(2) errors more robustly.
2023-08-28 10:34:43 +02:00
parazyd
624ea9a0c4
net/transport/tcp: Simplify tls accept
2023-08-28 10:11:05 +02:00
parazyd
4d244fc467
research/pow: Use blake2b_simd instead of blake3.
2023-08-28 09:27:43 +02:00
parazyd
dd49c947a1
serial/types: Add blake2b_simd support.
2023-08-28 09:27:43 +02:00
x
5c55b6b6ff
doc: expand services.md
2023-08-28 09:25:16 +02:00
Dastan-glitch
71ec99e422
src/error: add forgotten event_graph error
2023-08-27 06:22:03 +03:00
Dastan-glitch
2aefaf1a1f
bin/tau: update default datastore path
2023-08-27 06:20:40 +03:00
Dastan-glitch
48e8845278
bin/darkirc: update default datastore path
2023-08-27 06:20:28 +03:00
Dastan-glitch
3840fda64b
event_graph: better error handling
2023-08-27 06:07:04 +03:00
parazyd
2c46a1d9fd
research/pow: High level RandomX mining layout.
2023-08-26 23:03:06 +02:00
x
5874702bce
p2p channels() doesn't need to be async
2023-08-26 11:27:40 +02:00
parazyd
33631ab318
net/transport/tcp: Restore usage of socket2 to create TCP sockets.
2023-08-25 20:40:24 +02:00
parazyd
44b8cd022a
system/lazy_weak: Fix rustdoc
2023-08-25 19:36:31 +02:00
parazyd
2b7dd67309
chore: Clippy lints and compile fixes.
2023-08-25 19:28:08 +02:00
parazyd
41631701ac
consensus: Compile fix.
2023-08-25 19:23:07 +02:00