mirror of
https://github.com/aljazceru/ark.git
synced 2026-02-03 02:24:40 +01:00
* Fixes * Fixes to domain layer: * Add Leaf bool field to know to fix the returned list of leaves * Add non-persisted UnsignedForfeitTxs to RoundFinalizationStarted * Store only error msg when round fails instead of full error * Fix wallet interface: * Add Close() to close conn with wallet * Add GetAsset() to fix missing asset err when calling Transfer() * Fix gocron scheduler to correctly run/build the project * Fix badger repo implementation: * Fix datadirs of projection stores * Return error if current round not found * Fix round event deserialization * Fix TxBuilder interface & dummy impl: * Pass asp pubkey as arg of the defined functions * Fix connectorsToInputArgs to return the right number of ins * Fix getTxid() to return the id of an hex encoded tx too * Fix createConnectors() to return a tx if there's only 1 connector * Add leaf bool field to psetWithLevel in case a leaf is not in the last level * Fix node's isLeaf() check * Move to hex encoded pubkeys instead of ark encoded * Fix app layer: * Add Start() and Stop() to the interface & Expect raw pubkeys instead of strings as args * Source & cache pubkey from wallet at startup * Drop usage of scheduler and schedule next task based on occurred round events * Increase verbosity * Use hex instead of ark encoding to store receveirs' pubkeys * Lower faucet amount from 100k to 10k sats in total * Fix finalizeRound() to persist round events even if it failed * Add view() to forfeitTxMap to enrich RoundFinalizationEvent with unsigned forfeit txs * Add app config * Fix interface layer: * Remove repo manager from handler factory * Fix GetEventStream to forward events to stream once they arrive from app layer * Return missing unsigned forfeit txs in RoundFinalizationEvent * Fix extracting user pubkey from address * Add log interceptors * Add config struct * Add factory * Clean interface * Add config and launcher * Tidy deps & Set defaut round interval to 30secs for dev mode
45 lines
1.7 KiB
Modula-2
45 lines
1.7 KiB
Modula-2
module github.com/ark-network/noah
|
|
|
|
go 1.21.0
|
|
|
|
replace github.com/ark-network/ark/common => ../common
|
|
|
|
replace github.com/ark-network/ark => ../asp
|
|
|
|
require (
|
|
github.com/ark-network/ark v0.0.0-00010101000000-000000000000
|
|
github.com/ark-network/ark/common v0.0.0-00010101000000-000000000000
|
|
github.com/btcsuite/btcd/btcec/v2 v2.3.2
|
|
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.3
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
|
|
github.com/urfave/cli/v2 v2.26.0
|
|
golang.org/x/crypto v0.16.0
|
|
golang.org/x/term v0.15.0
|
|
)
|
|
|
|
require (
|
|
github.com/btcsuite/btcd v0.23.4 // indirect
|
|
github.com/btcsuite/btcd/btcutil/psbt v1.1.8 // indirect
|
|
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
|
|
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
|
|
github.com/vulpemventures/fastsha256 v0.0.0-20160815193821-637e65642941 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/btcsuite/btcd/btcutil v1.1.3 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/vulpemventures/go-elements v0.4.7
|
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
|
golang.org/x/net v0.19.0 // indirect
|
|
golang.org/x/sys v0.15.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20231127180814-3a041ad873d4 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
|
|
google.golang.org/grpc v1.59.0
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
)
|