Commit Graph

1375 Commits

Author SHA1 Message Date
ghassmo
b0fc31ead2 continue works on issue #35 2022-01-11 17:27:13 +04:00
narodnik
0561ed1b42 Merge branch 'master' of github.com:darkrenaissance/darkfi 2022-01-09 21:11:54 +01:00
narodnik
ba7a0802db use yield_now() in load_address() loop to prevent deadlock with other tasks. 2022-01-09 21:02:15 +01:00
lunar-mining
d001a140dc moved src/bin/ to /example and fixed errors 2022-01-09 15:46:01 +01:00
lunar-mining
fad4e7aa65 renamed /blockchain to /chain 2022-01-09 14:19:15 +01:00
lunar-mining
496aa504c6 moved /circuit to /zk/circuit 2022-01-09 14:03:49 +01:00
lunar-mining
88cf3114d8 moved /rpc to /util/rpc 2022-01-09 13:48:11 +01:00
lunar-mining
73418b0119 Revert "moved /node/wallet to /wallet"
This reverts commit 65dbae7022.
2022-01-09 13:05:03 +01:00
lunar-mining
65dbae7022 moved /node/wallet to /wallet 2022-01-09 12:54:35 +01:00
ghassmo
6e22b4ec9d create node and blockchain features 2022-01-08 20:01:05 +04:00
ghassmo
2c46091faa create zk module 2022-01-08 18:39:44 +04:00
ghassmo
aa6fbc1085 create node module and move darkfid to bin dir 2022-01-08 18:30:29 +04:00
ghassmo
b29d858ea9 remove cashier dependencies 2022-01-08 17:17:24 +04:00
ghassmo
a591bb526d WIP clean and refactoring according to issue #35 2022-01-08 04:11:03 +04:00
ghassmo
24bc06daf8 cli: print the path when there is an error parsing the config file 2022-01-07 19:08:24 +04:00
parazyd
dc79fe325c Change some logs from trace to debug in the codebase. 2022-01-07 15:20:26 +01:00
ghassmo
4e2c7f677f service/btc: print the main address when run cashierd 2022-01-07 17:50:31 +04:00
parazyd
de3f42530d darkfid: Fix fetching balances.
Before this, only the final coin was shown for the balance. Now all the
coins are summed and the true balance is shown.
2022-01-07 00:11:57 +01:00
parazyd
b006cb5a96 cli: Fix amount param type (change from u64 to f64). 2022-01-06 23:19:58 +01:00
ghassmo
17644b1049 use clap 3 in example/net.rs 2022-01-07 01:00:16 +04:00
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