Commit Graph

7255 Commits

Author SHA1 Message Date
parazyd
fdb84606ca mmproxy: Duck hunting 2023-11-19 14:15:36 +01:00
parazyd
579a45cbb5 mmproxy: Add more helpful log messages 2023-11-19 14:04:19 +01:00
parazyd
b8b02aee80 mmproxy/stratum: Mining target calculation 2023-11-19 11:21:39 +01:00
x
fd934a8e3a introduce CoinParams to money_xfer 2023-11-19 08:38:51 +01:00
x
cc9930b53b fix compile error in faucetd 2023-11-19 06:21:41 +01:00
Dastan-glitch
27531c487b bin/tau: show refids as well when listing tasks 2023-11-19 04:45:53 +03:00
Dastan-glitch
c793cfdfd5 bin/darkirc: [taubot] replace id with ref_id 2023-11-19 04:25:28 +03:00
x
7598243783 split money client transfer_v1.rs into submodules: make_transfer_call(), builder and proofs. 2023-11-18 15:43:21 +01:00
x
929b6d0833 improve transfer_v1, simplify the default builder, and provide a lower level API for constructing more complex calls 2023-11-18 14:48:15 +01:00
ertosns
c54cc71527 [research/stable] minor edit 2023-11-18 13:54:55 +02:00
ertosns
a5d246d627 [research/stable] add section on blind auctions 2023-11-18 13:49:38 +02:00
dark-john
4da0207bbd More explicit error message for users who have failed to generate their own key pair (#235)
* More explicit error message for users who have failed to generate their own key pair.

* Tweaked error message.

---------

Co-authored-by: dark-john <dark-john@fake-email.com>
2023-11-18 08:39:28 +00:00
eyeHORUSdotETH
d56829d764 Update philosophy.md
- fixes typos
- fixes misspellings 
- removes some commas
- adds some oxford commas
2023-11-18 08:38:55 +00:00
ertosns
4f4ec89f1f [script/research/stable] dark stable (Nun) 2023-11-18 01:35:47 +02:00
ertosns
b362aa2fd3 [doc/dao/vote] minor fix of latex 2023-11-18 01:35:47 +02:00
y
117b4c6750 [eventgraph/util] formatting 2023-11-17 15:55:23 -05:00
y
d8e957788b [net] Fix issue Dag prune issue
There was an error in calculating the timestamp for the next "rotation",
i.e. when the Dag should prune.
This commit fixes:
- An underflow when calculating the sleep time for the Dag pruning
  process
- An off-by-one error that caused next_rotation_timestamp to give a
  timestamp in the past

Unit tests have also been added to prevent the above problems from
occurring again. They should be general enough to catch rotation periods
that are more complex than a period of `1`, which is what we are
currently using
2023-11-17 14:55:53 -05:00
y
bf5d77c31f [net] Modify Event pruning debugging
Change approach to dynamically calculate Genesis rather than storing it
in the EventGraph struct.

Add error-level debug messages in the case when a peer requests an
outdated Event and the node responds without an error. This indicates
that our Dag contains outdated events, indicating that the previous
prune failed.
2023-11-17 11:27:44 -05:00
y
c7727c8633 [net] Add debug messages when receiving old Events
Added debug statements when an EventPut occurs for an event with
a timestamp that is older than the Genesis event of the EventGraph.

Ideally this shouldn't happen but could theoretically occur if a node
does not properly prune its DAG.

In order to do this, `genesis` and `days_rotation` were added as fields
to EventGraph and 'getter' methods were added to retrieve these values.
2023-11-17 10:19:00 -05:00
aggstam
0708f7d066 contrib/docker: musl static docker builded added 2023-11-17 16:37:24 +02:00
x
b855d33d9f money_transfer: split coin selection into a separate function 2023-11-17 11:52:17 +01:00
y
521bc801fa [net] tor-dialer: revert to panic and document why 2023-11-16 15:59:57 -05:00
y
e4eb6754dd [net] Tor dialers: return error instead of panic
Refactor the Tor Dialers to return an error instead of panicking via
unwrap(). In any case, we don't expect this to happen because new
dialers are instantiated using a macro that ensures that endpoints have
valid hosts and ports.
2023-11-16 13:42:21 -05:00
y
573d283c63 update arti to v0.11.0 2023-11-16 10:35:31 -05:00
parazyd
375a8b41ed chore: Update create dependencies 2023-11-16 15:25:38 +01:00
parazyd
648989e36c darkirc: Update eventgraph API 2023-11-16 15:25:38 +01:00
parazyd
e12ea8d31b tau: Update eventgraph API 2023-11-16 15:25:38 +01:00
parazyd
5580559707 genev: Update eventgraph API 2023-11-16 15:25:38 +01:00
parazyd
915520ea99 eventgraph: Use atomic database operations.
Additionally this changes the dag_insert API to take a slice of events.
2023-11-16 15:25:38 +01:00
parazyd
cf4f85f7e9 eventgraph: Abstract dag_prune into a separate reusable function and make it atomic. 2023-11-16 15:25:38 +01:00
parazyd
25d919ea91 Makefile: Pass target variables to inner darkirc Makefile.
This should be done for other bins as well when not lazy.
2023-11-16 15:25:38 +01:00
lunar-mining
1d5f72739f book: add tor-darkirc tutorial to SUMMARY 2023-11-16 13:55:08 +01:00
parazyd
3b21fcaa7b darkirc: Abstract seen_db handling into separate functions
This will initialize the sled tree on-demand. Additionally, we make the
handling more robust and will disconnect the client on any potential sled
errors that might happen.

We also make mark_seen() write atomically into the sled tree via sled::Batch.
2023-11-16 13:11:21 +01:00
x
92c4f2760e contribute doc: add a few TODOs 2023-11-16 11:30:14 +01:00
x
959b9f0871 contribute doc: add refs for p2p resource manager and conn algo to find more info. 2023-11-16 11:03:59 +01:00
x
a9bb2146b1 contribute doc: fix minor formatting error 2023-11-16 10:58:17 +01:00
x
dc1188f742 update the contribute doc 2023-11-16 10:51:59 +01:00
y
b42a36f2bd [darkirc] fix syntax issues in meetbot 2023-11-15 17:58:25 -05:00
Dastan-glitch
ade0aa1dc7 bin/tau: [tau-python] alias UTC instead of importing it 2023-11-15 18:28:47 +03:00
y
f94b995257 [doc] tor-darkirc.md: typos and bulletproofing 2023-11-15 09:52:11 -05:00
y
90f4dbd576 [doc] Add tor seeds to tor-darkirc.md 2023-11-15 09:46:26 -05:00
y
3e2893dd0e [doc] Fix tor-darkirc guide
Remove bad instructions that told people to modify Rust source code.
2023-11-15 09:41:02 -05:00
y
2a028a8415 [doc] Add instructions for Tor-enabled darkirc
The page is not added to src/SUMMARY.md as we are still in the process
of making this feature stable. When it comes time to officially support
and release darkirc, this page should be added to SUMMARY.
2023-11-15 09:27:10 -05:00
y
633cb68b9a [net] Add function to check local hosts
- Add function in Hosts to check for Urls we would consider to be
  'local' rather than 'global' or remote
- Add unit tests
- Refactor existing code to use the new function
2023-11-14 13:46:56 -05:00
y
959981a7f6 [net] simplify loop syntax 2023-11-14 13:46:56 -05:00
aggstam
551e357ef2 net/protocol/protocol_address: stupidity be gone 2023-11-14 18:58:41 +02:00
aggstam
023ef2b0b1 net/hosts: proper pfizer dosage for everyone in quarantine 2023-11-14 17:37:30 +02:00
lunar-mining
9a63c70658 dnet: add msg log usage to README 2023-11-14 12:58:42 +01:00
parazyd
5949a7ec38 net/hosts: Re-enable quarantine, and actually reject peers after limit.
Later on we can do some kind of whitelist if we want, or a way to
un-reject certain peers.
2023-11-14 09:40:30 +01:00
aggstam
fb0671b56c lilith: periodic purge strategy changed
Previously we were picking N random hosts which doesn't ensure that we will check all hosts for liveness. The new strategy uses a ring buffer where we always check the first N hosts and then push live ones back at the end, ensuring that we will test all of our hosts over time. New hosts are appended at the end of ring buffer, since the are the most recent, hence live ones
2023-11-14 03:01:27 +02:00