Commit Graph

3311 Commits

Author SHA1 Message Date
ghassmo
ba63c32afb taud: avoid uploading local tasks on startup 2022-05-08 05:10:43 +03:00
ghassmo
1b95072b20 book: update tau usage 2022-05-08 03:23:21 +03:00
ghassmo
7796f313ef tau: rework on tau-cli functionalities and design 2022-05-08 03:10:22 +03:00
ghassmo
2d629a1c56 raft: fix datastore path check 2022-05-07 18:20:51 +03:00
ghassmo
95fab04625 tau: add nickname for tasks and attached to comments 2022-05-07 17:30:59 +03:00
ghassmo
b7bfa7e4ff net3: WIP implement tor protocol 2022-05-07 15:23:22 +03:00
narodnik
6197878157 create proper state transition function 2022-05-07 10:28:21 +02:00
Dastan-glitch
9f87c561fa bin/tau: remove key arg and only use the key from file 2022-05-07 02:58:15 +03:00
Dastan-glitch
fcb5b752e1 bin/tau: remove redundant filtering 2022-05-07 02:57:13 +03:00
Dastan-glitch
a2c9f9823d bin/tau: minor fix 2022-05-07 01:50:39 +03:00
Dastan-glitch
ba698a77df bin/tau: use reference instead of copy in filter functions 2022-05-07 01:48:01 +03:00
narodnik
a7a752cf54 daod: move tx stuff from main to own file 2022-05-06 23:01:28 +02:00
narodnik
70293fd181 add missing code for inputs 2022-05-06 22:46:01 +02:00
narodnik
0ba4ad95fe daod: tx verification 2022-05-06 20:49:10 +02:00
aggstam
c27da2b6f4 script/research/clock_sync: code improvements 2022-05-06 18:42:33 +03:00
aggstam
4c1cf3cee6 script/research/clock_sync: simple check to verify system clock 2022-05-05 21:11:50 +03:00
ghassmo
c8ce6b68a5 net3: handle unsupported transport upgrades 2022-05-05 20:26:02 +03:00
ghassmo
6a1953d801 Merge branch 'tokenblind' 2022-05-05 20:06:58 +03:00
ghassmo
6dba5c6a27 walletdb: use de/serialization functions for value field in own coin 2022-05-05 20:05:07 +03:00
ghassmo
c7225de5fa walletdb: add token_blind to walletdb and sql schema 2022-05-05 19:52:14 +03:00
Dastan-glitch
8fded32cdf bin/tau: update README 2022-05-05 18:50:07 +03:00
Dastan-glitch
0a0d04951a bin/tau: making get task by id positional arg and general clean-up 2022-05-05 18:48:49 +03:00
narodnik
9539cd61dc daod python proof of concept for tx builder class 2022-05-05 10:24:55 +02:00
narodnik
1f7a11a59d Add missing token_id to Note. Temp WalletDb workaround. 2022-05-05 10:19:52 +02:00
aggstam
aa659f7318 faucetd: genesis timestamp hardcoded and retrieved based on network 2022-05-04 21:21:36 +03:00
aggstam
d5b9a811a4 consensus: genesis timestamp hardcoded and retrieved based on network 2022-05-04 21:15:56 +03:00
aggstam
be7fd5fef2 consensus/proto/protocol_sync:handle_receive_block(): consensus nodes exit at function start, nodes-tool: upgraded to latest versions 2022-05-04 20:35:58 +03:00
aggstam
5127263cd3 script/research: renamed redundant TODOs to Missing in consensusd, streamlet_rust and validatord 2022-05-04 16:49:22 +03:00
aggstam
8d6c696e3a consensu/block: added version, consensus/state: fixed epoch 0 participants check, bin/darkfid2: updated config.toml flags, script/consensus_simulation: updated flags 2022-05-04 16:30:08 +03:00
lunar-mining
5bc2b32daf dnetview/ README: small tweaks 2022-05-04 09:29:56 +02:00
lunar-mining
fd35254be1 dnetview: update README 2022-05-04 09:26:59 +02:00
lunar-mining
8f7da1c9ac dnetview: check whether selectable object is empty
* handle error that occurs when data is not fully initialized
2022-05-04 08:58:37 +02:00
lunar-mining
4edebb22ab dnetview: fix bugs in error handling
* only render node_info if our data is not empty
* handle when msgs are Null
* print unexpected data to string
2022-05-04 08:50:48 +02:00
ghassmo
015f3ddefc net3: use more specific error types for bind an address and accept a connection 2022-05-04 05:48:09 +03:00
ghassmo
a020815b43 raft: remove redundant codes 2022-05-04 05:18:25 +03:00
ghassmo
197568f544 blockchain: minor changes: avoid using into iterators when call get_all 2022-05-04 02:46:15 +03:00
ghassmo
b58058bf31 example/p2pdebug: add rpc listener to work with dnetview 2022-05-04 02:24:50 +03:00
ghassmo
c057c610d4 net3: new redesign for acceptor and connector and use more general form for transport protocols 2022-05-04 01:44:30 +03:00
ghassmo
a57a2fc0c5 net3: create wrapper for stream returned by Transport connections 2022-05-04 01:44:30 +03:00
Dastan-glitch
62cb7fc9a4 bin/tau: update README and taud_config 2022-05-04 01:15:15 +03:00
Dastan-glitch
93a2fc7722 bin/tau: remove temp file when done 2022-05-04 01:14:36 +03:00
ghassmo
058ca299a1 bin/tau-cli: clean up filter function 2022-05-03 14:39:42 +03:00
lunar-mining
58131d42ce dnetview: add multitail to README 2022-05-03 12:38:19 +02:00
lunar-mining
1e1cdd03d8 dnetview: updated README 2022-05-03 12:34:57 +02:00
lunar-mining
2b3c50b086 doc: added dnetview 2022-05-03 12:34:42 +02:00
lunar-mining
5f1085853c dnetview: trick to return View error from anon closure
due to the issue of returning a value inside an anonymous closure, we
process errors received from View as follows:

let mut err: Option<DnetViewError> = None;

terminal.draw(|f| match view.render(f) {
    Ok(()) => {}
    Err(e) => {
        err = Some(e);
    }
})?;

match err {
    Some(e) => return Err(e),
    None => {}
}

we create a None option wrapper around DnetViewError. we then write the
error value to the option, and later perform a match on the error and
return.
2022-05-03 12:10:08 +02:00
lunar-mining
0ba3dece3a dnetview: custom error handling
we migrate custom errors to DnetViewError and DnetViewResult.

there is one outstanding problem:

terminal.draw(|f| match view.render(f) {
    Ok(()) => {}
    Err(e) => {
        debug!("{}", e);
    }
})?;

errors that may occur inside of View are currently being propagated into
this anonymous closure, where they cannot be properly handled.
2022-05-03 11:56:09 +02:00
lunar-mining
182ee14212 ircd: example config files 2022-05-03 10:05:53 +02:00
lunar-mining
acd6d9549d dnetview: cleanup
* pass references instead of consuming values wherever possible
* create more descriptive function names
* seperate distinct behavior into separate functions
* tidy variable names and standarize across program
2022-05-03 09:01:20 +02:00
Dastan-glitch
962ddf3a28 bin/tau: minor changes 2022-05-03 01:40:58 +03:00