Commit Graph

4247 Commits

Author SHA1 Message Date
ghassmo
4a47efb330 bin/ircd: print the privmsg on send and receive 2022-09-17 13:41:14 +04:00
ghassmo
40523bc2fd net: show debug message instead of error when unable to decode a msg 2022-09-17 12:59:43 +04:00
ghassmo
230fd7edfc bin/ircd: major bug fix for syncing messages 2022-09-17 12:47:47 +04:00
aggstam
89f32d8290 p2pnet: broadcast(): log channel.send error and prevent loop break 2022-09-17 11:24:35 +03:00
aggstam
a7c3692364 p2pnet: app_version check to verify version format 2022-09-15 17:09:10 +03:00
aggstam
1df3616b36 p2pnet: app_version check to ignore patch version 2022-09-15 16:38:45 +03:00
Luther Blissett
470f8ee33d async_daemonize: Default logs to ~/.local/darkfi directory. 2022-09-15 12:50:13 +02:00
Luther Blissett
03a35d19c1 async_daemonize: Don't mix logs of different bins into the same file. 2022-09-15 12:48:19 +02:00
x
d3d4edb23d typo spelling correction in taud error message 2022-09-15 11:37:09 +00:00
ghassmo
ded78dea6d darkwiki/taud: using lilith as seed nodes 2022-09-15 12:29:25 +04:00
ghassmo
dd35919118 raft: update prune map duration 2022-09-15 12:28:30 +04:00
ghassmo
11f65b6d00 bin/darkwiki: move darkwikid and darkwiki-cli to the same directory in bin & bump version 0.4.0 2022-09-15 11:35:38 +04:00
ghassmo
22be735ea9 bin/taud: bump version 0.4.0 2022-09-14 14:47:00 +04:00
ghassmo
cd4d7ed0a9 bin/taud: clean up and change config file 2022-09-14 14:39:07 +04:00
ghassmo
d2c0e47805 bin/ircd: more optimization for the buffer code and clean up 2022-09-14 13:06:45 +04:00
aggstam
521935b547 lilith: ignore malformed url lines, minor cleanup 2022-09-13 20:24:05 +03:00
aggstam
7ca3a5b041 lilith: save/load spawns hosts from tsv 2022-09-13 20:15:31 +03:00
ghassmo
400c66cb88 net: remove an address from the hosts list if doesn't match 2022-09-13 15:18:32 +04:00
ghassmo
ab2fbd97d1 net: change hosts from Vec to HashSet 2022-09-13 15:18:12 +04:00
ghassmo
93760b5f54 bin/ircd: bump version 0.4.0 2022-09-13 14:42:12 +04:00
ghassmo
de28a50705 bin/ircd: add LastTerm dispatcher 2022-09-13 14:32:35 +04:00
ghassmo
cea9dde460 update sync protocol and ordering algo:
sync protocol: every 4 seconds the node broadcast last_term msg, once the other nodes received that msg they will compare it to their last term if the last_term is less than self_last_term they will send back a vector which contain msgs with a term greater than last_term

ordering algorithm: for ordering algorithm: on receiving new private message,it will check if the same term exist in the buffers if so it will check the timestamp difference if it's more than 3 minute then it will ignore the received msg
2022-09-13 13:58:04 +04:00
Luther Blissett
8f541ea8e9 Revert "Simplify app_version assignment with option_env macro."
This reverts commit 7cfcad95eb.
2022-09-12 22:12:16 +02:00
Luther Blissett
7cfcad95eb Simplify app_version assignment with option_env macro. 2022-09-12 21:36:16 +02:00
aggstam
d433dbd02e p2pnet: optional app_version implemented 2022-09-12 22:05:04 +03:00
Dastan-glitch
05d5794744 bin/tau: add duplication check on tags, adding tags changes to event log 2022-09-12 20:17:29 +03:00
Dastan-glitch
c8546bacfa bin/tau: re-add removed line by accident 2022-09-12 19:57:16 +03:00
Dastan-glitch
99cf6f7789 bin/tau: add support for tags 2022-09-12 19:54:47 +03:00
ghassmo
b793085d12 darkwikid/taud: fix typo 2022-09-11 10:54:12 +04:00
lunar-mining
5f7199a1a7 net/ dnetview: show list of hosts in outbound info 2022-09-10 16:14:30 +02:00
lunar-mining
ef20403c22 daod: change dao_approval_ratio to two values, ratio_quot and ratio_base. check ratio_quot/ratio_base <= yes_votes/all_votes in dao_exec 2022-09-10 09:57:45 +02:00
lunar-mining
3b6a51678d daod/proof: add less_than or equal to checks + bool_check 2022-09-10 08:40:24 +02:00
lunar-mining
3bdf42afc0 Merge branch 'master' of github.com:darkrenaissance/darkfi 2022-09-09 18:06:23 +02:00
ghassmo
36dfb37faa bin/taud: update config 2022-09-09 13:11:57 +04:00
Luther Blissett
f884e422f4 Makefile: Add BINDEPS to zkas target dependency. 2022-09-09 10:26:09 +02:00
Luther Blissett
3f29c4f36d zkas/vm: Add bool_check opcode. 2022-09-08 19:55:09 +02:00
Luther Blissett
9331d04328 zk/gadget: Implement small range check chip for 0..8 bits. 2022-09-08 19:21:35 +02:00
lunar-mining
88d9d32446 daod/proof: update rangecheck for proposal amount with new opcode 2022-09-08 12:33:41 +02:00
lunar-mining
1feb4dd637 daod: added money contract TODO + verify_sigs on dao::mint() 2022-09-08 07:30:18 +02:00
Luther Blissett
506b3701be Makefile: Add zkas deps where needed. 2022-09-07 18:10:51 +02:00
Luther Blissett
6cea231369 node/state: panic if blockchain db connection is broken.
These checks are applicable for merkle_roots.contains() and
nullifiers.contains()
2022-09-07 18:08:17 +02:00
lunar-mining
e8b46560bc dao: add first draft demo spec 2022-09-07 16:10:46 +02:00
aggstam
387f983a52 darkfid/error.rs: commented unused error codes 2022-09-07 14:54:33 +03:00
ghassmo
44fceece00 darkwiki: add workspaces 2022-09-07 15:30:18 +04:00
Luther Blissett
94cc40781e dnetview: Clippy lint. 2022-09-07 13:20:47 +02:00
Luther Blissett
6b792d6203 darkwikid: Clippy lint. 2022-09-07 13:19:03 +02:00
Luther Blissett
e53f17c114 taud: Clippy lint. 2022-09-07 13:18:41 +02:00
Luther Blissett
c293a03981 drk: Remove unused prettytable::cell import. 2022-09-07 13:17:21 +02:00
Luther Blissett
3337ae249f ircd: More robust handling of TOML in parse_configured_contacts.
This is done to avoid thread panics which would not exit the program and
leave it in some weird limbo. Take note, and add this elsewhere where
applicable and be careful about indexing which you haven't confirmed
exists.
2022-09-07 13:15:34 +02:00
Luther Blissett
9ec99c4401 contrib: Merge dependency scripts into a single one. 2022-09-07 12:17:34 +02:00