Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Feat/sync new from now (subrepo) #232

Merged
merged 34 commits into from
Nov 22, 2021

Conversation

Kukks
Copy link
Contributor

@Kukks Kukks commented Nov 8, 2021

No description provided.

@DanGould
Copy link
Member

DanGould commented Nov 8, 2021

Missing ChaincaseBitcoinStore.cs(26, 30): [CS0506] 'ChaincaseBitcoinStore.InitializeAsync()': cannot override inherited member 'BitcoinStore.InitializeAsync()' because it is not marked virtual, abstract, or override
ChaincaseClient.cs(48, 60): [CS0246] The type or namespace name 'DeviceToken' could not be found (are you missing a using directive or an assembly reference?)

@DanGould
Copy link
Member

DanGould commented Nov 8, 2021

those changes are at get-latest-mature-header

subrepo:
  subdir:   "WalletWasabi.SDK"
  merged:   "451508d90"
upstream:
  origin:   "https://github.com/chaincase-app/WalletWasabi.Standard"
  branch:   "sdk"
  commit:   "b135c86ff"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
@DanGould
Copy link
Member

DanGould commented Nov 9, 2021

😮‍💨 nice, this now includes all the subrepo changes w/o the submodule dep. iOS crashes cause there are permission changes to the tor cookie file in #197 that aren't included here but I think you can check sync-from-now on ssb

docker fails in test cause we're using WalletWasabi.SDK folder now

@DanGould DanGould changed the title Feat/sync new from now Feat/sync new from now (subrepo) Nov 9, 2021
Copy link
Member

@DanGould DanGould left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rip out load from blockheight beforehand is my main request

Chaincase.UI/Components/Status.razor Outdated Show resolved Hide resolved
Chaincase.UI/Pages/LoadWalletPage.razor Outdated Show resolved Hide resolved
Chaincase.UI/Pages/LoginPage.razor Show resolved Hide resolved
Chaincase.UI/Pages/NewPasswordPage.razor Show resolved Hide resolved
DanGould and others added 5 commits November 9, 2021 16:12
subrepo:
  subdir:   "WalletWasabi.SDK"
  merged:   "704e77c81"
upstream:
  origin:   "https://github.com/chaincase-app/WalletWasabi.Standard"
  branch:   "sdk"
  commit:   "7c2ebfacd"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
@Kukks Kukks requested a review from DanGould November 12, 2021 06:38
WasabiClient = null;

// WasabiClient?.Dispose();
// WasabiClient = null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this for? I don't think we can maintain this in memory when iOS goes to sleep

@@ -34,7 +34,12 @@ public class Config : ConfigBase

[JsonProperty(PropertyName = "Network")]
[JsonConverter(typeof(NetworkJsonConverter))]
public NBitcoin.Network Network { get; internal set; } = NBitcoin.Network.Main;
#if DEBUG
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delett this

@@ -1,5 +1,5 @@
@inject StatusViewModel StatusViewModel

@using WalletWasabi.Stores
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm, unused afaik

@@ -160,6 +175,15 @@ private async Task AssertRpcNodeFullyInitializedAsync()
}
Logger.LogInfo($"Generated 101 block on {Network.RegTest}. Number of blocks {blocks}.");
}
//101 blocks is fine, but let's spice things up in regtest for better sync tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is the aforementioned spice at?

Kukks and others added 6 commits November 12, 2021 15:32
@DanGould
Copy link
Member

Even when running the backend regtest docker-compose the backend NotificationTests & SyncWalletFromRecentBlock fail cause they seemingly can't connect to the BackendEndPoint = $"http://localhost:{new Random().Next(37130, 38000)}/"; (connection refused)

additionally, the tokens tableattempts to be crated multiple times and fails

bitcoind_1  | 2021-11-13T19:14:38Z FlushStateToDisk: write coins cache to disk (101 coins, 14kB) completed (0.00s)
postgres_1  | 2021-11-13 19:16:38.934 UTC [63] ERROR:  relation "Tokens" already exists
postgres_1  | 2021-11-13 19:16:38.934 UTC [63] STATEMENT:  CREATE TABLE "Tokens" (
postgres_1  | 	    "Token" text NOT NULL,
postgres_1  | 	    "Type" integer NOT NULL,
postgres_1  | 	    "Status" integer NOT NULL,
postgres_1  | 	    CONSTRAINT "PK_Tokens" PRIMARY KEY ("Token")
postgres_1  | 	)

DanGould and others added 5 commits November 13, 2021 14:25
regardless of the purpose of the test and the state of the ViewModel, what's rendered is not the same as my experience nor the state of the SendViewModel. The binding or test need to be fundamentally reconsidered
subrepo:
  subdir:   "WalletWasabi.SDK"
  merged:   "e5404fab0"
upstream:
  origin:   "https://github.com/chaincase-app/WalletWasabi.Standard"
  branch:   "sdk"
  commit:   "7c2ebfacd"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
@Kukks Kukks merged commit 28ea033 into chaincase-app:master Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants