Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unconfirmed chain #12973

Open
wants to merge 26 commits into
base: Downsize+FOSS
Choose a base branch
from

Conversation

adamPetho
Copy link
Collaborator

Reverts: #12318 #12302

lontivero and others added 15 commits May 7, 2024 06:57
Legal documents have no place here because zkSNACKs is not going to provide any service related to coinjoins, only develop software.
[FOSS] Remove CJ fee related contents
* Remove `CoinJoinIdStore`

This was used mainly to implement the "remixes dont pay" feature, which was added late in the WabiSabi development as an idea to incentivize continue coinjoining, and as a marketing selling point.

It was also used as a trivial optimization for the "friends don't pay" or "one hop don't pay" (what requires a full-index bitcoin node)
Wasabi coordinator doesn't charge any coordination fee by default. `Plebs don't pay threshold` is removed because it makes zero sense.
The coinjoin archiver is simple a logger and as such it should be
implemented using the logging infrastructure.
It is not used by the wallet.
* Create `ExchangeRateProvider2`

* Remove old exchange rate providers and controllers

* Fetch exchange rates from the client

* Make exchange rate provider configurable

* Fix warnings

* Naming error

* CR feedback

* Use Tor to connect to providers

Most of the providers are exchanges that block access to their api from Tor. That means that not all providers can be used when Tor is enabled.

* Add `User-Agent` to requests

Some providers reject the requests if they don't have an User-Agent header. Additionally, using a constant pattern for the requests could help to finger the clients so, we use "random" user agents.

* Remove some exchange rate providers

that are unreacheable using tor. Add mempool.space as default provider.

* Add random delay between queries

---------

Co-authored-by: Kiminuo <kiminuo@protonmail.com>
* Add `FeeRateProvider`

* Add `FeeRateEstimationUpdater`

* Make fee estimation provider configurable

* Replace `HybridFeeProvider` with `FeeRateEstimationUpdater`

* Add User-Agent, Log entry and small refactoring
* Remove custom request timeouts mechanism

* Remove unused things
Refactor UpdateManager and remove UpdateChecker
@lontivero lontivero changed the base branch from master to Downsize+FOSS May 17, 2024 19:05
lontivero and others added 10 commits May 17, 2024 23:27
There are two independent APIs:

* WabiSabi for coinjoining and,
* Wallet required for providing services to the wallet client to operate.
* Organize the API

There are two independent APIs:

* WabiSabi for coinjoining and,
* Wallet required for providing services to the wallet client to operate.

* Make `/synchronize` a synchronous method
…ctory` (WalletWasabi#13052)

CoinJoinProcessor: Pass dependencies properly
@lontivero
Copy link
Collaborator

I've been rebasing this PR to keep it mergeable at any time but I would like to see if it is possible to remove the backend API without removing the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants