parazyd
42b3cfd8c7
contract/dao: Fix tests
2023-07-12 12:30:12 +02:00
parazyd
bcd98952a7
contract/money: Implement support for dummy inputs.
2023-07-12 11:39:28 +02:00
parazyd
9ec42c941a
walletdb: WIP abstraction
2023-07-11 14:41:06 +02:00
parazyd
3f7031eca2
wallet: Reintroduce sqlcipher.
2023-07-11 13:24:15 +02:00
parazyd
eae28e888d
serial: Port to syn2, and enforce enums to be max u8 for FFI compat.
2023-07-10 15:18:38 +02:00
parazyd
835935eaac
serial/derive-internal: Port to syn 2
2023-07-10 14:26:10 +02:00
parazyd
88681f9c54
net/hosts: Add a couple of useful debug messages in filter_addresses()
2023-07-10 11:51:24 +02:00
parazyd
b76d2e57b5
net/message: Always flush on send_packet()
2023-07-10 11:11:48 +02:00
parazyd
c1100588d3
net: Minor behaviour improvements
2023-07-08 23:41:55 +02:00
parazyd
968550a680
util: Clippy lints
2023-07-08 21:19:27 +02:00
parazyd
1f47600402
net: Clippy lints
2023-07-08 21:19:19 +02:00
parazyd
33408bb3a4
net/connector: Do transport mixing inside connect()
2023-07-08 21:17:00 +02:00
parazyd
98ef7c834e
chore: Update project dependencies.
2023-07-08 20:17:47 +02:00
aggstam
77067ac615
util/cli: fmt
2023-07-08 19:05:33 +03:00
aggstam
5d63d86083
chore: cleanup
2023-07-08 19:04:47 +03:00
parazyd
363a6cd998
vanityaddr: Remove indicatif dependency.
2023-07-08 18:01:23 +02:00
parazyd
ba25b08458
net: Add a function to map DnetInfo into a JSON map.
2023-07-08 16:21:49 +02:00
parazyd
f73c9c8f61
net: dnet cleanups and improvements.
2023-07-08 16:21:49 +02:00
parazyd
021235b534
util/ringbuffer: Use const generic for size.
2023-07-08 16:21:49 +02:00
aggstam
c7b7c2dd11
contract/test-harness/vks: updated VKS_HASH
2023-07-08 15:28:29 +03:00
parazyd
281aa87faf
zk/vm: Implement zero_cond opcode.
2023-07-08 11:07:07 +02:00
parazyd
f001cb05d1
zk/gadget: Implement f(a,b) = if a==0 {a} else {b} as zero_cond chip.
2023-07-07 21:49:49 +02:00
parazyd
a32b718d0d
zk/gadget: Remove unused code from cond_select.
2023-07-07 21:49:49 +02:00
aggstam
17415a3d21
validator: use new pid
2023-07-07 21:05:46 +03:00
aggstam
9712efdfb1
validator/consensus/pid: sigmas caclulation foundation
2023-07-07 16:43:48 +03:00
aggstam
b21e787319
error: restore missing error
2023-07-05 16:54:00 +03:00
parazyd
a654341ea4
Remove some unnecessary dependencies.
2023-07-04 23:52:30 +02:00
x
85d837a1e7
add ping-pong timeout when remote host doesn't reply back in time.
2023-07-04 21:17:57 +02:00
aggstam
9758c6c01f
repo: fixed tests
2023-07-04 17:23:20 +03:00
aggstam
a63a808992
util/cli/async_daemonize: use log_file to explicitly write to, impl signal handler using async signal hooks
2023-07-04 13:17:40 +03:00
parazyd
8b1042ce17
net/protocol/ping: Correct pong debug message.
2023-07-03 22:53:21 +02:00
parazyd
113c45b41e
net/hosts: Fix scheme parsing.
2023-07-03 21:21:51 +02:00
parazyd
6c740085f5
net/settings: Default transport_mixing to false.
2023-07-03 20:57:39 +02:00
parazyd
17471d7aaa
net/hosts: Remove redundant scheme handling.
2023-07-03 18:10:03 +02:00
parazyd
3546af6c79
lilith: Support versioning of spawned networks.
2023-07-03 17:35:33 +02:00
aggstam
0d00179abd
darkfid2: further extend tests foundation | repo: fmt
2023-07-03 16:50:44 +03:00
aggstam
a3d04e0b46
bin/darkfid2: set foundation for implementing new darkfid
2023-07-03 14:35:56 +03:00
aggstam
bca71304f9
validator: full block validation added
2023-07-01 18:54:33 +03:00
parazyd
22c405dabd
net/hosts: Filter self address only if not doing localnet.
2023-06-30 19:05:57 +02:00
aggstam
b122e4e19e
blockchain: minor pointers cleanup
...
We don't want to introduce &BlockchainOverlayPtr in runtime, because we will end up with lifetime hells, and copying is cheap
2023-06-30 15:06:54 +03:00
aggstam
6fa4049a1b
Make Repo Great Again
2023-06-29 17:29:23 +03:00
aggstam
b05fbe53cf
net:hosts: fixed tests
2023-06-29 16:44:20 +03:00
aggstam
1ea8adfb28
repo: updated everything to merged stuff
2023-06-29 16:13:43 +03:00
aggstam
611bd9734b
Missing rustqlite bundled-sqlcipher feature added
2023-06-29 15:06:47 +03:00
aggstam
abc8290b9f
Makefile: use nightly toolchain
2023-06-29 15:03:18 +03:00
aggstam
fd44b20b7a
consensus/state: Removed obselete SlotCheckpoint
2023-06-29 14:40:09 +03:00
parazyd
648e0de0ed
net/hosts: Verify pluggable transport address correctness.
2023-06-29 13:13:16 +02:00
parazyd
55ee919906
net: Perform full p2p code cleanup and improve certain pieces.
...
Notable changes:
* Rewritten transport protocols into Dialer and Listener (Nym is TODO)
This simplifies using the transports a lot, as can be seen for example
in src/rpc, and generally around the p2p library. It also defines features
for each transport (all of which are enabled by default). We drop the
socks client for Tor and Nym and use first-class support with the Arti Tor
library, and nym-sphinx/nym-websockets (to be used with nym-client).
* Outbound session healing
The outbound session will now poll and try to fill all the requested
slots more efficiently, and if needed, will activate peer discovery to
find more peers if we can't connect to any known ones. Also if we're
unable to connect to any, we shall drop them from our set.
Additionally, transport mixing is enabled by default, so when we're
allowing transport mixing, and we use Tor, we will also be able to connect
to other transports that Tor can connect to (e.g. tcp://).
* Unix socket transport dropped
We haven't been using this, and it seems we're not going down this path,
so the code has been obsoleted and removed.
* TLS session verification
We fully verify server and client TLS certificates upon connection so
we're able to perform TLS1.3 with forward secrecy.
* lilith pruning
lilith now periodically prunes known peers from its sets if it's unable
to connect to them.
2023-06-29 13:13:15 +02:00
parazyd
d070b7792b
wallet: Replace sqlx with rusqlite.
2023-06-29 13:06:54 +02:00
parazyd
cbbfcef832
raft: Remove entire raft module.
...
This code is not needed anymore.
2023-06-29 13:06:54 +02:00