parazyd
681944d0d1
rpc: Implement async RPC server with TCP and TLS support.
2021-09-23 11:31:32 +02:00
parazyd
c39a1bd9ec
Remove HTTP remnants.
...
Join the Tim Berners Lee Kicking Club!
2021-09-23 11:12:59 +02:00
ghassmo
5839be90f9
add NotSupportedNetwork error to error.rs
2021-09-22 14:50:14 +03:00
ghassmo
64ec12e30c
split btc from the default feature
2021-09-22 13:35:40 +03:00
ghassmo
7801b31094
add BridgeError to error.rs
2021-09-22 13:07:31 +03:00
parazyd
47b0c211ff
cli: Implement drk2 for JSON-RPC API reference.
2021-09-14 18:04:27 +02:00
ghassmo
be4746324b
add SolFailed error to error.rs
2021-09-12 01:41:46 +03:00
ghassmo
df97ccf8fb
make [btc] feature optional and the default one & enable [sol] as optional feature
2021-09-10 13:02:43 +03:00
ghassmo
1e210f9945
create new error type for btc client
2021-09-09 13:59:06 +03:00
lunar-mining
b37eebeb91
ran cargo fmt
2021-09-09 09:10:00 +02:00
lunar-mining
399dffa7e5
removed default config and added ConfigNotFound error
2021-09-09 09:09:19 +02:00
Janus
c21699b312
Use shorthand for errors and fmt
2021-08-31 22:14:36 -04:00
ghassmo
fff6827343
darkfid return ClientResult with a proper message instead of panic and crash
2021-08-30 01:06:44 +03:00
ghassmo
4a1ecdcbfc
create specific error type for client
2021-08-28 19:17:25 +03:00
ghassmo
900818973b
print an explicit error for async_channel
2021-08-27 17:35:09 +03:00
Janus
1c834bbe5f
Make ElectrumClient spawn from cashier
2021-08-26 08:46:44 -04:00
lunar-mining
cfab54ecd7
added BadBTCAddress error
2021-08-15 10:54:45 +02:00
ghassmo
e52ff2dfce
add Base58EncodeError and Base58DecodeError to error.rs
2021-08-10 02:34:47 +03:00
lunar-mining
a0f5854ecb
implemented deposit on rpc/adapter
2021-07-24 15:43:03 +02:00
lunar-mining
68dc5f54b2
removed old error todos
2021-07-18 23:21:36 +02:00
parazyd
340631df2d
Code linting.
...
For best and standard practices in Rust, acronyms should be CamelCase,
and capitalization should be avoided; i.e. ZKCircuit -> ZkCircuit
This commit replaces all such occurencies in the codebase.
2021-07-16 11:25:56 +02:00
lunar-mining
a895bea014
switched from custom config parsing to toml
2021-07-12 13:24:22 +02:00
lunar-mining
c262bee011
massively improved jsonrpc_core error handling. implemented emptypassword error
2021-07-08 14:17:35 +02:00
ghassmo
50316d7ef5
add surf error type
2021-07-06 08:31:59 +03:00
rachel-rose
01e109493d
added key_id param to put_own_coins
2021-07-05 13:01:11 +02:00
rachel-rose
97eaf01e78
fixed error handling for rusqlite
2021-07-04 11:54:31 +02:00
rachel-rose
bc93d1734e
implemented custom error handling for jsonrpc_core
2021-07-03 09:42:36 +02:00
rachel-rose
e0053026aa
added wallet tests. updated adapter functions to init_db()
2021-07-02 21:31:47 +02:00
rachel-rose
83a7148e08
implemented Encodable for IncrementalWitness and finished put_own_coins
2021-06-24 15:43:54 +02:00
rachel-rose
4c7ce86360
made walletdb constructor, modified darkfid.rs with reference to walletdb. updated walletdb with
...
wallet variables. partially implemented cashier check.
2021-06-20 10:48:56 +02:00
rachel-rose
5352a73fd2
added error handling for path dirs
2021-06-14 12:56:23 +02:00
ghassmo
437273d527
add TryFromError to Error enum
2021-05-29 13:46:06 +03:00
ghassmo
1a6bccd8e9
cargo fmt & clean up
2021-05-28 16:28:24 +03:00
ghassmo
f9de433261
impl error for rocksdb::Error
2021-05-28 16:17:28 +03:00
ghassmo
63c3e8c9af
reqrep.rs catch ctrl-c SIGINT signal and gracefully stop the service
2021-05-27 01:12:48 +03:00
narodnik
19140a78ec
Merge branch 'master' of github.com:darkrenaissance/darkfi
2021-05-21 14:03:26 +02:00
narodnik
62e0da8630
merkle checking is correct
2021-05-21 13:44:06 +02:00
rachel-rose
6d239458cb
removed unused error types
2021-05-20 21:01:58 +02:00
rachel-rose
2b78f0adb2
merged src/net/error.rs with src/error.rs. deleted src/net/error and updated all code in /net to accept change
2021-05-20 20:36:45 +02:00
rachel-rose
0737809b29
cleaned up more warnings
2021-05-20 16:46:56 +02:00
rachel-rose
caaeecc36b
refactored src/error.rs to work with 'clone'. changed error macros in
...
async-serial.rs and serial.rs to reflect this change. updated all files
with new error handling.
2021-05-20 11:44:38 +02:00
narodnik
6cc6af0f0f
Merge branch 'master' of github.com:darkrenaissance/darkfi
2021-05-16 07:59:18 +02:00
narodnik
ec78bf9ac9
return specific errors for VerifyFailed
2021-05-16 07:53:21 +02:00
ghassmo
0c82bdb531
print async_channel error
2021-05-15 22:45:18 +03:00
ghassmo
a0928421e5
cargo fmt & clean up
2021-05-15 14:46:35 +03:00
ghassmo
26d1382f14
cargo fmt
2021-05-14 17:48:42 +03:00
ghassmo
cd213f2689
implement gateway client
2021-05-14 17:47:55 +03:00
ghassmo
248e152423
switch to zmq.rs library
2021-05-14 14:57:01 +03:00
rachel-rose
0645fb2174
added error conversion for rusqlite
2021-05-11 10:51:38 +02:00
ghassmo
ddb177d3b6
Merge branch 'master' of github.com:narodnik/sapvi
2021-05-08 14:02:31 +03:00