-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Philemon Ukane <[email protected]>
- Loading branch information
1 parent
2c18d00
commit 167dbd4
Showing
10 changed files
with
169 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package dexcore | ||
package dexc | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
package dexcore | ||
package dcrdex | ||
|
||
import ( | ||
"context" | ||
|
||
"decred.org/dcrdex/client/core" | ||
) | ||
|
||
type DEXCore interface { | ||
Run(ctx context.Context) | ||
type clientCore interface { | ||
Ready() <-chan struct{} | ||
Shutdown() <-chan struct{} | ||
IsInitialized() bool | ||
InitializeClient(pw, seed []byte) error | ||
WaitForShutdown() <-chan struct{} | ||
IsDEXPasswordSet() bool | ||
SetDEXPassword(pw, seed []byte) error | ||
Login(pw []byte) error | ||
DiscoverAccount(dexAddr string, pass []byte, certI any) (*core.Exchange, bool, error) | ||
BondsFeeBuffer(assetID uint32) uint64 | ||
PostBond(form *core.PostBondForm) (*core.PostBondResult, error) | ||
NotificationFeed() <-chan core.Notification | ||
Login(pw []byte) error | ||
} |
Oops, something went wrong.