trezor / blockbook

:blue_book: Trezor address/account balance backend
https://trezor.io
GNU Affero General Public License v3.0
640 stars 635 forks source link

Add support for Digiwage - build errors #1107

Closed gdiscord closed 2 weeks ago

gdiscord commented 2 weeks ago

Hi

Working on adding Digiwage to blockbook, but getting unexplained build error below:

cd /go/src/github.com/trezor/blockbook && go build -o /build/build/pkg-defs/blockbook/blockbook -ldflags="-s -w -X github.com/trezor/blockbook/common.version=0.4.0 -X github.com/trezor/blockbook/common.gitcommit=7a025d6f -X github.com/trezor/blockbook/common.buildtime=2024-07-02T14:41:59+00:00"

github.com/trezor/blockbook/bchain/coins/digiwage

bchain/coins/digiwage/digiwageparser.go:13:2: "github.com/martinboehm/btcd/blockchain" imported and not used make[1]: [Makefile:13: build] Error 1 make[1]: Leaving directory '/build/build/pkg-defs/blockbook' dh_auto_build: error: make -j1 returned exit code 2 make: [debian/rules:6: build] Error 255 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 make: *** [Makefile:36: deb-digiwage] Error 2

Where are the build logs saved, so I can look through and investigate what might be responsible?

Please let me know what other info I need to provide.

gdiscord commented 2 weeks ago

managed to get this fixed.

Now the main issue is with how to make the packedtx for the test. Closing for now.

gdiscord commented 2 weeks ago

Digiwage_blockbook