Skip to content

Commit

Permalink
Feat(BUX-417): remove monitor, itc flag (#402)
Browse files Browse the repository at this point in the history
* fix(BUX-461): use_fee_quotes for both arc and mApi

* fix(BUX-461): configurable fee_unit

* fix(BUX-461): validate miners

* refactor(BUX-461): small  change after self-review

* chore(BUX-461): validation error when neither fee_unit nor use_fee_quotes is configured

* chore(BUX-461): assume next bux version 0.12.0

* chore(BUX-461): assume next version 0.13.0

* chore(BUX-461): go mod tidy with broadcast-client 0.16.0

* chore(BUX-417): remove monitor

* chore(BUX-417): remove ITC flag

* chore(BUX-417): replace bux version with rc branch

* chore(BUX-417): update go sum

---------

Co-authored-by: Krzysztof Tomecki <152964795+chris-4chain@users.noreply.github.com>
  • Loading branch information
2 people authored and wregulski committed Feb 2, 2024
1 parent b3848f8 commit cd03af7
Show file tree
Hide file tree
Showing 4 changed files with 571 additions and 6 deletions.
1 change: 0 additions & 1 deletion actions/destinations/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func (a *Action) create(w http.ResponseWriter, req *http.Request, _ httprouter.P
xPub.RawXpub(),
uint32(0), // todo: use a constant? protect this?
scriptType,
true, // monitor this address as it was created by request of a user to share
opts...,
); err != nil {
apirouter.ReturnResponse(w, req, http.StatusUnprocessableEntity, err.Error())
Expand Down
4 changes: 0 additions & 4 deletions config/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ func (s *AppServices) loadBux(ctx context.Context, appConfig *AppConfig, testMod

options = append(options, bux.WithUserAgent(appConfig.GetUserAgent()))

if appConfig.DisableITC {
options = append(options, bux.WithITCDisabled())
}

if appConfig.ImportBlockHeaders != "" {
options = append(options, bux.WithImportBlockHeaders(appConfig.ImportBlockHeaders))
}
Expand Down
Loading

0 comments on commit cd03af7

Please sign in to comment.