Commit Graph

1355 Commits

Author SHA1 Message Date
parazyd
9b15f27cfe net/manual_session: (clippy) Dereference SocketAddr. 2022-01-06 19:41:15 +01:00
parazyd
7b72406057 util/address: clippy lint for from_str(). 2022-01-06 19:40:16 +01:00
Dastan-glitch
f6874ff1bf Use same async sleep function throughout source code (#47)
* Use same async sleep function throughout source code

* Rename module async to async_util

* Minor formatting

Closes #46
2022-01-06 18:17:57 +00:00
parazyd
00776e81e4 book/zkas: Typo correction in bincode.md 2022-01-06 17:04:50 +01:00
lunar-mining
97f2e6dbe1 tui: update example 2022-01-06 11:55:51 +01:00
lunar-mining
8a672bf19f tui: pass coordinates to Widget::new() 2022-01-06 11:55:51 +01:00
ghassmo
2f53917417 generate json rpc api from darkfid's comments for mdbook 2022-01-06 03:45:34 +04:00
parazyd
e90102e49d net/manual_session: Fix formatting. 2022-01-06 00:08:17 +01:00
narodnik
23e109a3e1 share the list of seen privmsg ids so that locally sent messages can be added to it. 2022-01-05 19:33:39 +01:00
ghassmo
de3e0bfe3e change p2p cli settings in darkpulse 2022-01-05 22:28:50 +04:00
narodnik
7ed58b0d2c session for manual connections 2022-01-05 18:32:13 +01:00
narodnik
8b37435806 ManualSession stub 2022-01-05 17:44:22 +01:00
Dastan-glitch
86ec332b71 Improve some error handling
PR (#45)
2022-01-05 08:46:20 +00:00
ghassmo
a39a84dfb7 minor changes and clean up 2022-01-05 03:15:23 +04:00
ghassmo
72f4c775e1 use TryFrom when getting PublicKey from Address 2022-01-05 02:51:19 +04:00
ghassmo
be1bdec8a2 darkfid: add the option to import keypair from json file 2022-01-05 02:51:19 +04:00
ghassmo
9882856eeb crypto/keypair: import public and private key from bytes 2022-01-05 02:51:19 +04:00
ghassmo
3edebe6b77 darkfid: implement set_default_address rpc function 2022-01-05 02:51:19 +04:00
ghassmo
ea7746e3cd darkfid: implement get_keys rpc function to return all saved addresses 2022-01-05 02:51:19 +04:00
ghassmo
a77a21075d converting PublicKey to String using Address type 2022-01-05 02:51:19 +04:00
ghassmo
49e1699702 walletdb: add the option to set/get the default keypair 2022-01-05 02:51:19 +04:00
ghassmo
02ec163fd6 darkfid: continue working on exporting keypair to external file 2022-01-05 02:51:19 +04:00
ghassmo
0b15378ca7 src/client: check if main keypairs vector is empty instead of checking
if returning error
2022-01-05 02:51:19 +04:00
parazyd
6c7f563786 cli: Use incremental -v flag for verbosity instead of separate flags. 2022-01-04 15:00:04 +01:00
parazyd
be944c4d3a wallet: Log SQL statements in the Trace loglevel. 2022-01-04 11:07:05 +01:00
ghassmo
bfcd69254c util/address: make Address type 2022-01-04 01:41:06 +04:00
ghassmo
aa00491572 crypto/keypair: impl Display for PublicKey 2022-01-03 01:23:36 +04:00
ghassmo
8e498f0102 darkfid wallet: WIP support multi keys & exporting and importing keypair to/from a file 2022-01-03 00:16:59 +04:00
ghassmo
e247c4cf40 jsonrpc: add key_gen and get_keys errors 2022-01-02 23:42:04 +04:00
ghassmo
83a9ac84a7 drk: get all addresses from darkfid 2022-01-02 23:27:51 +04:00
ghassmo
3c91d0d2fa remove restrictions to generate more than one keypair & load the all the keys from walletdb 2022-01-02 23:10:12 +04:00
ghassmo
d01bc3828b gatewayd: switch to TermLogger 2022-01-01 18:00:36 +04:00
ghassmo
3ac5353d0a clean up 2022-01-01 06:40:44 +04:00
ghassmo
92ed458518 upgrade to clap 3.0 and move cli parser structs to cli dir 2022-01-01 06:05:19 +04:00
ghassmo
61ff3ebb3f cargo fmt 2021-12-31 18:54:07 +04:00
ghassmo
8659bc7653 hide warning messages 2021-12-31 18:53:54 +04:00
ghassmo
bc8640f81b add constraints to tui mod 2021-12-30 15:20:31 +04:00
ghassmo
31993efb71 add tui library 2021-12-30 15:14:31 +04:00
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