Commit Graph

1317 Commits

Author SHA1 Message Date
narodnik
6081f12b71 move src/bin/ircd.rs to new subcrate in bin/ircd/ 2021-12-25 10:46:53 +01:00
narodnik
90d859e424 abstract privmsg stuff into a proper Protocol object that uses the jobs manager to ensure the running tasks are properly closed when the channel disconnects. 2021-12-25 10:14:10 +01:00
narodnik
be5378f293 working p2p irc :) 2021-12-24 11:43:05 +01:00
parazyd
ed2fdae2da bin: clippy lints. 2021-12-24 09:48:02 +01:00
narodnik
4116b014ec load program options and interpret privmsg commands 2021-12-24 09:41:26 +01:00
Dastan-glitch
3932a971ec Linting 2021-12-24 08:50:23 +01:00
Dastan-glitch
b398a41526 Formatting 2021-12-24 08:50:23 +01:00
Dastan-glitch
80ba9a2dca Error handling 2021-12-24 08:50:23 +01:00
parazyd
9777e7c3cc walletdb: Proper row updating and have tree_gen return empty tree. 2021-12-22 16:06:29 +01:00
parazyd
baf941d3f5 walletdb: Use debug statements instead of trace. 2021-12-22 16:06:29 +01:00
parazyd
108b383c31 walletdb: Test merkle tree. 2021-12-22 16:06:29 +01:00
lunar-mining
a44956f0ff src:state.rs: save tree after we generate witness values 2021-12-22 14:56:00 +01:00
lunar-mining
e539efabf1 cashier: add save/load/create merkle tree to cashierdb and cashierd 2021-12-22 14:10:08 +01:00
lunar-mining
7a598c2720 walletdb: pass a reference to put_tree() 2021-12-22 14:10:08 +01:00
lunar-mining
ad9b9c0a9f src/state.rs: save updated tree to wallet 2021-12-22 14:10:08 +01:00
lunar-mining
a33130175d darkfid: read tree from sql 2021-12-22 14:10:08 +01:00
lunar-mining
6d62048f2c client: create tree if doesn't exist 2021-12-22 14:10:08 +01:00
lunar-mining
23e55a12fd walletdb: add load, save and create tree functions 2021-12-22 14:10:08 +01:00
lunar-mining
f3f114d19e crypto/mod + state.rs: cleanup witness comments 2021-12-22 14:10:08 +01:00
lunar-mining
d7962f4be9 error: add From conversion for bincode::ErrorKind 2021-12-22 14:10:08 +01:00
narodnik
bc0299d806 recover all p2p net example code for testing purposes 2021-12-22 10:28:52 +01:00
parazyd
128e3b0253 bin: Replace simple_logger with simplelog. 2021-12-21 23:29:54 +01:00
narodnik
940a537476 ircd store nick and channels 2021-12-21 11:40:46 +01:00
narodnik
2e1af7090b don't need to send loads of host headers on connect 2021-12-21 10:03:28 +01:00
narodnik
ed8602c8ea rudimentary working IRC server 2021-12-21 09:53:17 +01:00
parazyd
c817082969 crypto/merklenode: Implement serialization with serde.
We already have serde as a dependency, and not doing it this way
makes it way too complex, instead we can just use bincode+serde to
serialize and deserialize our Merkle trees.
2021-12-20 23:21:28 +01:00
narodnik
0e7b0b0814 non working ircd server 2021-12-20 16:25:52 +01:00
lunar-mining
1e0e9ae56b loader: dummy ContractLoader and functions 2021-12-20 14:08:50 +01:00
lunar-mining
7905599b7b util/ mod: added loader 2021-12-20 14:08:29 +01:00
parazyd
3edd649d82 darkpulse: clippy cleanups. 2021-12-19 18:50:18 +01:00
parazyd
9c989f1907 service/sol: Hardcode tx fee and don't use deprecated API. 2021-12-19 18:49:54 +01:00
parazyd
ef14311935 bin/drk: Fix log level for Trace. 2021-12-19 18:49:44 +01:00
parazyd
7cda52b2ef clippy cleanups. 2021-12-19 18:15:02 +01:00
parazyd
88363555ea token_list: Fix tests. 2021-12-19 17:42:43 +01:00
parazyd
b94a55ef4e darkpulse: cargo fmt. 2021-12-19 16:45:04 +01:00
parazyd
21999eea4b token: Move JSON files into contrib directory. 2021-12-19 16:45:03 +01:00
ghassmo
c803cb6d8d darkpulse: cleanup & organize modules structure 2021-12-18 20:31:16 +04:00
ghassmo
174256b80c integrate darkpulse backend code 2021-12-18 20:09:17 +04:00
lunar-mining
2eaed7e922 made binaries more uniform and fixed typos 2021-12-17 09:26:35 +01:00
lunar-mining
4133b5e02f moved event notifications to log::trace 2021-12-16 10:44:14 +01:00
lunar-mining
618ad12c7e added -t, --trace option to binaries 2021-12-14 22:34:43 +01:00
lunar-mining
973dd67bd0 moved some debug! statements to info! 2021-12-14 20:41:51 +01:00
parazyd
b5ce29e4dd wallet: Fix tests. 2021-12-11 16:06:37 +01:00
parazyd
f019220bcf wallet: Create parent path to database if necessary. 2021-12-11 14:46:52 +01:00
parazyd
dc397a1f91 circuit: Minor cleanup of contracts. 2021-12-04 00:14:52 +01:00
parazyd
9e72280ea8 client: Fix update_state. 2021-12-03 10:20:54 +01:00
parazyd
6cbad936f7 client: Add debug message before applying state.
Currently the program is either not entering this function for some
weird reason, or there's a silent failure inside the function which
is not coming up. Needs investigation.
2021-12-03 02:00:17 +01:00
parazyd
0ea17724f8 YOLO
This is not well thought out, but since we're using mul_short in our
circuit for the token commitment, we should make sure that the token ID
fits in an unsigned 64bit integer.
2021-12-03 01:48:32 +01:00
parazyd
5aef00247e Add debug derives and more serialization test units. 2021-12-03 01:34:24 +01:00
parazyd
04458bcb87 circuit: Rename asset to token. 2021-12-02 22:25:48 +01:00