Commit Graph

42 Commits

Author SHA1 Message Date
parazyd
9270910db0 chore: Minor license header fix 2023-12-26 13:33:21 +01:00
parazyd
0aba4e7864 chore: fmt 2023-12-13 12:01:09 +01:00
lunar-mining
369f894fb7 dchat: add p2p.get_info() method to rpc 2023-12-09 14:53:15 +01:00
lunar-mining
4ec4ddb1a5 dchat: implement rpc methods for send + recv and cleanup 2023-12-08 21:07:05 +01:00
lunar-mining
e4e1cec5fe dchat: refactor to use async-daemonize
TODO: to make dchat compatiable with async-daemonize, we needed to
seperate the dchat daemon from dchat messenger cli.

previously we made a custom daemon so that we could run daemon processes
in the background while leaving the terminal clear for stdin().

the next step is to reimplement the dchat send message menu in python
as a very basic cli.
2023-12-08 21:06:48 +01:00
lunar-mining
914e8037aa dchat: update to new RPC + p2p API and delete redundant dependecies 2023-12-08 21:03:42 +01:00
lunar-mining
1bb4f67e14 dchat: commit erroring code
error: failed to select a version for darkfi.

... required by package dchat v0.4.1 (/home/x/src/darkfi/example/dchat)

versions that meet the requirements * are: 0.4.1

the package dchat depends on darkfi, with features: async_daemonize but darkfi does not have these features.

failed to select a version for darkfi which could resolve this conflict
2023-12-08 21:01:56 +01:00
aggstam
5d63d86083 chore: cleanup 2023-07-08 19:04:47 +03:00
aggstam
1ea8adfb28 repo: updated everything to merged stuff 2023-06-29 16:13:43 +03:00
parazyd
6cddfac05f Replace num_cpus crate with stdlib alternative. 2023-05-19 09:59:55 +02:00
parazyd
71cd3064d6 Update license year. 2022-12-28 13:06:00 +01:00
aggstam
3692735012 rpc/server: detach request handling 2022-11-25 18:05:35 +02:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
lunar-mining
22151f6b7a book/dchat: use anchors where possible, copy paste code where not.
also run cargo fmt.
2022-10-20 12:02:04 +02:00
aggstam
49b6582930 dchat: enabled localnet 2022-10-19 14:03:30 +03:00
Luther Blissett
62d1f06c1f Update imports for type migrations. 2022-10-17 00:34:34 +02:00
Luther Blissett
2ca5866c43 Fix tests compilation 2022-10-15 20:30:21 +02:00
Luther Blissett
bcf031fb8a Update examples. 2022-09-24 16:02:20 +02:00
aggstam
e8c516ec62 p2pnet: 5b7306af71 reverted 2022-08-25 17:04:48 +03:00
ghassmo
6e6c240891 cargo clippy over all projects 2022-08-25 13:41:58 +04:00
aggstam
5b7306af71 p2pnet: implemented caller signaling 2022-08-24 21:29:19 +03:00
aggstam
6134dcdad7 p2pnet: inbound and external addresses vectorized 2022-08-23 21:49:34 +03:00
lunar-mining
a7abb0e5b6 dchat: added rpc 2022-08-08 14:53:12 +02:00
lunar-mining
0213730a39 dchat: add rpc + AppSettings 2022-08-08 12:04:26 +02:00
lunar-mining
46c33008f2 dchat: renamed error to dchat_error 2022-08-05 12:47:28 +02:00
lunar-mining
074a34593b book/dchat: EDIT2- polish dchat code, use mdbook format for code + beautify 2022-08-05 12:21:57 +02:00
lunar-mining
21db1ded17 book/ dchat: split up into sections + finish documenting UI 2022-08-03 10:33:16 +02:00
lunar-mining
4a347bae87 dchat: removed termion dependency + massively simplified UI 2022-08-02 13:49:46 +02:00
lunar-mining
ec114f6744 dchat: use different log files for different nodes 2022-08-01 09:36:31 +02:00
lunar-mining
bc9d313765 dchat: move menu() to start() 2022-07-31 12:05:13 +02:00
lunar-mining
445a4a837c dchat: renamed message to msg and removed unnecessary util methods 2022-07-31 11:40:48 +02:00
lunar-mining
0e20fa2e6d dchat: quick cleanup 2022-07-31 08:53:17 +02:00
lunar-mining
ba7a5cc21b dchat: add error handling 2022-07-31 08:51:53 +02:00
lunar-mining
29feadcf1c dchat: improved UI + cleanup 2022-07-30 11:26:27 +02:00
lunar-mining
7844ca53bc dchat: implement DchatmsgsBuffer to store received msgs 2022-07-29 11:48:36 +02:00
lunar-mining
3cd20de425 dchat: hardcode inbound/ outbound settings as Alice + Bob
add command line switch
2022-07-29 10:32:13 +02:00
lunar-mining
80a3fb1ae3 dchat: pass command line arg to spin up new dchat instance 2022-07-28 12:30:50 +02:00
lunar-mining
1394a21d59 dchat: move render() into main to avoid mismatched lifetime error 2022-07-27 22:01:55 +02:00
lunar-mining
01047c9cad dchat: fixed settings to connect correctly to seed node
cleaned up old tcp code
2022-07-26 09:54:09 +02:00
lunar-mining
90af9667d6 dchat: deleted more code and cleaned up warnings 2022-07-25 20:03:52 +02:00
lunar-mining
e03c8e54ec dchat: created seperate seed and simplified codebase 2022-07-25 19:46:10 +02:00
lunar-mining
6c9054ffa5 dchat: basic cli that sends messages over tpc.
TODO: connect to p2p
2022-07-19 08:47:59 +02:00