Commit Graph

7107 Commits

Author SHA1 Message Date
ertosns
dfdbf7cace [doc/src/spec] add tokenId hyperlink 2023-10-30 19:15:09 +02:00
ertosns
3c6dc26e8d [doc/src/spec/payment] fix broken hyperlinks 2023-10-30 19:03:34 +02:00
ertosns
0efe61b27f [doc/src/spec/{crypto,payment}] edit fmt 2023-10-30 18:01:03 +02:00
Dastan-glitch
820198db8e bin/tau: add more help info/examples 2023-10-30 17:09:28 +03:00
Dastan-glitch
c62846eb90 bin/tau: allow subcommands to affect multiple tasks 2023-10-30 16:54:53 +03:00
parazyd
dffcce29a3 net/acceptor: Don't close listener loop on unhandled errors anymore 2023-10-30 11:31:18 +01:00
lunar-mining
0b0436131f dnet: redraw the screen on inbound (disconnect) and inbound (connect) events 2023-10-30 11:29:07 +01:00
x
f0e0935bd2 dep 0001: add a version number to services field 2023-10-30 10:27:59 +01:00
x
cb300876cf zk::debug::zkas_check_types(): also check witnesses.len() matches for both circuit and binary 2023-10-30 09:31:22 +01:00
x
44b882859e add module zk::debug, and move export_witness_json() and zkas_type_checks() inside it. 2023-10-30 09:23:14 +01:00
lunar-mining
536f340aa4 dnet: render offline nodes as: node name (offline) 2023-10-30 08:14:50 +01:00
x
900e8f14c0 ZkCircuit add type checking for witness and public inputs (unfinished) 2023-10-30 07:55:16 +01:00
lunar-mining
52b172ece7 dnet: cleanup and add TODOs. also don't crash if a node goes offline. 2023-10-29 21:43:32 +01:00
lunar-mining
3bb75a4717 dnet: cleanup and reduce LOC
makes use of inheritance to avoid repetition widget classes and deletes
various redundant functions
2023-10-29 14:22:08 +01:00
lunar-mining
e5d0aca1f4 dnet: fix bug which caused dnet to crash on receiving unhandled mouse input 2023-10-29 08:03:32 +01:00
x
307d34e37d DEP 0001: add desc to SUMMARY.md 2023-10-29 07:32:26 +01:00
x
4256a2fdef DEP 0001 2023-10-29 07:29:48 +01:00
aggstam
9c74b776fd contrib/docker/riscv: updated to work with latest changes 2023-10-27 20:46:55 +03:00
aggstam
5c42cb5157 darkfid2/darkfid_config.toml: fixed transports 2023-10-27 20:46:55 +03:00
Dastan-glitch
3c6f8d86a7 bin/tau: add export and import 2023-10-27 18:34:24 +03:00
x
66349d366f dao/test: comment out export_witness_json() call 2023-10-27 15:02:15 +02:00
x
a73babc0b0 dao: make use of user_data from money_transfer (desc below for more info)
We weren't enforcing that dao_bulla we are operating on is the same as
the user data from the inputs we are spending from. So add those checks
into the ZK circuits.

Since we cannot loop over arbitrary inputs in the ZK circuit, make sure
all inputs have the same user_data_enc - that is they use the same
blind. This is safe since the data being blinded is also the same.

Lastly a minor simplification was made. Instead of storing input value
commits inside the DAO params, we can calculate it from the money
transfer params. This avoids needing to check they match which makes the
code simpler.
2023-10-27 14:56:06 +02:00
parazyd
44b27d0228 contrib/zk.lua: Require spaces for indentation 2023-10-27 14:02:40 +02:00
parazyd
29eee31e20 net/acceptor: Gracefully handle ETIMEDOUT 2023-10-27 11:19:10 +02:00
parazyd
54ad30201f zk: Move export_witness_json() to zk module.
zkas should be kept dependency-free.
2023-10-27 09:05:24 +02:00
parazyd
299e70fea8 darkirc/irc: Update TLS cert handling for new rustls-pemfile API 2023-10-27 09:02:18 +02:00
parazyd
a41668a676 net/transport/tls: Update cert gen for new rustls-pemfile API 2023-10-27 09:02:18 +02:00
parazyd
b61127af9a chore: Update crate dependencies 2023-10-27 09:02:18 +02:00
aggstam
3b046709d3 doc/Makefile: fix -frfrfr 2023-10-27 00:02:28 +03:00
aggstam
30cc68b8e3 doc/Makefile: fix -frfr 2023-10-26 23:53:43 +03:00
aggstam
3d7e4b3a41 chore: failing pipelines 2023-10-26 23:48:25 +03:00
lunar-mining
06099510b1 dnet: remove test file 2023-10-26 21:05:09 +02:00
lunar-mining
1621456f01 dnet: fix test to work with urwid 2.2.0 2023-10-26 21:04:58 +02:00
lunar-mining
de3c4eb09f dnet: update dnet to new urwid version and fix asyncio usage
We were previously relying on idle emulation to redraw the screen. This
is no longer supported as of urwid 2.2.0 and later.

See: https://github.com/urwid/urwid/issues/665
2023-10-26 21:04:47 +02:00
aggstam
f9b575e4ab net/acceptor: Gracefully handle rustls error in run_accept_loop without consuming it 2023-10-26 20:57:04 +02:00
lunar-mining
9039b8241d dnet: commit test script that shows breaking usage 2023-10-26 20:57:04 +02:00
parazyd
eda67fdc5a chore: Clippy lint 2023-10-26 20:57:04 +02:00
parazyd
9de4a2e74b net/acceptor: Gracefully handle rustls error in run_accept_loop 2023-10-26 20:57:04 +02:00
parazyd
7b3a4cffd0 darkirc: Replace DM nick with the one from the config when decrypting. 2023-10-26 20:57:04 +02:00
parazyd
b57cb95175 darkirc: Fix channel joins 2023-10-26 20:57:04 +02:00
parazyd
0e242915cf darkirc/command: Fix deadlock in welcome() 2023-10-26 20:57:04 +02:00
parazyd
3ddd141456 darkirc: Push all decrypted DMs to clients. 2023-10-26 20:57:04 +02:00
parazyd
54fdfc0cbe darkirc: Perform plaintext padding on encryption 2023-10-26 20:57:04 +02:00
parazyd
e9e891db18 darkirc/irc: Fix potential panic when adding nicks to channel nicklists. 2023-10-26 20:57:04 +02:00
lunar-mining
387897cf7b dnet: downgrade urwid version
upgrading urwid to 2.2.0 breaks dnet in two ways:

* ui is not visible unless the terminal is in focus
* the screen is not redrawing correctly- contains artifacts from previous draw.

it may have to do with this breaking change that was added to 2.2.0:

https://github.com/urwid/urwid/pull/541

but i am not sure yet, investigating.
2023-10-26 20:57:03 +02:00
lunar-mining
e211406b59 dnet: fix bug in data structures that propagated notes with duplicate node info
also clean up a bit
2023-10-26 20:57:03 +02:00
x
b0f334683b p2p: simplify and make safe API, and thereby fix the possibility for any deadlock to happen when using the API. 2023-10-26 20:57:03 +02:00
parazyd
044d38f3b4 lilith: Default inbound connections to 512 2023-10-26 20:57:03 +02:00
lunar-mining
128421b6c0 dnet: display manual connections 2023-10-26 20:57:03 +02:00
parazyd
c45e9bb6e5 net/acceptor: Gracefully handle ECONNRESET 2023-10-26 20:57:03 +02:00