diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 91952d217..a99edd522 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ env: # If you change this value, please change it in the following files as well: # /Dockerfile - GO_VERSION: 1.23.6 + GO_VERSION: 1.27.3 jobs: ######################## diff --git a/.golangci.yml b/.golangci.yml index dda58b5bd..99b41e13c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,124 +1,123 @@ +version: "2" run: + # If you change this please also update GO_VERSION in the Makefile. + go: "1.27.3" + # timeout for analysis timeout: 4m -linters-settings: - govet: - # Don't report about shadowed variables - check-shadowing: false - gofmt: - # simplify code: gofmt with `-s` option, true by default - simplify: true - tagliatelle: - case: - rules: - json: snake - whitespace: - multi-func: true - multi-if: true - gosec: - excludes: - - G402 # Look for bad TLS connection settings. - - G306 # Poor file permissions used when writing to a new file. - - G601 # Implicit memory aliasing in for loop. - - G115 # Integer overflow in conversion. - staticcheck: - checks: ["-SA1019"] - linters: - enable-all: true + default: all disable: - # Global variables are used in many places throughout the code base. - - gochecknoglobals - - # Some lines are over 80 characters on purpose and we don't want to make them - # even longer by marking them as 'nolint'. - - lll - - # We want to allow short variable names. - - varnamelen - - # We want to allow TODOs. - - godox - - # We have long functions, especially in tests. Moving or renaming those would - # trigger funlen problems that we may not want to solve at that time. - - funlen - - # Disable for now as we haven't yet tuned the sensitivity to our codebase - # yet. Enabling by default for example, would also force new contributors to - # potentially extensively refactor code, when they want to smaller change to - # land. - - gocyclo - - gocognit + - containedctx + - contextcheck + - copyloopvar - cyclop - - # Instances of table driven tests that don't pre-allocate shouldn't trigger - # the linter. - - prealloc - - # Init functions are used by loggers throughout the codebase. - - gochecknoinits - - # Causes stack overflow, see https://github.com/polyfloyd/go-errorlint/issues/19. + - depguard + - dogsled + - err113 + - errchkjson + - errname - errorlint - - # New linters that need a code adjustment first. - - intrange - - revive - - gosmopolitan + - exhaustive + - exhaustruct + # v2 rename of exhaustruct; keep the existing decision. + - exhaustruct_v5 + - forbidigo + - forcetypeassert + - funlen + # New in golangci-lint v2; these need code adjustments first and are + # tracked separately from this toolchain bump. + - funcorder + - modernize + - noinlineerr + - gochecknoglobals + - gochecknoinits + - gocognit - goconst - - copyloopvar - - wrapcheck - - depguard - - inamedparam - - protogetter - - perfsprint - - tagalign - - testifylint - - nolintlint - - paralleltest - - tparallel - - testpackage - - gofumpt + - gocyclo + # Superseded by gomodguard_v2, enabled below. + - gomodguard + - godox - gomoddirectives + - gosmopolitan + - inamedparam + - interfacebloat + - intrange - ireturn + - lll - maintidx - - nlreturn - - dogsled - - gci - - containedctx - - contextcheck - - errname - - exhaustruct - - err113 - - noctx + - mnd - nestif - - wsl - - exhaustive - - forcetypeassert - nilerr - nilnil - - stylecheck - - thelper + - nlreturn + - noctx + - nolintlint - nosprintfhostport - - errchkjson - - revive + - paralleltest + - perfsprint + - prealloc - promlinter - - forbidigo - - interfacebloat - - # The linter is too aggressive and doesn't add much value since reviewers - # will also catch magic numbers that make sense to extract. - - mnd - + - protogetter + - revive + - tagalign + - testifylint + - testpackage + - thelper + - tparallel + - varnamelen + - wrapcheck + - wsl + # v2 rename of wsl; keep the existing decision. + - wsl_v5 + enable: + # v2 rename of gomodguard, which was active before the migration. + - gomodguard_v2 + settings: + gosec: + excludes: + - G402 + - G306 + - G601 + - G115 + staticcheck: + checks: + - "S*" + tagliatelle: + case: + rules: + json: snake + whitespace: + multi-if: true + multi-func: true + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + rules: + - linters: + - gosec + path: _test\.go + paths: + - third_party$ + - builtin$ + - examples$ issues: - # Only show newly introduced problems. new-from-rev: c5b37702e0bead2408ba72aad792ea4ff9fc930f - - exclude-rules: - # Exclude gosec from running for tests so that tests with weak randomness - # (math/rand) will pass the linter. - - path: _test\.go - linters: - - gosec +formatters: + enable: + - gofmt + - goimports + settings: + gofmt: + simplify: true + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ diff --git a/Dockerfile b/Dockerfile index a71e1a196..1a29ab21b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.23.6-alpine as builder +FROM --platform=${BUILDPLATFORM} golang:1.27.3-alpine as builder # Force Go to use the cgo based DNS resolver. This is required to ensure DNS # queries required to connect to linked containers succeed. diff --git a/auctioneer/client_test.go b/auctioneer/client_test.go index ad6bcc908..f043cc399 100644 --- a/auctioneer/client_test.go +++ b/auctioneer/client_test.go @@ -625,7 +625,13 @@ func TestHandleServerShutdownPartialResubscribeFailure(t *testing.T) { // after the first handshake's error. With a fix, it returns after // all three handshakes complete. select { - case <-shutdownErr: + case err := <-shutdownErr: + // One handshake fails by design here, so a non-nil error is + // an expected outcome. This test only requires that the call + // returns; the assertion below covers what it must have done + // before returning. + _ = err + case <-time.After(2 * time.Second): t.Fatal("HandleServerShutdown did not return") } diff --git a/auctioneerrpc/auctioneer.pb.go b/auctioneerrpc/auctioneer.pb.go index 452573f75..e19677a7e 100644 --- a/auctioneerrpc/auctioneer.pb.go +++ b/auctioneerrpc/auctioneer.pb.go @@ -32,11 +32,13 @@ const ( ChannelType_TWEAKLESS ChannelType = 0 // The channel uses an anchor-based commitment. ChannelType_ANCHORS ChannelType = 1 - // The channel build upon the anchor-based commitment and requires an - // additional CLTV of the channel lease maturity on any commitment and HTLC - // outputs that pay directly to the channel initiator (the seller). + // + //The channel build upon the anchor-based commitment and requires an + //additional CLTV of the channel lease maturity on any commitment and HTLC + //outputs that pay directly to the channel initiator (the seller). ChannelType_SCRIPT_ENFORCED_LEASE ChannelType = 2 - // A channel type that uses a Pay-to-Taproot output for the funding output. + // + //A channel type that uses a Pay-to-Taproot output for the funding output. ChannelType_SIMPLE_TAPROOT ChannelType = 3 ) @@ -86,25 +88,32 @@ func (ChannelType) EnumDescriptor() ([]byte, []int) { type AuctionAccountState int32 const ( - // The account's funding transaction is not yet confirmed on-chain. + // + //The account's funding transaction is not yet confirmed on-chain. AuctionAccountState_STATE_PENDING_OPEN AuctionAccountState = 0 - // The account is fully open and confirmed on-chain. + // + //The account is fully open and confirmed on-chain. AuctionAccountState_STATE_OPEN AuctionAccountState = 1 - // The account is still open but the CLTV expiry has passed and the trader can - // close it without the auctioneer's key. Orders for accounts in this state - // won't be accepted. + // + //The account is still open but the CLTV expiry has passed and the trader can + //close it without the auctioneer's key. Orders for accounts in this state + //won't be accepted. AuctionAccountState_STATE_EXPIRED AuctionAccountState = 2 - // The account was modified by a deposit or withdrawal and is currently waiting - // for the modifying transaction to confirm. + // + //The account was modified by a deposit or withdrawal and is currently waiting + //for the modifying transaction to confirm. AuctionAccountState_STATE_PENDING_UPDATE AuctionAccountState = 3 - // The account is closed. The auctioneer doesn't track whether the closing - // transaction is already confirmed on-chain or not. + // + //The account is closed. The auctioneer doesn't track whether the closing + //transaction is already confirmed on-chain or not. AuctionAccountState_STATE_CLOSED AuctionAccountState = 4 - // The account has recently participated in a batch and is not yet confirmed. + // + //The account has recently participated in a batch and is not yet confirmed. AuctionAccountState_STATE_PENDING_BATCH AuctionAccountState = 5 - // The account has reached the expiration height while it had a pending update - // that hasn't yet confirmed. This allows accounts to be renewed once - // confirmed and expired. + // + //The account has reached the expiration height while it had a pending update + //that hasn't yet confirmed. This allows accounts to be renewed once + //confirmed and expired. AuctionAccountState_STATE_EXPIRED_PENDING_UPDATE AuctionAccountState = 6 ) @@ -162,14 +171,17 @@ type OrderChannelType int32 const ( // Used to set defaults when a trader doesn't specify a channel type. OrderChannelType_ORDER_CHANNEL_TYPE_UNKNOWN OrderChannelType = 0 - // The channel type will vary per matched channel based on the features shared - // between its participants. + // + //The channel type will vary per matched channel based on the features shared + //between its participants. OrderChannelType_ORDER_CHANNEL_TYPE_PEER_DEPENDENT OrderChannelType = 1 - // A channel type that builds upon the anchors commitment format to enforce - // channel lease maturities in the commitment and HTLC outputs that pay to the - // channel initiator/seller. + // + //A channel type that builds upon the anchors commitment format to enforce + //channel lease maturities in the commitment and HTLC outputs that pay to the + //channel initiator/seller. OrderChannelType_ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED OrderChannelType = 2 - // A channel type that uses a Pay-to-Taproot output for the funding output. + // + //A channel type that uses a Pay-to-Taproot output for the funding output. OrderChannelType_ORDER_CHANNEL_TYPE_SIMPLE_TAPROOT OrderChannelType = 3 ) @@ -219,11 +231,13 @@ func (OrderChannelType) EnumDescriptor() ([]byte, []int) { type AuctionType int32 const ( - // Default auction type where the bidder is paying for getting bitcoin inbound - // liqiudity from the asker. + // + //Default auction type where the bidder is paying for getting bitcoin inbound + //liqiudity from the asker. AuctionType_AUCTION_TYPE_BTC_INBOUND_LIQUIDITY AuctionType = 0 - // Auction type where the bidder is paying the asker to accept a channel - // (bitcoin outbound liquidity) from the bidder. + // + //Auction type where the bidder is paying the asker to accept a channel + //(bitcoin outbound liquidity) from the bidder. AuctionType_AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY AuctionType = 1 ) @@ -488,17 +502,21 @@ func (OrderState) EnumDescriptor() ([]byte, []int) { type DurationBucketState int32 const ( - // NO_MARKET indicates that this bucket doesn't actually exist, in that no - // market is present for this market. + // + //NO_MARKET indicates that this bucket doesn't actually exist, in that no + //market is present for this market. DurationBucketState_NO_MARKET DurationBucketState = 0 - // MARKET_CLOSED indicates that this market exists, but that it isn't currently - // running. + // + //MARKET_CLOSED indicates that this market exists, but that it isn't currently + //running. DurationBucketState_MARKET_CLOSED DurationBucketState = 1 - // ACCEPTING_ORDERS indicates that we're accepting orders for this bucket, but - // not yet clearing for this duration. + // + //ACCEPTING_ORDERS indicates that we're accepting orders for this bucket, but + //not yet clearing for this duration. DurationBucketState_ACCEPTING_ORDERS DurationBucketState = 2 - // MARKET_OPEN indicates that we're accepting orders, and fully clearing the - // market for this duration. + // + //MARKET_OPEN indicates that we're accepting orders, and fully clearing the + //market for this duration. DurationBucketState_MARKET_OPEN DurationBucketState = 3 ) @@ -550,14 +568,17 @@ type OrderMatchReject_RejectReason int32 const ( // The reason cannot be mapped to a specific code. OrderMatchReject_UNKNOWN OrderMatchReject_RejectReason = 0 - // The client didn't come up with the same result as the server and is - // rejecting the batch because of that. + // + //The client didn't come up with the same result as the server and is + //rejecting the batch because of that. OrderMatchReject_SERVER_MISBEHAVIOR OrderMatchReject_RejectReason = 1 - // The client doesn't support the current batch verification version the - // server is using. + // + //The client doesn't support the current batch verification version the + //server is using. OrderMatchReject_BATCH_VERSION_MISMATCH OrderMatchReject_RejectReason = 2 - // The client rejects some of the orders, not the full batch. When this - // code is set, the rejected_orders map must be set. + // + //The client rejects some of the orders, not the full batch. When this + //code is set, the rejected_orders map must be set. OrderMatchReject_PARTIAL_REJECT OrderMatchReject_RejectReason = 3 ) @@ -607,16 +628,18 @@ func (OrderMatchReject_RejectReason) EnumDescriptor() ([]byte, []int) { type OrderReject_OrderRejectReason int32 const ( - // The trader's client has a preference to only match orders with peers it - // doesn't already have channels with. The order that is rejected with this - // reason type comes from a peer that the trader already has channels with. + // + //The trader's client has a preference to only match orders with peers it + //doesn't already have channels with. The order that is rejected with this + //reason type comes from a peer that the trader already has channels with. OrderReject_DUPLICATE_PEER OrderReject_OrderRejectReason = 0 - // The trader's client couldn't connect to the remote node of the matched - // order or the channel funding could not be initialized for another - // reason. This could also be the rejecting node's fault if their - // connection is not stable. Using this code can have a negative impact on - // the reputation score of both nodes, depending on the number of errors - // recorded. + // + //The trader's client couldn't connect to the remote node of the matched + //order or the channel funding could not be initialized for another + //reason. This could also be the rejecting node's fault if their + //connection is not stable. Using this code can have a negative impact on + //the reputation score of both nodes, depending on the number of errors + //recorded. OrderReject_CHANNEL_FUNDING_FAILED OrderReject_OrderRejectReason = 1 ) @@ -662,16 +685,20 @@ func (OrderReject_OrderRejectReason) EnumDescriptor() ([]byte, []int) { type SubscribeError_Error int32 const ( - // The error cannot be mapped to a specific code. + // + //The error cannot be mapped to a specific code. SubscribeError_UNKNOWN SubscribeError_Error = 0 - // The server is shutting down for maintenance. Traders should close the - // long-lived stream/connection and try to connect again after some time. + // + //The server is shutting down for maintenance. Traders should close the + //long-lived stream/connection and try to connect again after some time. SubscribeError_SERVER_SHUTDOWN SubscribeError_Error = 1 - // The account the trader tried to subscribe to does not exist in the - // auctioneer's database. + // + //The account the trader tried to subscribe to does not exist in the + //auctioneer's database. SubscribeError_ACCOUNT_DOES_NOT_EXIST SubscribeError_Error = 2 - // The account the trader tried to subscribe to was never completed and a - // reservation for it is still pending. + // + //The account the trader tried to subscribe to was never completed and a + //reservation for it is still pending. SubscribeError_INCOMPLETE_ACCOUNT_RESERVATION SubscribeError_Error = 3 ) @@ -818,13 +845,17 @@ type ReserveAccountRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The desired value of the account in satoshis. + // + //The desired value of the account in satoshis. AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"` - // The block height at which the account should expire. + // + //The block height at which the account should expire. AccountExpiry uint32 `protobuf:"varint,2,opt,name=account_expiry,json=accountExpiry,proto3" json:"account_expiry,omitempty"` - // The trader's account key. + // + //The trader's account key. TraderKey []byte `protobuf:"bytes,3,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The account version. Must be set to 0 for legacy (non-taproot) accounts. + // + //The account version. Must be set to 0 for legacy (non-taproot) accounts. Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` } @@ -893,22 +924,24 @@ type ReserveAccountResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The base key of the auctioneer. This key should be tweaked with the trader's - // per-batch tweaked key to obtain the corresponding per-batch tweaked - // auctioneer key. Or, in case of the version 1, Taproot enabled account, the - // trader and auctioneer key will be combined into a MuSig2 combined key that - // is static throughout the lifetime of the account. The on-chain uniqueness of - // the generated output will be ensured by the merkle root hash that is applied - // as a tweak to the MuSig2 combined internal key. The merkle root hash is - // either the hash of the timeout script path (which uses the trader key - // tweaked with the per-batch key) directly or the root of a tree with one leaf - // that is the timeout script path and a leaf that is a Taro commitment (which - // is a root hash by itself). + // + //The base key of the auctioneer. This key should be tweaked with the trader's + //per-batch tweaked key to obtain the corresponding per-batch tweaked + //auctioneer key. Or, in case of the version 1, Taproot enabled account, the + //trader and auctioneer key will be combined into a MuSig2 combined key that + //is static throughout the lifetime of the account. The on-chain uniqueness of + //the generated output will be ensured by the merkle root hash that is applied + //as a tweak to the MuSig2 combined internal key. The merkle root hash is + //either the hash of the timeout script path (which uses the trader key + //tweaked with the per-batch key) directly or the root of a tree with one leaf + //that is the timeout script path and a leaf that is a Taro commitment (which + //is a root hash by itself). AuctioneerKey []byte `protobuf:"bytes,1,opt,name=auctioneer_key,json=auctioneerKey,proto3" json:"auctioneer_key,omitempty"` - // The initial per-batch key to be used for the account. For every cleared - // batch that the account participates in, this key will be incremented by the - // base point of its curve, resulting in a new key for both the trader and - // auctioneer in every batch. + // + //The initial per-batch key to be used for the account. For every cleared + //batch that the account participates in, this key will be incremented by the + //base point of its curve, resulting in a new key for both the trader and + //auctioneer in every batch. InitialBatchKey []byte `protobuf:"bytes,2,opt,name=initial_batch_key,json=initialBatchKey,proto3" json:"initial_batch_key,omitempty"` } @@ -963,34 +996,37 @@ type ServerInitAccountRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Transaction output of the account. Has to be unspent and be a P2WSH of - // the account script below. The amount must also exactly correspond to the - // account value below. + // + //Transaction output of the account. Has to be unspent and be a P2WSH of + //the account script below. The amount must also exactly correspond to the + //account value below. AccountPoint *OutPoint `protobuf:"bytes,1,opt,name=account_point,json=accountPoint,proto3" json:"account_point,omitempty"` - // The script used to create the account point. For version 1 (Taproot enabled) - // accounts this represents the 32-byte (x-only) Taproot public key with the - // combined MuSig2 key of the auctioneer's key and the trader's key with the - // expiry script path applied as a single tapscript leaf. + // + //The script used to create the account point. For version 1 (Taproot enabled) + //accounts this represents the 32-byte (x-only) Taproot public key with the + //combined MuSig2 key of the auctioneer's key and the trader's key with the + //expiry script path applied as a single tapscript leaf. AccountScript []byte `protobuf:"bytes,2,opt,name=account_script,json=accountScript,proto3" json:"account_script,omitempty"` - // The value of the account in satoshis. Must match the amount of the - // account_point output. + // + //The value of the account in satoshis. Must match the amount of the + //account_point output. AccountValue uint64 `protobuf:"varint,3,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"` - // The block height at which the account should expire. + // + //The block height at which the account should expire. AccountExpiry uint32 `protobuf:"varint,4,opt,name=account_expiry,json=accountExpiry,proto3" json:"account_expiry,omitempty"` - // The trader's account key. + // + //The trader's account key. TraderKey []byte `protobuf:"bytes,5,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` // The user agent string that identifies the software running on the user's // side. This can be changed in the user's client software but it _SHOULD_ // conform to the following pattern and use less than 256 characters: - // - // Agent-Name/semver-version(/additional-info) - // + // Agent-Name/semver-version(/additional-info) // Examples: - // - // poold/v0.4.2-beta/commit=3b635821,initiator=pool-cli - // litd/v0.4.0-alpha/commit=326d754,initiator=lit-ui + // poold/v0.4.2-beta/commit=3b635821,initiator=pool-cli + // litd/v0.4.0-alpha/commit=326d754,initiator=lit-ui UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` - // The account version. Must be set to 0 for legacy (non-taproot) accounts. + // + //The account version. Must be set to 0 for legacy (non-taproot) accounts. Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"` } @@ -1119,20 +1155,16 @@ type ServerSubmitOrderRequest struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Details: - // // *ServerSubmitOrderRequest_Ask // *ServerSubmitOrderRequest_Bid Details isServerSubmitOrderRequest_Details `protobuf_oneof:"details"` // The user agent string that identifies the software running on the user's // side. This can be changed in the user's client software but it _SHOULD_ // conform to the following pattern and use less than 256 characters: - // - // Agent-Name/semver-version(/additional-info) - // + // Agent-Name/semver-version(/additional-info) // Examples: - // - // poold/v0.4.2-beta/commit=3b635821,initiator=pool-cli - // litd/v0.4.0-alpha/commit=326d754,initiator=lit-ui + // poold/v0.4.2-beta/commit=3b635821,initiator=pool-cli + // litd/v0.4.0-alpha/commit=326d754,initiator=lit-ui UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` } @@ -1201,12 +1233,14 @@ type isServerSubmitOrderRequest_Details interface { } type ServerSubmitOrderRequest_Ask struct { - // Submit an ask order. + // + //Submit an ask order. Ask *ServerAsk `protobuf:"bytes,1,opt,name=ask,proto3,oneof"` } type ServerSubmitOrderRequest_Bid struct { - // Submit a bid order. + // + //Submit a bid order. Bid *ServerBid `protobuf:"bytes,2,opt,name=bid,proto3,oneof"` } @@ -1220,7 +1254,6 @@ type ServerSubmitOrderResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Details: - // // *ServerSubmitOrderResponse_InvalidOrder // *ServerSubmitOrderResponse_Accepted Details isServerSubmitOrderResponse_Details `protobuf_oneof:"details"` @@ -1284,12 +1317,14 @@ type isServerSubmitOrderResponse_Details interface { } type ServerSubmitOrderResponse_InvalidOrder struct { - // Order failed with the given reason. + // + //Order failed with the given reason. InvalidOrder *InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"` } type ServerSubmitOrderResponse_Accepted struct { - // Order was accepted. + // + //Order was accepted. Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3,oneof"` } @@ -1302,7 +1337,8 @@ type ServerCancelOrderRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The preimage to the order's unique nonce. + // + //The preimage to the order's unique nonce. OrderNoncePreimage []byte `protobuf:"bytes,1,opt,name=order_nonce_preimage,json=orderNoncePreimage,proto3" json:"order_nonce_preimage,omitempty"` } @@ -1389,7 +1425,6 @@ type ClientAuctionMessage struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Msg: - // // *ClientAuctionMessage_Commit // *ClientAuctionMessage_Subscribe // *ClientAuctionMessage_Accept @@ -1485,42 +1520,48 @@ type isClientAuctionMessage_Msg interface { } type ClientAuctionMessage_Commit struct { - // Signal the intent to receive updates about a certain account and start - // by sending the commitment part of the authentication handshake. This is - // step 1 of the 3-way handshake. + // + //Signal the intent to receive updates about a certain account and start + //by sending the commitment part of the authentication handshake. This is + //step 1 of the 3-way handshake. Commit *AccountCommitment `protobuf:"bytes,1,opt,name=commit,proto3,oneof"` } type ClientAuctionMessage_Subscribe struct { - // Subscribe to update and interactive order execution events for account - // given and all its orders. Contains the final signature and is step 3 of - // the 3-way authentication handshake. + // + //Subscribe to update and interactive order execution events for account + //given and all its orders. Contains the final signature and is step 3 of + //the 3-way authentication handshake. Subscribe *AccountSubscription `protobuf:"bytes,2,opt,name=subscribe,proto3,oneof"` } type ClientAuctionMessage_Accept struct { - // Accept the orders to be matched. + // + //Accept the orders to be matched. Accept *OrderMatchAccept `protobuf:"bytes,3,opt,name=accept,proto3,oneof"` } type ClientAuctionMessage_Reject struct { - // Reject a whole batch. + // + //Reject a whole batch. Reject *OrderMatchReject `protobuf:"bytes,4,opt,name=reject,proto3,oneof"` } type ClientAuctionMessage_Sign struct { - // The channel funding negotiations with the matched peer were successful - // and the inputs to spend from the accounts are now signed. + // + //The channel funding negotiations with the matched peer were successful + //and the inputs to spend from the accounts are now signed. Sign *OrderMatchSign `protobuf:"bytes,5,opt,name=sign,proto3,oneof"` } type ClientAuctionMessage_Recover struct { - // The trader has lost its database and is trying to recover their - // accounts. This message can be sent after the successful completion of - // the 3-way authentication handshake where it will be established if the - // account exists on the auctioneer's side. This message must only be sent - // if the auctioneer knows of the account, otherwise it will regard it as a - // critical error and terminate the connection. + // + //The trader has lost its database and is trying to recover their + //accounts. This message can be sent after the successful completion of + //the 3-way authentication handshake where it will be established if the + //account exists on the auctioneer's side. This message must only be sent + //if the auctioneer knows of the account, otherwise it will regard it as a + //critical error and terminate the connection. Recover *AccountRecovery `protobuf:"bytes,6,opt,name=recover,proto3,oneof"` } @@ -1541,13 +1582,15 @@ type AccountCommitment struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The SHA256 hash of the trader's account key and a 32 byte random nonce. - // commit_hash = SHA256(accountPubKey || nonce) + // + //The SHA256 hash of the trader's account key and a 32 byte random nonce. + //commit_hash = SHA256(accountPubKey || nonce) CommitHash []byte `protobuf:"bytes,1,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` - // The batch verification protocol version the client is using. Clients that - // don't use the latest version will be declined to connect and participate in - // an auction. The user should then be informed that a software update is - // required. + // + //The batch verification protocol version the client is using. Clients that + //don't use the latest version will be declined to connect and participate in + //an auction. The user should then be informed that a software update is + //required. BatchVersion uint32 `protobuf:"varint,2,opt,name=batch_version,json=batchVersion,proto3" json:"batch_version,omitempty"` } @@ -1602,14 +1645,17 @@ type AccountSubscription struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader's account key of the account to subscribe to. + // + //The trader's account key of the account to subscribe to. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The random 32 byte nonce the trader used to create the commitment hash. + // + //The random 32 byte nonce the trader used to create the commitment hash. CommitNonce []byte `protobuf:"bytes,2,opt,name=commit_nonce,json=commitNonce,proto3" json:"commit_nonce,omitempty"` - // The signature over the auth_hash which is the hash of the commitment and - // challenge. The signature is created with the trader's account key they - // committed to. - // auth_hash = SHA256(SHA256(accountPubKey || nonce) || challenge) + // + //The signature over the auth_hash which is the hash of the commitment and + //challenge. The signature is created with the trader's account key they + //committed to. + //auth_hash = SHA256(SHA256(accountPubKey || nonce) || challenge) AuthSig []byte `protobuf:"bytes,3,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"` } @@ -1671,8 +1717,9 @@ type OrderMatchAccept struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The batch ID this acceptance message refers to. Must be set to avoid out-of- - // order responses from disrupting the batching process. + // + //The batch ID this acceptance message refers to. Must be set to avoid out-of- + //order responses from disrupting the batching process. BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` } @@ -1720,25 +1767,29 @@ type OrderMatchReject struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The ID of the batch to reject. + // + //The ID of the batch to reject. BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` - // The reason/error string for the rejection. + // + //The reason/error string for the rejection. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` - // The reason as a code. + // + //The reason as a code. ReasonCode OrderMatchReject_RejectReason `protobuf:"varint,3,opt,name=reason_code,json=reasonCode,proto3,enum=poolrpc.OrderMatchReject_RejectReason" json:"reason_code,omitempty"` - // The map of order nonces the trader was matched with but doesn't accept. The - // map contains the _other_ trader's order nonces and the reason for rejecting - // them. This can be a subset of the whole list of orders presented as matches - // if the trader only wants to reject some of them. This map is only - // considered by the auctioneer if the main reason_code is set to - // PARTIAL_REJECT. Otherwise it is assumed that the whole batch was faulty for - // some reason and that the trader rejects all orders contained. The auctioneer - // will only accept a certain number of these partial rejects before a trader's - // account is removed completely from the current batch. Abusing this - // functionality can also lead to a ban of the trader. - // - // The order nonces are hex encoded strings because the protobuf map doesn't - // allow raw bytes to be the map key type. + // + //The map of order nonces the trader was matched with but doesn't accept. The + //map contains the _other_ trader's order nonces and the reason for rejecting + //them. This can be a subset of the whole list of orders presented as matches + //if the trader only wants to reject some of them. This map is only + //considered by the auctioneer if the main reason_code is set to + //PARTIAL_REJECT. Otherwise it is assumed that the whole batch was faulty for + //some reason and that the trader rejects all orders contained. The auctioneer + //will only accept a certain number of these partial rejects before a trader's + //account is removed completely from the current batch. Abusing this + //functionality can also lead to a ban of the trader. + // + //The order nonces are hex encoded strings because the protobuf map doesn't + //allow raw bytes to be the map key type. RejectedOrders map[string]*OrderReject `protobuf:"bytes,4,rep,name=rejected_orders,json=rejectedOrders,proto3" json:"rejected_orders,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -1807,9 +1858,11 @@ type OrderReject struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The reason/error string for the rejection. + // + //The reason/error string for the rejection. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - // The reason as a code. + // + //The reason as a code. ReasonCode OrderReject_OrderRejectReason `protobuf:"varint,2,opt,name=reason_code,json=reasonCode,proto3,enum=poolrpc.OrderReject_OrderRejectReason" json:"reason_code,omitempty"` } @@ -1870,11 +1923,13 @@ type ChannelInfo struct { LocalNodeKey []byte `protobuf:"bytes,2,opt,name=local_node_key,json=localNodeKey,proto3" json:"local_node_key,omitempty"` // The remote node's identifying public key. RemoteNodeKey []byte `protobuf:"bytes,3,opt,name=remote_node_key,json=remoteNodeKey,proto3" json:"remote_node_key,omitempty"` - // The node's base public key used within the non-delayed pay-to-self output on - // the commitment transaction. + // + //The node's base public key used within the non-delayed pay-to-self output on + //the commitment transaction. LocalPaymentBasePoint []byte `protobuf:"bytes,4,opt,name=local_payment_base_point,json=localPaymentBasePoint,proto3" json:"local_payment_base_point,omitempty"` - // RemotePaymentBasePoint is the remote node's base public key used within the - // non-delayed pay-to-self output on the commitment transaction. + // + //RemotePaymentBasePoint is the remote node's base public key used within the + //non-delayed pay-to-self output on the commitment transaction. RemotePaymentBasePoint []byte `protobuf:"bytes,5,opt,name=remote_payment_base_point,json=remotePaymentBasePoint,proto3" json:"remote_payment_base_point,omitempty"` } @@ -1950,27 +2005,31 @@ type OrderMatchSign struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The ID of the batch that the signatures are meant for. + // + //The ID of the batch that the signatures are meant for. BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` - // A map with the signatures to spend the accounts being spent in a batch - // transaction. The map key corresponds to the trader's account key of the - // account in the batch transaction. The account key/ID has to be hex encoded - // into a string because protobuf doesn't allow bytes as a map key data type. - // For version 1 (Taproot enabled) accounts, this merely represents a partial - // MuSig2 signature that can be combined into a full signature by the auction - // server by adding its own partial signature. A set of nonces will be provided - // by the trader for each v1 account to allow finalizing the MuSig2 signing - // session. + // + //A map with the signatures to spend the accounts being spent in a batch + //transaction. The map key corresponds to the trader's account key of the + //account in the batch transaction. The account key/ID has to be hex encoded + //into a string because protobuf doesn't allow bytes as a map key data type. + //For version 1 (Taproot enabled) accounts, this merely represents a partial + //MuSig2 signature that can be combined into a full signature by the auction + //server by adding its own partial signature. A set of nonces will be provided + //by the trader for each v1 account to allow finalizing the MuSig2 signing + //session. AccountSigs map[string][]byte `protobuf:"bytes,2,rep,name=account_sigs,json=accountSigs,proto3" json:"account_sigs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The information for each channel created as part of a batch that's submitted - // to the auctioneer to ensure they can properly enforce a channel's service - // lifetime. Entries are indexed by the string representation of a channel's - // outpoint. + // + //The information for each channel created as part of a batch that's submitted + //to the auctioneer to ensure they can properly enforce a channel's service + //lifetime. Entries are indexed by the string representation of a channel's + //outpoint. ChannelInfos map[string]*ChannelInfo `protobuf:"bytes,3,rep,name=channel_infos,json=channelInfos,proto3" json:"channel_infos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // A set of 66-byte nonces for each version 1 (Taproot enabled) account. The - // nonces can be used to produce a MuSig2 partial signature to spend the - // account using the key spend path, which is a MuSig2 combined key of the - // auctioneer key and the trader key. + // + //A set of 66-byte nonces for each version 1 (Taproot enabled) account. The + //nonces can be used to produce a MuSig2 partial signature to spend the + //account using the key spend path, which is a MuSig2 combined key of the + //auctioneer key and the trader key. TraderNonces map[string][]byte `protobuf:"bytes,4,rep,name=trader_nonces,json=traderNonces,proto3" json:"trader_nonces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -2039,7 +2098,8 @@ type AccountRecovery struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader's account key of the account to recover. + // + //The trader's account key of the account to recover. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` } @@ -2088,7 +2148,6 @@ type ServerAuctionMessage struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Msg: - // // *ServerAuctionMessage_Challenge // *ServerAuctionMessage_Success // *ServerAuctionMessage_Error @@ -2192,50 +2251,57 @@ type isServerAuctionMessage_Msg interface { } type ServerAuctionMessage_Challenge struct { - // Step 2 of the 3-way authentication handshake. Contains the - // authentication challenge. Subscriptions sent by the trader must sign - // the message SHA256(SHA256(accountPubKey || nonce) || challenge) - // with their account key to prove ownership of said key. + // + //Step 2 of the 3-way authentication handshake. Contains the + //authentication challenge. Subscriptions sent by the trader must sign + //the message SHA256(SHA256(accountPubKey || nonce) || challenge) + //with their account key to prove ownership of said key. Challenge *ServerChallenge `protobuf:"bytes,1,opt,name=challenge,proto3,oneof"` } type ServerAuctionMessage_Success struct { - // The trader has subscribed to account updates successfully, the 3-way - // authentication handshake completed normally. + // + //The trader has subscribed to account updates successfully, the 3-way + //authentication handshake completed normally. Success *SubscribeSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"` } type ServerAuctionMessage_Error struct { - // An error occurred during any part of the communication. The trader - // should inspect the error code and act accordingly. + // + //An error occurred during any part of the communication. The trader + //should inspect the error code and act accordingly. Error *SubscribeError `protobuf:"bytes,3,opt,name=error,proto3,oneof"` } type ServerAuctionMessage_Prepare struct { - // The auctioneer has matched a set of orders into a batch and now - // instructs the traders to validate the batch and prepare for order - // execution. Because traders have the possibility of backing out of a - // batch, multiple of these messages with the SAME batch_id can be sent. + // + //The auctioneer has matched a set of orders into a batch and now + //instructs the traders to validate the batch and prepare for order + //execution. Because traders have the possibility of backing out of a + //batch, multiple of these messages with the SAME batch_id can be sent. Prepare *OrderMatchPrepare `protobuf:"bytes,4,opt,name=prepare,proto3,oneof"` } type ServerAuctionMessage_Sign struct { - // This message is sent after all traders send back an OrderMatchAccept - // method. It signals that the traders should execute their local funding - // protocol, then send signatures for their account inputs. + // + //This message is sent after all traders send back an OrderMatchAccept + //method. It signals that the traders should execute their local funding + //protocol, then send signatures for their account inputs. Sign *OrderMatchSignBegin `protobuf:"bytes,5,opt,name=sign,proto3,oneof"` } type ServerAuctionMessage_Finalize struct { - // All traders have accepted and signed the batch and the final transaction - // was broadcast. + // + //All traders have accepted and signed the batch and the final transaction + //was broadcast. Finalize *OrderMatchFinalize `protobuf:"bytes,6,opt,name=finalize,proto3,oneof"` } type ServerAuctionMessage_Account struct { - // The answer to a trader's request for account recovery. This message - // contains all information that is needed to restore the account to - // working order on the trader side. + // + //The answer to a trader's request for account recovery. This message + //contains all information that is needed to restore the account to + //working order on the trader side. Account *AuctionAccount `protobuf:"bytes,7,opt,name=account,proto3,oneof"` } @@ -2258,10 +2324,12 @@ type ServerChallenge struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The unique challenge for each stream that has to be signed with the trader's - // account key for each account subscription. + // + //The unique challenge for each stream that has to be signed with the trader's + //account key for each account subscription. Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` - // The commit hash the challenge was created for. + // + //The commit hash the challenge was created for. CommitHash []byte `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` } @@ -2316,7 +2384,8 @@ type SubscribeSuccess struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader's account key this message is referring to. + // + //The trader's account key this message is referring to. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` } @@ -2364,12 +2433,14 @@ type MatchedMarket struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Maps a user's own order_nonce to the opposite order type they were matched - // with. The order_nonce is a 32 byte hex encoded string because bytes is not - // allowed as a map key data type in protobuf. + // + //Maps a user's own order_nonce to the opposite order type they were matched + //with. The order_nonce is a 32 byte hex encoded string because bytes is not + //allowed as a map key data type in protobuf. MatchedOrders map[string]*MatchedOrder `protobuf:"bytes,1,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The uniform clearing price rate in parts per billion that was used for this - // batch. + // + //The uniform clearing price rate in parts per billion that was used for this + //batch. ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` } @@ -2424,41 +2495,52 @@ type OrderMatchPrepare struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated, use matched_markets. + // + //Deprecated, use matched_markets. // // Deprecated: Marked as deprecated in auctioneer.proto. MatchedOrders map[string]*MatchedOrder `protobuf:"bytes,1,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Deprecated, use matched_markets. + // + //Deprecated, use matched_markets. // // Deprecated: Marked as deprecated in auctioneer.proto. ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` - // A list of the user's own accounts that are being spent by the matched - // orders. The list contains the differences that would be applied by the - // server when executing the orders. + // + //A list of the user's own accounts that are being spent by the matched + //orders. The list contains the differences that would be applied by the + //server when executing the orders. ChargedAccounts []*AccountDiff `protobuf:"bytes,3,rep,name=charged_accounts,json=chargedAccounts,proto3" json:"charged_accounts,omitempty"` - // The fee parameters used to calculate the execution fees. + // + //The fee parameters used to calculate the execution fees. ExecutionFee *ExecutionFee `protobuf:"bytes,4,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"` - // The batch transaction with all non-witness data. + // + //The batch transaction with all non-witness data. BatchTransaction []byte `protobuf:"bytes,5,opt,name=batch_transaction,json=batchTransaction,proto3" json:"batch_transaction,omitempty"` - // Fee rate of the batch transaction, expressed in satoshis per 1000 weight - // units (sat/kW). + // + //Fee rate of the batch transaction, expressed in satoshis per 1000 weight + //units (sat/kW). FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` - // Fee rebate in satoshis, offered if another batch participant wants to pay - // more fees for a faster confirmation. + // + //Fee rebate in satoshis, offered if another batch participant wants to pay + //more fees for a faster confirmation. FeeRebateSat uint64 `protobuf:"varint,7,opt,name=fee_rebate_sat,json=feeRebateSat,proto3" json:"fee_rebate_sat,omitempty"` - // The 32 byte unique identifier of this batch. + // + //The 32 byte unique identifier of this batch. BatchId []byte `protobuf:"bytes,8,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` - // The batch verification protocol version the server is using. Clients that - // don't support this version MUST return an `OrderMatchAccept` message with - // an empty list of orders so the batch can continue. The user should then be - // informed that a software update is required. + // + //The batch verification protocol version the server is using. Clients that + //don't support this version MUST return an `OrderMatchAccept` message with + //an empty list of orders so the batch can continue. The user should then be + //informed that a software update is required. BatchVersion uint32 `protobuf:"varint,9,opt,name=batch_version,json=batchVersion,proto3" json:"batch_version,omitempty"` - // Maps the distinct lease duration markets to the orders that were matched - // within and the discovered market clearing price. + // + //Maps the distinct lease duration markets to the orders that were matched + //within and the discovered market clearing price. MatchedMarkets map[uint32]*MatchedMarket `protobuf:"bytes,10,rep,name=matched_markets,json=matchedMarkets,proto3" json:"matched_markets,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The earliest absolute height in the chain in which the batch transaction can - // be found within. This will be used by traders to base off their absolute - // channel lease maturity height. + // + //The earliest absolute height in the chain in which the batch transaction can + //be found within. This will be used by traders to base off their absolute + //channel lease maturity height. BatchHeightHint uint32 `protobuf:"varint,11,opt,name=batch_height_hint,json=batchHeightHint,proto3" json:"batch_height_hint,omitempty"` } @@ -2578,9 +2660,11 @@ type TxOut struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The value of the transaction output in satoshis. + // + //The value of the transaction output in satoshis. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - // The public key script of the output. + // + //The public key script of the output. PkScript []byte `protobuf:"bytes,2,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"` } @@ -2635,16 +2719,19 @@ type OrderMatchSignBegin struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The 32 byte unique identifier of this batch. + // + //The 32 byte unique identifier of this batch. BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` - // A set of 66-byte nonces for each version 1 (Taproot enabled) account. The - // nonces can be used to produce a MuSig2 partial signature to spend the - // account using the key spend path, which is a MuSig2 combined key of the - // auctioneer key and the trader key. + // + //A set of 66-byte nonces for each version 1 (Taproot enabled) account. The + //nonces can be used to produce a MuSig2 partial signature to spend the + //account using the key spend path, which is a MuSig2 combined key of the + //auctioneer key and the trader key. ServerNonces map[string][]byte `protobuf:"bytes,2,rep,name=server_nonces,json=serverNonces,proto3" json:"server_nonces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The full list of UTXO information for each of the inputs being spent. This - // is required when spending one or more Taproot enabled (account version 1) - // outputs. + // + //The full list of UTXO information for each of the inputs being spent. This + //is required when spending one or more Taproot enabled (account version 1) + //outputs. PrevOutputs []*TxOut `protobuf:"bytes,3,rep,name=prev_outputs,json=prevOutputs,proto3" json:"prev_outputs,omitempty"` } @@ -2706,9 +2793,11 @@ type OrderMatchFinalize struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The unique identifier of the finalized batch. + // + //The unique identifier of the finalized batch. BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` - // The final transaction ID of the published batch transaction. + // + //The final transaction ID of the published batch transaction. BatchTxid []byte `protobuf:"bytes,2,opt,name=batch_txid,json=batchTxid,proto3" json:"batch_txid,omitempty"` } @@ -2763,19 +2852,23 @@ type SubscribeError struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The string representation of the subscription error. + // + //The string representation of the subscription error. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - // The error code of the subscription error. + // + //The error code of the subscription error. ErrorCode SubscribeError_Error `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=poolrpc.SubscribeError_Error" json:"error_code,omitempty"` - // The trader's account key this error is referring to. This is not set if - // the error code is SERVER_SHUTDOWN as that error is only sent once per - // connection and not per individual subscription. + // + //The trader's account key this error is referring to. This is not set if + //the error code is SERVER_SHUTDOWN as that error is only sent once per + //connection and not per individual subscription. TraderKey []byte `protobuf:"bytes,3,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The auctioneer's partial account information as it was stored when creating - // the reservation. This is only set if the error code is - // INCOMPLETE_ACCOUNT_RESERVATION. Only the fields value, expiry, trader_key, - // auctioneer_key, batch_key and height_hint will be set in that - // case. + // + //The auctioneer's partial account information as it was stored when creating + //the reservation. This is only set if the error code is + //INCOMPLETE_ACCOUNT_RESERVATION. Only the fields value, expiry, trader_key, + //auctioneer_key, batch_key and height_hint will be set in that + //case. AccountReservation *AuctionAccount `protobuf:"bytes,4,opt,name=account_reservation,json=accountReservation,proto3" json:"account_reservation,omitempty"` } @@ -2844,29 +2937,39 @@ type AuctionAccount struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The value of the account in satoshis. Must match the amount of the - // account_point output. + // + //The value of the account in satoshis. Must match the amount of the + //account_point output. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - // The block height at which the account should expire. + // + //The block height at which the account should expire. Expiry uint32 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"` - // The trader's account key. + // + //The trader's account key. TraderKey []byte `protobuf:"bytes,3,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The long term auctioneer's account key. + // + //The long term auctioneer's account key. AuctioneerKey []byte `protobuf:"bytes,4,opt,name=auctioneer_key,json=auctioneerKey,proto3" json:"auctioneer_key,omitempty"` - // The current batch key used to create the account output. + // + //The current batch key used to create the account output. BatchKey []byte `protobuf:"bytes,5,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"` - // The current state of the account as the auctioneer sees it. + // + //The current state of the account as the auctioneer sees it. State AuctionAccountState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.AuctionAccountState" json:"state,omitempty"` - // The block height of the last change to the account's output. Can be used to - // scan the chain for the output's spend state more efficiently. + // + //The block height of the last change to the account's output. Can be used to + //scan the chain for the output's spend state more efficiently. HeightHint uint32 `protobuf:"varint,7,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` - // Transaction output of the account. Depending on the state of the account, - // this output might have been spent. + // + //Transaction output of the account. Depending on the state of the account, + //this output might have been spent. Outpoint *OutPoint `protobuf:"bytes,8,opt,name=outpoint,proto3" json:"outpoint,omitempty"` - // The latest transaction of an account. This is only known by the auctioneer - // after the account has met its initial funding confirmation. + // + //The latest transaction of an account. This is only known by the auctioneer + //after the account has met its initial funding confirmation. LatestTx []byte `protobuf:"bytes,9,opt,name=latest_tx,json=latestTx,proto3" json:"latest_tx,omitempty"` - // The account version. Will be set to 0 for legacy (non-taproot) accounts. + // + //The account version. Will be set to 0 for legacy (non-taproot) accounts. Version uint32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` } @@ -2977,11 +3080,13 @@ type MatchedOrder struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The bids the trader's own order was matched against. This list is empty if - // the trader's order was a bid order itself. + // + //The bids the trader's own order was matched against. This list is empty if + //the trader's order was a bid order itself. MatchedBids []*MatchedBid `protobuf:"bytes,1,rep,name=matched_bids,json=matchedBids,proto3" json:"matched_bids,omitempty"` - // The asks the trader's own order was matched against. This list is empty if - // the trader's order was an ask order itself. + // + //The asks the trader's own order was matched against. This list is empty if + //the trader's order was an ask order itself. MatchedAsks []*MatchedAsk `protobuf:"bytes,2,rep,name=matched_asks,json=matchedAsks,proto3" json:"matched_asks,omitempty"` } @@ -3036,9 +3141,11 @@ type MatchedAsk struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The ask order that was matched against. + // + //The ask order that was matched against. Ask *ServerAsk `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - // The number of units that were filled from/by this matched order. + // + //The number of units that were filled from/by this matched order. UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"` } @@ -3093,9 +3200,11 @@ type MatchedBid struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The ask order that was matched against. + // + //The ask order that was matched against. Bid *ServerBid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"` - // The number of units that were filled from/by this matched order. + // + //The number of units that were filled from/by this matched order. UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"` } @@ -3150,26 +3259,32 @@ type AccountDiff struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The final balance of the account after the executed batch. + // + //The final balance of the account after the executed batch. EndingBalance uint64 `protobuf:"varint,1,opt,name=ending_balance,json=endingBalance,proto3" json:"ending_balance,omitempty"` - // Depending on the amount of the final balance of the account, the remainder - // is either sent to a new on-chain output, extended off-chain or fully - // consumed by the batch and its fees. + // + //Depending on the amount of the final balance of the account, the remainder + //is either sent to a new on-chain output, extended off-chain or fully + //consumed by the batch and its fees. EndingState AccountDiff_AccountState `protobuf:"varint,2,opt,name=ending_state,json=endingState,proto3,enum=poolrpc.AccountDiff_AccountState" json:"ending_state,omitempty"` - // If the account was re-created on-chain then the new account's index in the - // transaction is set here. If the account was fully spent or the remainder was - // extended off-chain then no new account outpoint is created and -1 is - // returned here. + // + //If the account was re-created on-chain then the new account's index in the + //transaction is set here. If the account was fully spent or the remainder was + //extended off-chain then no new account outpoint is created and -1 is + //returned here. OutpointIndex int32 `protobuf:"varint,3,opt,name=outpoint_index,json=outpointIndex,proto3" json:"outpoint_index,omitempty"` - // The trader's account key this diff is referring to. + // + //The trader's account key this diff is referring to. TraderKey []byte `protobuf:"bytes,4,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The new account expiry height used to verify the batch. If the batch is - // successfully executed the account must update its expiry height to this - // value. + // + //The new account expiry height used to verify the batch. If the batch is + //successfully executed the account must update its expiry height to this + //value. NewExpiry uint32 `protobuf:"varint,5,opt,name=new_expiry,json=newExpiry,proto3" json:"new_expiry,omitempty"` - // The new account version used to verify the batch. If this is non-zero, it - // means the account was automatically upgraded to the given version during the - // batch execution. + // + //The new account version used to verify the batch. If this is non-zero, it + //means the account was automatically upgraded to the given version during the + //batch execution. NewVersion uint32 `protobuf:"varint,6,opt,name=new_version,json=newVersion,proto3" json:"new_version,omitempty"` } @@ -3252,31 +3367,41 @@ type ServerOrder struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader's account key of the account to use for the order. + // + //The trader's account key of the account to use for the order. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // Fixed order rate in parts per billion. + // + //Fixed order rate in parts per billion. RateFixed uint32 `protobuf:"varint,2,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"` - // Order amount in satoshis. + // + //Order amount in satoshis. Amt uint64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"` MinChanAmt uint64 `protobuf:"varint,4,opt,name=min_chan_amt,json=minChanAmt,proto3" json:"min_chan_amt,omitempty"` - // Order nonce of 32 byte length, acts as unique order identifier. + // + //Order nonce of 32 byte length, acts as unique order identifier. OrderNonce []byte `protobuf:"bytes,6,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"` - // Signature of the order's digest, signed with the user's account key. The - // signature must be fixed-size LN wire format encoded. Version 0 includes the - // fields version, rate_fixed, amt, max_batch_fee_rate_sat_per_kw and - // lease_duration_blocks in the order digest. + // + //Signature of the order's digest, signed with the user's account key. The + //signature must be fixed-size LN wire format encoded. Version 0 includes the + //fields version, rate_fixed, amt, max_batch_fee_rate_sat_per_kw and + //lease_duration_blocks in the order digest. OrderSig []byte `protobuf:"bytes,7,opt,name=order_sig,json=orderSig,proto3" json:"order_sig,omitempty"` - // The multi signature key of the node creating the order, will be used for the - // target channel's funding TX 2-of-2 multi signature output. + // + //The multi signature key of the node creating the order, will be used for the + //target channel's funding TX 2-of-2 multi signature output. MultiSigKey []byte `protobuf:"bytes,8,opt,name=multi_sig_key,json=multiSigKey,proto3" json:"multi_sig_key,omitempty"` - // The pubkey of the node creating the order. + // + //The pubkey of the node creating the order. NodePub []byte `protobuf:"bytes,9,opt,name=node_pub,json=nodePub,proto3" json:"node_pub,omitempty"` - // The network addresses of the node creating the order. + // + //The network addresses of the node creating the order. NodeAddr []*NodeAddress `protobuf:"bytes,10,rep,name=node_addr,json=nodeAddr,proto3" json:"node_addr,omitempty"` - // The type of the channel that should be opened. + // + //The type of the channel that should be opened. ChannelType OrderChannelType `protobuf:"varint,12,opt,name=channel_type,json=channelType,proto3,enum=poolrpc.OrderChannelType" json:"channel_type,omitempty"` - // Maximum fee rate the trader is willing to pay for the batch transaction, - // expressed in satoshis per 1000 weight units (sat/kW). + // + //Maximum fee rate the trader is willing to pay for the batch transaction, + //expressed in satoshis per 1000 weight units (sat/kW). MaxBatchFeeRateSatPerKw uint64 `protobuf:"varint,13,opt,name=max_batch_fee_rate_sat_per_kw,json=maxBatchFeeRateSatPerKw,proto3" json:"max_batch_fee_rate_sat_per_kw,omitempty"` // List of nodes that will be allowed to match with our order. Incompatible // with the `not_allowed_node_ids` field. @@ -3433,32 +3558,40 @@ type ServerBid struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The common fields shared between both ask and bid order types. + // + //The common fields shared between both ask and bid order types. Details *ServerOrder `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // Required number of blocks that a channel opened as a result of this bid - // should be kept open. + // + //Required number of blocks that a channel opened as a result of this bid + //should be kept open. LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"` - // The version of the order format that is used. Will be increased once new - // features are added. + // + //The version of the order format that is used. Will be increased once new + //features are added. Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - // The minimum node tier this order should be matched with. Only asks backed by - // a node this tier or higher will be eligible for matching with this bid. + // + //The minimum node tier this order should be matched with. Only asks backed by + //a node this tier or higher will be eligible for matching with this bid. MinNodeTier NodeTier `protobuf:"varint,5,opt,name=min_node_tier,json=minNodeTier,proto3,enum=poolrpc.NodeTier" json:"min_node_tier,omitempty"` - // Give the incoming channel that results from this bid being matched an - // initial outbound balance by adding additional funds from the taker's account - // into the channel. As a simplification for the execution protocol and the - // channel reserve calculations the min_chan_amt must be set to the full order - // amount. For the inbound liquidity market the self_chan_balance can be at - // most the same as the order amount. + // + //Give the incoming channel that results from this bid being matched an + //initial outbound balance by adding additional funds from the taker's account + //into the channel. As a simplification for the execution protocol and the + //channel reserve calculations the min_chan_amt must be set to the full order + //amount. For the inbound liquidity market the self_chan_balance can be at + //most the same as the order amount. SelfChanBalance uint64 `protobuf:"varint,6,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"` - // If this bid order is meant to lease a channel for another node (which is - // dubbed a "sidecar channel") then this boolean needs to be set to true. The - // multi_sig_key, node_pub and node_addr fields of the order details must then - // correspond to the recipient node's details. + // + //If this bid order is meant to lease a channel for another node (which is + //dubbed a "sidecar channel") then this boolean needs to be set to true. The + //multi_sig_key, node_pub and node_addr fields of the order details must then + //correspond to the recipient node's details. IsSidecarChannel bool `protobuf:"varint,7,opt,name=is_sidecar_channel,json=isSidecarChannel,proto3" json:"is_sidecar_channel,omitempty"` - // Signals if this bid is interested in an announced or unannounced channel. + // + //Signals if this bid is interested in an announced or unannounced channel. UnannouncedChannel bool `protobuf:"varint,8,opt,name=unannounced_channel,json=unannouncedChannel,proto3" json:"unannounced_channel,omitempty"` - // Signals if this bid is interested in a zero conf channel or not. + // + //Signals if this bid is interested in a zero conf channel or not. ZeroConfChannel bool `protobuf:"varint,9,opt,name=zero_conf_channel,json=zeroConfChannel,proto3" json:"zero_conf_channel,omitempty"` } @@ -3555,18 +3688,23 @@ type ServerAsk struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The common fields shared between both ask and bid order types. + // + //The common fields shared between both ask and bid order types. Details *ServerOrder `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // The number of blocks the liquidity provider is willing to provide the - // channel funds for. + // + //The number of blocks the liquidity provider is willing to provide the + //channel funds for. LeaseDurationBlocks uint32 `protobuf:"varint,4,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"` - // The version of the order format that is used. Will be increased once new - // features are added. + // + //The version of the order format that is used. Will be increased once new + //features are added. Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` - // The constraints for selling the liquidity based on channel discoverability. + // + //The constraints for selling the liquidity based on channel discoverability. AnnouncementConstraints ChannelAnnouncementConstraints `protobuf:"varint,6,opt,name=announcement_constraints,json=announcementConstraints,proto3,enum=poolrpc.ChannelAnnouncementConstraints" json:"announcement_constraints,omitempty"` - // The constraints for selling the liquidity based on the number of - // blocks before considering the channel confirmed. + // + //The constraints for selling the liquidity based on the number of + //blocks before considering the channel confirmed. ConfirmationConstraints ChannelConfirmationConstraints `protobuf:"varint,7,opt,name=confirmation_constraints,json=confirmationConstraints,proto3,enum=poolrpc.ChannelConfirmationConstraints" json:"confirmation_constraints,omitempty"` } @@ -3754,8 +3892,9 @@ type ServerInput struct { // The outpoint that the input corresponds to. Outpoint *OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` - // The signature script required by the input. This only applies to NP2WKH - // inputs. + // + //The signature script required by the input. This only applies to NP2WKH + //inputs. SigScript []byte `protobuf:"bytes,2,opt,name=sig_script,json=sigScript,proto3" json:"sig_script,omitempty"` } @@ -3867,26 +4006,31 @@ type ServerModifyAccountRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader's account key of the account to be modified. + // + //The trader's account key of the account to be modified. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // An additional set of inputs that can be included in the spending transaction - // of an account. These can be used to deposit more funds into an account. - // These must be under control of the backing lnd node's wallet. + // + //An additional set of inputs that can be included in the spending transaction + //of an account. These can be used to deposit more funds into an account. + //These must be under control of the backing lnd node's wallet. NewInputs []*ServerInput `protobuf:"bytes,2,rep,name=new_inputs,json=newInputs,proto3" json:"new_inputs,omitempty"` - // An additional set of outputs that can be included in the spending - // transaction of an account. These can be used to withdraw funds from an - // account. + // + //An additional set of outputs that can be included in the spending + //transaction of an account. These can be used to withdraw funds from an + //account. NewOutputs []*ServerOutput `protobuf:"bytes,3,rep,name=new_outputs,json=newOutputs,proto3" json:"new_outputs,omitempty"` // The new parameters to apply for the account. NewParams *ServerModifyAccountRequest_NewAccountParameters `protobuf:"bytes,4,opt,name=new_params,json=newParams,proto3" json:"new_params,omitempty"` - // A set of 66-byte nonces for each version 1 (Taproot enabled) account. The - // nonces can be used to produce a MuSig2 partial signature to spend the - // account using the key spend path, which is a MuSig2 combined key of the - // auctioneer key and the trader key. + // + //A set of 66-byte nonces for each version 1 (Taproot enabled) account. The + //nonces can be used to produce a MuSig2 partial signature to spend the + //account using the key spend path, which is a MuSig2 combined key of the + //auctioneer key and the trader key. TraderNonces []byte `protobuf:"bytes,5,opt,name=trader_nonces,json=traderNonces,proto3" json:"trader_nonces,omitempty"` - // The full list of UTXO information for each of the inputs being spent. This - // is required when spending a Taproot enabled (account version 1) output or - // when adding additional Taproot inputs. + // + //The full list of UTXO information for each of the inputs being spent. This + //is required when spending a Taproot enabled (account version 1) output or + //when adding additional Taproot inputs. PrevOutputs []*TxOut `protobuf:"bytes,6,rep,name=prev_outputs,json=prevOutputs,proto3" json:"prev_outputs,omitempty"` } @@ -3969,17 +4113,19 @@ type ServerModifyAccountResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The auctioneer's signature that allows a trader to broadcast a transaction - // spending from an account output. For version 1 (Taproot enabled) accounts, - // this merely represents a partial MuSig2 signature that can be combined into - // a full signature by the trader daemon by adding its own partial signature. A - // set of nonces will be provided by the server (in case this is a v1 account) - // to allow finalizing the MuSig2 signing session. + // + //The auctioneer's signature that allows a trader to broadcast a transaction + //spending from an account output. For version 1 (Taproot enabled) accounts, + //this merely represents a partial MuSig2 signature that can be combined into + //a full signature by the trader daemon by adding its own partial signature. A + //set of nonces will be provided by the server (in case this is a v1 account) + //to allow finalizing the MuSig2 signing session. AccountSig []byte `protobuf:"bytes,1,opt,name=account_sig,json=accountSig,proto3" json:"account_sig,omitempty"` - // An optional set of 66-byte nonces for a version 1 (Taproot enabled) account - // spend. The nonces can be used to produce a MuSig2 partial signature to spend - // the account using the key spend path, which is a MuSig2 combined key of the - // auctioneer key and the trader key. + // + //An optional set of 66-byte nonces for a version 1 (Taproot enabled) account + //spend. The nonces can be used to produce a MuSig2 partial signature to spend + //the account using the key spend path, which is a MuSig2 combined key of the + //auctioneer key and the trader key. ServerNonces []byte `protobuf:"bytes,2,opt,name=server_nonces,json=serverNonces,proto3" json:"server_nonces,omitempty"` } @@ -4081,11 +4227,13 @@ type ServerOrderStateResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The state the order currently is in. + // + //The state the order currently is in. State OrderState `protobuf:"varint,1,opt,name=state,proto3,enum=poolrpc.OrderState" json:"state,omitempty"` - // The number of currently unfilled units of this order. This will be equal to - // the total amount of units until the order has reached the state PARTIAL_FILL - // or EXECUTED. + // + //The number of currently unfilled units of this order. This will be equal to + //the total amount of units until the order has reached the state PARTIAL_FILL + //or EXECUTED. UnitsUnfulfilled uint32 `protobuf:"varint,2,opt,name=units_unfulfilled,json=unitsUnfulfilled,proto3" json:"units_unfulfilled,omitempty"` } @@ -4178,31 +4326,39 @@ type TermsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The maximum account size in satoshis currently allowed by the auctioneer. + // + //The maximum account size in satoshis currently allowed by the auctioneer. MaxAccountValue uint64 `protobuf:"varint,1,opt,name=max_account_value,json=maxAccountValue,proto3" json:"max_account_value,omitempty"` - // Deprecated, use explicit order duration from lease_duration_buckets. + // + //Deprecated, use explicit order duration from lease_duration_buckets. // // Deprecated: Marked as deprecated in auctioneer.proto. MaxOrderDurationBlocks uint32 `protobuf:"varint,2,opt,name=max_order_duration_blocks,json=maxOrderDurationBlocks,proto3" json:"max_order_duration_blocks,omitempty"` - // The execution fee charged per matched order. + // + //The execution fee charged per matched order. ExecutionFee *ExecutionFee `protobuf:"bytes,3,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"` - // Deprecated, use lease_duration_buckets. + // + //Deprecated, use lease_duration_buckets. // // Deprecated: Marked as deprecated in auctioneer.proto. LeaseDurations map[uint32]bool `protobuf:"bytes,4,rep,name=lease_durations,json=leaseDurations,proto3" json:"lease_durations,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // The confirmation target to use for fee estimation of the next batch. NextBatchConfTarget uint32 `protobuf:"varint,5,opt,name=next_batch_conf_target,json=nextBatchConfTarget,proto3" json:"next_batch_conf_target,omitempty"` - // The fee rate, in satoshis per kiloweight, estimated to use for the next - // batch. + // + //The fee rate, in satoshis per kiloweight, estimated to use for the next + //batch. NextBatchFeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=next_batch_fee_rate_sat_per_kw,json=nextBatchFeeRateSatPerKw,proto3" json:"next_batch_fee_rate_sat_per_kw,omitempty"` - // The absolute unix timestamp at which the auctioneer will attempt to clear - // the next batch. + // + //The absolute unix timestamp at which the auctioneer will attempt to clear + //the next batch. NextBatchClearTimestamp uint64 `protobuf:"varint,7,opt,name=next_batch_clear_timestamp,json=nextBatchClearTimestamp,proto3" json:"next_batch_clear_timestamp,omitempty"` - // The set of lease durations the market is currently accepting and the state - // the duration buckets currently are in. + // + //The set of lease durations the market is currently accepting and the state + //the duration buckets currently are in. LeaseDurationBuckets map[uint32]DurationBucketState `protobuf:"bytes,8,rep,name=lease_duration_buckets,json=leaseDurationBuckets,proto3" json:"lease_duration_buckets,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=poolrpc.DurationBucketState"` - // The value used by the auctioneer to determine if an account expiry height - // needs to be extended after participating in a batch and for how long. + // + //The value used by the auctioneer to determine if an account expiry height + //needs to be extended after participating in a batch and for how long. AutoRenewExtensionBlocks uint32 `protobuf:"varint,9,opt,name=auto_renew_extension_blocks,json=autoRenewExtensionBlocks,proto3" json:"auto_renew_extension_blocks,omitempty"` } @@ -4310,8 +4466,9 @@ type RelevantBatchRequest struct { // The unique identifier of the batch. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The set of accounts the trader is interested in retrieving information - // for within the batch. Each account is identified by its trader key. + // + //The set of accounts the trader is interested in retrieving information + //for within the batch. Each account is identified by its trader key. Accounts [][]byte `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` } @@ -4370,14 +4527,17 @@ type RelevantBatch struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // The unique identifier of the batch. Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The set of modifications that should be applied to the requested accounts as - // a result of this batch. + // + //The set of modifications that should be applied to the requested accounts as + //a result of this batch. ChargedAccounts []*AccountDiff `protobuf:"bytes,3,rep,name=charged_accounts,json=chargedAccounts,proto3" json:"charged_accounts,omitempty"` - // Deprecated, use matched_markets. + // + //Deprecated, use matched_markets. // // Deprecated: Marked as deprecated in auctioneer.proto. MatchedOrders map[string]*MatchedOrder `protobuf:"bytes,4,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Deprecated, use matched_markets. + // + //Deprecated, use matched_markets. // // Deprecated: Marked as deprecated in auctioneer.proto. ClearingPriceRate uint32 `protobuf:"varint,5,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` @@ -4385,13 +4545,15 @@ type RelevantBatch struct { ExecutionFee *ExecutionFee `protobuf:"bytes,6,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"` // The batch transaction including all witness data. Transaction []byte `protobuf:"bytes,7,opt,name=transaction,proto3" json:"transaction,omitempty"` - // Fee rate of the batch transaction, expressed in satoshis per 1000 weight - // units (sat/kW). + // + //Fee rate of the batch transaction, expressed in satoshis per 1000 weight + //units (sat/kW). FeeRateSatPerKw uint64 `protobuf:"varint,8,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` // The unix timestamp in nanoseconds the batch was made. CreationTimestampNs uint64 `protobuf:"varint,9,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"` - // Maps the distinct lease duration markets to the orders that were matched - // within and the discovered market clearing price. + // + //Maps the distinct lease duration markets to the orders that were matched + //within and the discovered market clearing price. MatchedMarkets map[uint32]*MatchedMarket `protobuf:"bytes,10,rep,name=matched_markets,json=matchedMarkets,proto3" json:"matched_markets,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -4504,9 +4666,11 @@ type ExecutionFee struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The base fee in satoshis charged per order, regardless of the matched size. + // + //The base fee in satoshis charged per order, regardless of the matched size. BaseFee uint64 `protobuf:"varint,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"` - // The fee rate in parts per million. + // + //The fee rate in parts per million. FeeRate uint64 `protobuf:"varint,2,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` } @@ -4616,9 +4780,11 @@ type OutPoint struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Raw bytes representing the transaction id. + // + //Raw bytes representing the transaction id. Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` - // The index of the output on the transaction. + // + //The index of the output on the transaction. OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` } @@ -4955,10 +5121,12 @@ type MatchedMarketSnapshot struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The set of all orders matched in the batch. + // + //The set of all orders matched in the batch. MatchedOrders []*MatchedOrderSnapshot `protobuf:"bytes,1,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty"` - // The uniform clearing price rate in parts per billion that was used for this - // batch. + // + //The uniform clearing price rate in parts per billion that was used for this + //batch. ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` } @@ -5019,11 +5187,13 @@ type BatchSnapshotResponse struct { BatchId []byte `protobuf:"bytes,2,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // The unique identifier of the prior batch. PrevBatchId []byte `protobuf:"bytes,3,opt,name=prev_batch_id,json=prevBatchId,proto3" json:"prev_batch_id,omitempty"` - // Deprecated, use matched_markets. + // + //Deprecated, use matched_markets. // // Deprecated: Marked as deprecated in auctioneer.proto. ClearingPriceRate uint32 `protobuf:"varint,4,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` - // Deprecated, use matched_markets. + // + //Deprecated, use matched_markets. // // Deprecated: Marked as deprecated in auctioneer.proto. MatchedOrders []*MatchedOrderSnapshot `protobuf:"bytes,5,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty"` @@ -5035,8 +5205,9 @@ type BatchSnapshotResponse struct { BatchTxFeeRateSatPerKw uint64 `protobuf:"varint,8,opt,name=batch_tx_fee_rate_sat_per_kw,json=batchTxFeeRateSatPerKw,proto3" json:"batch_tx_fee_rate_sat_per_kw,omitempty"` // The unix timestamp in nanoseconds the batch was made. CreationTimestampNs uint64 `protobuf:"varint,9,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"` - // Maps the distinct lease duration markets to the orders that were matched - // within and the discovered market clearing price. + // + //Maps the distinct lease duration markets to the orders that were matched + //within and the discovered market clearing price. MatchedMarkets map[uint32]*MatchedMarketSnapshot `protobuf:"bytes,10,rep,name=matched_markets,json=matchedMarkets,proto3" json:"matched_markets,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -5302,12 +5473,14 @@ type BatchSnapshotsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The unique identifier of the first batch to return, encoded as a compressed - // pubkey. This represents the newest/most current batch to fetch. If this is - // empty or a zero batch ID, the most recent finalized batch is used as the - // starting point to go back from. + // + //The unique identifier of the first batch to return, encoded as a compressed + //pubkey. This represents the newest/most current batch to fetch. If this is + //empty or a zero batch ID, the most recent finalized batch is used as the + //starting point to go back from. StartBatchId []byte `protobuf:"bytes,1,opt,name=start_batch_id,json=startBatchId,proto3" json:"start_batch_id,omitempty"` - // The number of batches to return at most, including the start batch. + // + //The number of batches to return at most, including the start batch. NumBatchesBack uint32 `protobuf:"varint,2,opt,name=num_batches_back,json=numBatchesBack,proto3" json:"num_batches_back,omitempty"` } @@ -5452,11 +5625,13 @@ type MarketInfo struct { NumAsks []*MarketInfo_TierValue `protobuf:"bytes,1,rep,name=num_asks,json=numAsks,proto3" json:"num_asks,omitempty"` // The number of open/pending bid orders per node tier. NumBids []*MarketInfo_TierValue `protobuf:"bytes,2,rep,name=num_bids,json=numBids,proto3" json:"num_bids,omitempty"` - // The total number of open/unmatched units in open/pending ask orders per node - // tier. + // + //The total number of open/unmatched units in open/pending ask orders per node + //tier. AskOpenInterestUnits []*MarketInfo_TierValue `protobuf:"bytes,3,rep,name=ask_open_interest_units,json=askOpenInterestUnits,proto3" json:"ask_open_interest_units,omitempty"` - // The total number of open/unmatched units in open/pending bid orders per node - // tier. + // + //The total number of open/unmatched units in open/pending bid orders per node + //tier. BidOpenInterestUnits []*MarketInfo_TierValue `protobuf:"bytes,4,rep,name=bid_open_interest_units,json=bidOpenInterestUnits,proto3" json:"bid_open_interest_units,omitempty"` } diff --git a/auctioneerrpc/go.mod b/auctioneerrpc/go.mod index de5781185..9666a7945 100644 --- a/auctioneerrpc/go.mod +++ b/auctioneerrpc/go.mod @@ -13,4 +13,4 @@ require ( google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect ) -go 1.23.6 +go 1.27.3 diff --git a/auctioneerrpc/hashmail.pb.go b/auctioneerrpc/hashmail.pb.go index 30f34e074..a0dbeac23 100644 --- a/auctioneerrpc/hashmail.pb.go +++ b/auctioneerrpc/hashmail.pb.go @@ -87,8 +87,9 @@ type SidecarAuth struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // A valid sidecar ticket that has been signed (offered) by a Pool account in - // the active state. + // + //A valid sidecar ticket that has been signed (offered) by a Pool account in + //the active state. Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` } @@ -139,7 +140,6 @@ type CipherBoxAuth struct { // A description of the stream one is attempting to initialize. Desc *CipherBoxDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` // Types that are assignable to Auth: - // // *CipherBoxAuth_AcctAuth // *CipherBoxAuth_SidecarAuth Auth isCipherBoxAuth_Auth `protobuf_oneof:"auth"` @@ -388,7 +388,6 @@ type CipherInitResp struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Resp: - // // *CipherInitResp_Success // *CipherInitResp_Challenge // *CipherInitResp_Error @@ -460,20 +459,23 @@ type isCipherInitResp_Resp interface { } type CipherInitResp_Success struct { - // CipherSuccess is returned if the initialization of the cipher box was - // successful. + // + //CipherSuccess is returned if the initialization of the cipher box was + //successful. Success *CipherSuccess `protobuf:"bytes,1,opt,name=success,proto3,oneof"` } type CipherInitResp_Challenge struct { - // CipherChallenge is returned if the authentication mechanism was revoked - // or needs to be refreshed. + // + //CipherChallenge is returned if the authentication mechanism was revoked + //or needs to be refreshed. Challenge *CipherChallenge `protobuf:"bytes,2,opt,name=challenge,proto3,oneof"` } type CipherInitResp_Error struct { - // CipherError is returned if the authentication mechanism failed to - // validate. + // + //CipherError is returned if the authentication mechanism failed to + //validate. Error *CipherError `protobuf:"bytes,3,opt,name=error,proto3,oneof"` } diff --git a/auctioneerrpc/hashmail_grpc.pb.go b/auctioneerrpc/hashmail_grpc.pb.go index 90635a213..82987463c 100644 --- a/auctioneerrpc/hashmail_grpc.pb.go +++ b/auctioneerrpc/hashmail_grpc.pb.go @@ -18,22 +18,26 @@ const _ = grpc.SupportPackageIsVersion7 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type HashMailClient interface { - // NewCipherBox creates a new cipher box pipe/stream given a valid - // authentication mechanism. If the authentication mechanism has been revoked, - // or needs to be changed, then a CipherChallenge message is returned. - // Otherwise the method will either be accepted or rejected. + // + //NewCipherBox creates a new cipher box pipe/stream given a valid + //authentication mechanism. If the authentication mechanism has been revoked, + //or needs to be changed, then a CipherChallenge message is returned. + //Otherwise the method will either be accepted or rejected. NewCipherBox(ctx context.Context, in *CipherBoxAuth, opts ...grpc.CallOption) (*CipherInitResp, error) - // DelCipherBox attempts to tear down an existing cipher box pipe. The same - // authentication mechanism used to initially create the stream MUST be - // specified. + // + //DelCipherBox attempts to tear down an existing cipher box pipe. The same + //authentication mechanism used to initially create the stream MUST be + //specified. DelCipherBox(ctx context.Context, in *CipherBoxAuth, opts ...grpc.CallOption) (*DelCipherBoxResp, error) - // SendStream opens up the write side of the passed CipherBox pipe. Writes - // will be non-blocking up to the buffer size of the pipe. Beyond that writes - // will block until completed. + // + //SendStream opens up the write side of the passed CipherBox pipe. Writes + //will be non-blocking up to the buffer size of the pipe. Beyond that writes + //will block until completed. SendStream(ctx context.Context, opts ...grpc.CallOption) (HashMail_SendStreamClient, error) - // RecvStream opens up the read side of the passed CipherBox pipe. This method - // will block until a full message has been read as this is a message based - // pipe/stream abstraction. + // + //RecvStream opens up the read side of the passed CipherBox pipe. This method + //will block until a full message has been read as this is a message based + //pipe/stream abstraction. RecvStream(ctx context.Context, in *CipherBoxDesc, opts ...grpc.CallOption) (HashMail_RecvStreamClient, error) } @@ -133,22 +137,26 @@ func (x *hashMailRecvStreamClient) Recv() (*CipherBox, error) { // All implementations must embed UnimplementedHashMailServer // for forward compatibility type HashMailServer interface { - // NewCipherBox creates a new cipher box pipe/stream given a valid - // authentication mechanism. If the authentication mechanism has been revoked, - // or needs to be changed, then a CipherChallenge message is returned. - // Otherwise the method will either be accepted or rejected. + // + //NewCipherBox creates a new cipher box pipe/stream given a valid + //authentication mechanism. If the authentication mechanism has been revoked, + //or needs to be changed, then a CipherChallenge message is returned. + //Otherwise the method will either be accepted or rejected. NewCipherBox(context.Context, *CipherBoxAuth) (*CipherInitResp, error) - // DelCipherBox attempts to tear down an existing cipher box pipe. The same - // authentication mechanism used to initially create the stream MUST be - // specified. + // + //DelCipherBox attempts to tear down an existing cipher box pipe. The same + //authentication mechanism used to initially create the stream MUST be + //specified. DelCipherBox(context.Context, *CipherBoxAuth) (*DelCipherBoxResp, error) - // SendStream opens up the write side of the passed CipherBox pipe. Writes - // will be non-blocking up to the buffer size of the pipe. Beyond that writes - // will block until completed. + // + //SendStream opens up the write side of the passed CipherBox pipe. Writes + //will be non-blocking up to the buffer size of the pipe. Beyond that writes + //will block until completed. SendStream(HashMail_SendStreamServer) error - // RecvStream opens up the read side of the passed CipherBox pipe. This method - // will block until a full message has been read as this is a message based - // pipe/stream abstraction. + // + //RecvStream opens up the read side of the passed CipherBox pipe. This method + //will block until a full message has been read as this is a message based + //pipe/stream abstraction. RecvStream(*CipherBoxDesc, HashMail_RecvStreamServer) error mustEmbedUnimplementedHashMailServer() } diff --git a/gen/Dockerfile b/gen/Dockerfile index 9caa96e56..a046246d1 100644 --- a/gen/Dockerfile +++ b/gen/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23.6-bookworm +FROM golang:1.27.3-bookworm RUN go install go.uber.org/mock/mockgen@v0.4.0 diff --git a/go.mod b/go.mod index cf5832af2..ef3365ac4 100644 --- a/go.mod +++ b/go.mod @@ -207,4 +207,4 @@ replace github.com/lightninglabs/pool/auctioneerrpc => ./auctioneerrpc replace github.com/lightninglabs/pool/poolrpc => ./poolrpc -go 1.23.6 +go 1.27.3 diff --git a/poolrpc/Dockerfile b/poolrpc/Dockerfile index ff15e7d8c..7c9841a92 100644 --- a/poolrpc/Dockerfile +++ b/poolrpc/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.3-bookworm +FROM golang:1.27.3-bookworm RUN apt-get update && apt-get install -y \ git \ diff --git a/poolrpc/go.mod b/poolrpc/go.mod index 582031aef..6ed025c1b 100644 --- a/poolrpc/go.mod +++ b/poolrpc/go.mod @@ -20,4 +20,4 @@ replace github.com/lightninglabs/pool/auctioneerrpc => ../auctioneerrpc replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.34.2-hex-display -go 1.23.6 +go 1.27.3 diff --git a/poolrpc/trader.pb.go b/poolrpc/trader.pb.go index 6229ce64a..4645521d4 100644 --- a/poolrpc/trader.pb.go +++ b/poolrpc/trader.pb.go @@ -24,20 +24,24 @@ const ( type AccountVersion int32 const ( - // Let the version of lnd decide. If a version of lnd >= 0.15.0-beta is - // detected then a Taproot account is created. For earlier versions a legacy - // account is created. If a version of lnd >= 0.16.0-beta is detected, then a - // Taproot v2 account is created. + // + //Let the version of lnd decide. If a version of lnd >= 0.15.0-beta is + //detected then a Taproot account is created. For earlier versions a legacy + //account is created. If a version of lnd >= 0.16.0-beta is detected, then a + //Taproot v2 account is created. AccountVersion_ACCOUNT_VERSION_LND_DEPENDENT AccountVersion = 0 - // A legacy SegWit v0 p2wsh account with a single script. + // + //A legacy SegWit v0 p2wsh account with a single script. AccountVersion_ACCOUNT_VERSION_LEGACY AccountVersion = 1 - // A Taproot enabled account with MuSig2 combined internal key and the expiry - // script as a single tap script leaf. + // + //A Taproot enabled account with MuSig2 combined internal key and the expiry + //script as a single tap script leaf. AccountVersion_ACCOUNT_VERSION_TAPROOT AccountVersion = 2 - // A Taproot enabled account with MuSig2 combined internal key and the expiry - // script as a single tap script leaf. This version uses the MuSig2 v1.0.0-rc2 - // protocol for creating the combined internal key. This can only be selected - // when the connected lnd version is >= 0.16.0-beta. + // + //A Taproot enabled account with MuSig2 combined internal key and the expiry + //script as a single tap script leaf. This version uses the MuSig2 v1.0.0-rc2 + //protocol for creating the combined internal key. This can only be selected + //when the connected lnd version is >= 0.16.0-beta. AccountVersion_ACCOUNT_VERSION_TAPROOT_V2 AccountVersion = 3 ) @@ -89,27 +93,32 @@ type AccountState int32 const ( // The state of an account when it is pending its confirmation on-chain. AccountState_PENDING_OPEN AccountState = 0 - // The state of an account when it has undergone an update on-chain either as - // part of a matched order or a trader modification and it is pending its - // confirmation on-chain. + // + //The state of an account when it has undergone an update on-chain either as + //part of a matched order or a trader modification and it is pending its + //confirmation on-chain. AccountState_PENDING_UPDATE AccountState = 1 // The state of an account once it has confirmed on-chain. AccountState_OPEN AccountState = 2 - // The state of an account once its expiration has been reached and its closing - // transaction has confirmed. + // + //The state of an account once its expiration has been reached and its closing + //transaction has confirmed. AccountState_EXPIRED AccountState = 3 - // The state of an account when we're waiting for the closing transaction of - // an account to confirm that required cooperation with the auctioneer. + // + //The state of an account when we're waiting for the closing transaction of + //an account to confirm that required cooperation with the auctioneer. AccountState_PENDING_CLOSED AccountState = 4 // The state of an account once its closing transaction has confirmed. AccountState_CLOSED AccountState = 5 - // The state of an account that indicates that the account was attempted to be - // recovered but failed because the opening transaction wasn't found by lnd. - // This could be because it was never published or it never confirmed. Then the - // funds are SAFU and the account can be considered to never have been opened - // in the first place. + // + //The state of an account that indicates that the account was attempted to be + //recovered but failed because the opening transaction wasn't found by lnd. + //This could be because it was never published or it never confirmed. Then the + //funds are SAFU and the account can be considered to never have been opened + //in the first place. AccountState_RECOVERY_FAILED AccountState = 6 - // The account has recently participated in a batch and is not yet confirmed. + // + //The account has recently participated in a batch and is not yet confirmed. AccountState_PENDING_BATCH AccountState = 7 ) @@ -167,19 +176,24 @@ func (AccountState) EnumDescriptor() ([]byte, []int) { type MatchState int32 const ( - // The OrderMatchPrepare message from the auctioneer was received initially. + // + //The OrderMatchPrepare message from the auctioneer was received initially. MatchState_PREPARE MatchState = 0 - // The OrderMatchPrepare message from the auctioneer was processed successfully - // and the batch was accepted. + // + //The OrderMatchPrepare message from the auctioneer was processed successfully + //and the batch was accepted. MatchState_ACCEPTED MatchState = 1 - // The order was rejected by the trader daemon, either as an answer to a - // OrderMatchSignBegin or OrderMatchFinalize message from the auctioneer. + // + //The order was rejected by the trader daemon, either as an answer to a + //OrderMatchSignBegin or OrderMatchFinalize message from the auctioneer. MatchState_REJECTED MatchState = 2 - // The OrderMatchSignBegin message from the auctioneer was processed - // successfully. + // + //The OrderMatchSignBegin message from the auctioneer was processed + //successfully. MatchState_SIGNED MatchState = 3 - // The OrderMatchFinalize message from the auctioneer was processed - // successfully. + // + //The OrderMatchFinalize message from the auctioneer was processed + //successfully. MatchState_FINALIZED MatchState = 4 ) @@ -233,26 +247,31 @@ type MatchRejectReason int32 const ( // No reject occurred, this is the default value. MatchRejectReason_NONE MatchRejectReason = 0 - // The client didn't come up with the same result as the server and is - // rejecting the batch because of that. + // + //The client didn't come up with the same result as the server and is + //rejecting the batch because of that. MatchRejectReason_SERVER_MISBEHAVIOR MatchRejectReason = 1 - // The client doesn't support the current batch verification version the - // server is using. + // + //The client doesn't support the current batch verification version the + //server is using. MatchRejectReason_BATCH_VERSION_MISMATCH MatchRejectReason = 2 - // The client rejects some of the orders, not the full batch. This reason is - // set on matches for orders that were in the same batch as partial reject ones - // but were not themselves rejected. + // + //The client rejects some of the orders, not the full batch. This reason is + //set on matches for orders that were in the same batch as partial reject ones + //but were not themselves rejected. MatchRejectReason_PARTIAL_REJECT_COLLATERAL MatchRejectReason = 3 - // The trader's client has a preference to only match orders with peers it - // doesn't already have channels with. The order that is rejected with this - // reason type comes from a peer that the trader already has channels with. + // + //The trader's client has a preference to only match orders with peers it + //doesn't already have channels with. The order that is rejected with this + //reason type comes from a peer that the trader already has channels with. MatchRejectReason_PARTIAL_REJECT_DUPLICATE_PEER MatchRejectReason = 4 - // The trader's client couldn't connect to the remote node of the matched - // order or the channel funding could not be initialized for another - // reason. This could also be the rejecting node's fault if their - // connection is not stable. Using this code can have a negative impact on - // the reputation score of both nodes, depending on the number of errors - // recorded. + // + //The trader's client couldn't connect to the remote node of the matched + //order or the channel funding could not be initialized for another + //reason. This could also be the rejecting node's fault if their + //connection is not stable. Using this code can have a negative impact on + //the reputation score of both nodes, depending on the number of errors + //recorded. MatchRejectReason_PARTIAL_REJECT_CHANNEL_FUNDING_FAILED MatchRejectReason = 5 ) @@ -310,22 +329,22 @@ type InitAccountRequest struct { AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"` // Types that are assignable to AccountExpiry: - // // *InitAccountRequest_AbsoluteHeight // *InitAccountRequest_RelativeHeight AccountExpiry isInitAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` // Types that are assignable to Fees: - // // *InitAccountRequest_ConfTarget // *InitAccountRequest_FeeRateSatPerKw Fees isInitAccountRequest_Fees `protobuf_oneof:"fees"` - // An optional identification string that will be appended to the user agent - // string sent to the server to give information about the usage of pool. This - // initiator part is meant for user interfaces to add their name to give the - // full picture of the binary used (poold, LiT) and the method used for opening - // the account (pool CLI, LiT UI, other 3rd party UI). + // + //An optional identification string that will be appended to the user agent + //string sent to the server to give information about the usage of pool. This + //initiator part is meant for user interfaces to add their name to give the + //full picture of the binary used (poold, LiT) and the method used for opening + //the account (pool CLI, LiT UI, other 3rd party UI). Initiator string `protobuf:"bytes,5,opt,name=initiator,proto3" json:"initiator,omitempty"` - // The version of account to create. + // + //The version of account to create. Version AccountVersion `protobuf:"varint,7,opt,name=version,proto3,enum=poolrpc.AccountVersion" json:"version,omitempty"` } @@ -445,13 +464,15 @@ type isInitAccountRequest_Fees interface { } type InitAccountRequest_ConfTarget struct { - // The target number of blocks that the transaction should be confirmed in. + // + //The target number of blocks that the transaction should be confirmed in. ConfTarget uint32 `protobuf:"varint,4,opt,name=conf_target,json=confTarget,proto3,oneof"` } type InitAccountRequest_FeeRateSatPerKw struct { - // The fee rate, in satoshis per kw, to use for the initial funding - // transaction. + // + //The fee rate, in satoshis per kw, to use for the initial funding + //transaction. FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3,oneof"` } @@ -466,7 +487,6 @@ type QuoteAccountRequest struct { AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"` // Types that are assignable to Fees: - // // *QuoteAccountRequest_ConfTarget Fees isQuoteAccountRequest_Fees `protobuf_oneof:"fees"` } @@ -529,7 +549,8 @@ type isQuoteAccountRequest_Fees interface { } type QuoteAccountRequest_ConfTarget struct { - // The target number of blocks that the transaction should be confirmed in. + // + //The target number of blocks that the transaction should be confirmed in. ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"` } @@ -595,7 +616,8 @@ type ListAccountsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Only list accounts that are still active. + // + //Only list accounts that are still active. ActiveOnly bool `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` } @@ -750,7 +772,6 @@ type OutputWithFee struct { // The address corresponding to the output. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Types that are assignable to Fees: - // // *OutputWithFee_ConfTarget // *OutputWithFee_FeeRateSatPerKw Fees isOutputWithFee_Fees `protobuf_oneof:"fees"` @@ -821,12 +842,14 @@ type isOutputWithFee_Fees interface { } type OutputWithFee_ConfTarget struct { - // The target number of blocks that the transaction should be confirmed in. + // + //The target number of blocks that the transaction should be confirmed in. ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"` } type OutputWithFee_FeeRateSatPerKw struct { - // The fee rate, in satoshis per kw, to use for the withdrawal transaction. + // + //The fee rate, in satoshis per kw, to use for the withdrawal transaction. FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3,oneof"` } @@ -889,7 +912,6 @@ type CloseAccountRequest struct { // The trader key associated with the account that will be closed. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` // Types that are assignable to FundsDestination: - // // *CloseAccountRequest_OutputWithFee // *CloseAccountRequest_Outputs FundsDestination isCloseAccountRequest_FundsDestination `protobuf_oneof:"funds_destination"` @@ -960,18 +982,20 @@ type isCloseAccountRequest_FundsDestination interface { } type CloseAccountRequest_OutputWithFee struct { - // A single output/address to which the remaining funds of the account will - // be sent to at the specified fee. If an address is not specified, then - // the funds are sent to an address the backing lnd node controls. + // + //A single output/address to which the remaining funds of the account will + //be sent to at the specified fee. If an address is not specified, then + //the funds are sent to an address the backing lnd node controls. OutputWithFee *OutputWithFee `protobuf:"bytes,2,opt,name=output_with_fee,json=outputWithFee,proto3,oneof"` } type CloseAccountRequest_Outputs struct { - // The outputs to which the remaining funds of the account will be sent to. - // This should only be used when wanting to create two or more outputs, - // otherwise OutputWithFee should be used instead. The fee of the account's - // closing transaction is implicitly defined by the combined value of all - // outputs. + // + //The outputs to which the remaining funds of the account will be sent to. + //This should only be used when wanting to create two or more outputs, + //otherwise OutputWithFee should be used instead. The fee of the account's + //closing transaction is implicitly defined by the combined value of all + //outputs. Outputs *OutputsWithImplicitFee `protobuf:"bytes,3,opt,name=outputs,proto3,oneof"` } @@ -1032,21 +1056,23 @@ type WithdrawAccountRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader key associated with the account that funds will be withdrawed - // from. + // + //The trader key associated with the account that funds will be withdrawed + //from. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` // The outputs we'll withdraw funds from the account into. Outputs []*Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` - // The fee rate, in satoshis per kw, to use for the withdrawal transaction. + // + //The fee rate, in satoshis per kw, to use for the withdrawal transaction. FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` // Types that are assignable to AccountExpiry: - // // *WithdrawAccountRequest_AbsoluteExpiry // *WithdrawAccountRequest_RelativeExpiry AccountExpiry isWithdrawAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` - // The new version of the account. If this is set and is a valid version - // greater than the account's current version, then the account is upgraded to - // that version during the withdrawal. + // + //The new version of the account. If this is set and is a valid version + //greater than the account's current version, then the account is upgraded to + //that version during the withdrawal. NewVersion AccountVersion `protobuf:"varint,6,opt,name=new_version,json=newVersion,proto3,enum=poolrpc.AccountVersion" json:"new_version,omitempty"` } @@ -1211,21 +1237,23 @@ type DepositAccountRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader key associated with the account that funds will be deposited - // into. + // + //The trader key associated with the account that funds will be deposited + //into. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` // The amount in satoshis to deposit into the account. AmountSat uint64 `protobuf:"varint,2,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"` - // The fee rate, in satoshis per kw, to use for the deposit transaction. + // + //The fee rate, in satoshis per kw, to use for the deposit transaction. FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` // Types that are assignable to AccountExpiry: - // // *DepositAccountRequest_AbsoluteExpiry // *DepositAccountRequest_RelativeExpiry AccountExpiry isDepositAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` - // The new version of the account. If this is set and is a valid version - // greater than the account's current version, then the account is upgraded to - // that version during the deposit. + // + //The new version of the account. If this is set and is a valid version + //greater than the account's current version, then the account is upgraded to + //that version during the deposit. NewVersion AccountVersion `protobuf:"varint,6,opt,name=new_version,json=newVersion,proto3,enum=poolrpc.AccountVersion" json:"new_version,omitempty"` } @@ -1393,15 +1421,15 @@ type RenewAccountRequest struct { // The key associated with the account to renew. AccountKey []byte `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` // Types that are assignable to AccountExpiry: - // // *RenewAccountRequest_AbsoluteExpiry // *RenewAccountRequest_RelativeExpiry AccountExpiry isRenewAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` // The fee rate, in satoshis per kw, to use for the renewal transaction. FeeRateSatPerKw uint64 `protobuf:"varint,4,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` - // The new version of the account. If this is set and is a valid version - // greater than the account's current version, then the account is upgraded to - // that version during the renewal. + // + //The new version of the account. If this is set and is a valid version + //greater than the account's current version, then the account is upgraded to + //that version during the renewal. NewVersion AccountVersion `protobuf:"varint,5,opt,name=new_version,json=newVersion,proto3,enum=poolrpc.AccountVersion" json:"new_version,omitempty"` } @@ -1559,10 +1587,12 @@ type BumpAccountFeeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader key associated with the account that will have its fee bumped. + // + //The trader key associated with the account that will have its fee bumped. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The new fee rate, in satoshis per kw, to use for the child of the account - // transaction. + // + //The new fee rate, in satoshis per kw, to use for the child of the account + //transaction. FeeRateSatPerKw uint64 `protobuf:"varint,2,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` } @@ -1655,16 +1685,19 @@ type Account struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The identifying component of an account. This is the key used for the trader - // in the 2-of-2 multi-sig construction of an account with an auctioneer. + // + //The identifying component of an account. This is the key used for the trader + //in the 2-of-2 multi-sig construction of an account with an auctioneer. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // The current outpoint associated with the account. This will change every - // time the account has been updated. + // + //The current outpoint associated with the account. This will change every + //time the account has been updated. Outpoint *auctioneerrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The current total amount of satoshis in the account. Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` - // The amount of satoshis in the account that is available, meaning not - // allocated to any oustanding orders. + // + //The amount of satoshis in the account that is available, meaning not + //allocated to any oustanding orders. AvailableBalance uint64 `protobuf:"varint,4,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` // The height at which the account will expire. ExpirationHeight uint32 `protobuf:"varint,5,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` @@ -1770,15 +1803,15 @@ type SubmitOrderRequest struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Details: - // // *SubmitOrderRequest_Ask // *SubmitOrderRequest_Bid Details isSubmitOrderRequest_Details `protobuf_oneof:"details"` - // An optional identification string that will be appended to the user agent - // string sent to the server to give information about the usage of pool. This - // initiator part is meant for user interfaces to add their name to give the - // full picture of the binary used (poold, LiT) and the method used for - // submitting the order (pool CLI, LiT UI, other 3rd party UI). + // + //An optional identification string that will be appended to the user agent + //string sent to the server to give information about the usage of pool. This + //initiator part is meant for user interfaces to add their name to give the + //full picture of the binary used (poold, LiT) and the method used for + //submitting the order (pool CLI, LiT UI, other 3rd party UI). Initiator string `protobuf:"bytes,3,opt,name=initiator,proto3" json:"initiator,omitempty"` } @@ -1864,12 +1897,12 @@ type SubmitOrderResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Details: - // // *SubmitOrderResponse_InvalidOrder // *SubmitOrderResponse_AcceptedOrderNonce Details isSubmitOrderResponse_Details `protobuf_oneof:"details"` - // In case a bid order was submitted for a sidecar ticket, that ticket is - // updated with the new state and bid order nonce. + // + //In case a bid order was submitted for a sidecar ticket, that ticket is + //updated with the new state and bid order nonce. UpdatedSidecarTicket string `protobuf:"bytes,3,opt,name=updated_sidecar_ticket,json=updatedSidecarTicket,proto3" json:"updated_sidecar_ticket,omitempty"` } @@ -1938,12 +1971,14 @@ type isSubmitOrderResponse_Details interface { } type SubmitOrderResponse_InvalidOrder struct { - // Order failed with the given reason. + // + //Order failed with the given reason. InvalidOrder *auctioneerrpc.InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"` } type SubmitOrderResponse_AcceptedOrderNonce struct { - // The order nonce of the accepted order. + // + //The order nonce of the accepted order. AcceptedOrderNonce []byte `protobuf:"bytes,2,opt,name=accepted_order_nonce,json=acceptedOrderNonce,proto3,oneof"` } @@ -1956,10 +1991,12 @@ type ListOrdersRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Can be set to true to list the orders including all events, which can be - // very verbose. + // + //Can be set to true to list the orders including all events, which can be + //very verbose. Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"` - // Only list orders that are still active. + // + //Only list orders that are still active. ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` } @@ -2154,32 +2191,41 @@ type Order struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The trader's account key of the account that is used for the order. + // + //The trader's account key of the account that is used for the order. TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"` - // Fixed order rate in parts per billion. + // + //Fixed order rate in parts per billion. RateFixed uint32 `protobuf:"varint,2,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"` - // Order amount in satoshis. + // + //Order amount in satoshis. Amt uint64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"` - // Maximum fee rate the trader is willing to pay for the batch transaction, - // expressed in satoshis per 1000 weight units (sat/KW). + // + //Maximum fee rate the trader is willing to pay for the batch transaction, + //expressed in satoshis per 1000 weight units (sat/KW). MaxBatchFeeRateSatPerKw uint64 `protobuf:"varint,4,opt,name=max_batch_fee_rate_sat_per_kw,json=maxBatchFeeRateSatPerKw,proto3" json:"max_batch_fee_rate_sat_per_kw,omitempty"` - // Order nonce, acts as unique order identifier. + // + //Order nonce, acts as unique order identifier. OrderNonce []byte `protobuf:"bytes,5,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"` - // The state the order currently is in. + // + //The state the order currently is in. State auctioneerrpc.OrderState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.OrderState" json:"state,omitempty"` - // The number of order units the amount corresponds to. + // + //The number of order units the amount corresponds to. Units uint32 `protobuf:"varint,7,opt,name=units,proto3" json:"units,omitempty"` - // The number of currently unfilled units of this order. This will be equal to - // the total amount of units until the order has reached the state PARTIAL_FILL - // or EXECUTED. + // + //The number of currently unfilled units of this order. This will be equal to + //the total amount of units until the order has reached the state PARTIAL_FILL + //or EXECUTED. UnitsUnfulfilled uint32 `protobuf:"varint,8,opt,name=units_unfulfilled,json=unitsUnfulfilled,proto3" json:"units_unfulfilled,omitempty"` // The value reserved from the account by this order to ensure the account // can pay execution and chain fees in case it gets matched. ReservedValueSat uint64 `protobuf:"varint,9,opt,name=reserved_value_sat,json=reservedValueSat,proto3" json:"reserved_value_sat,omitempty"` // The unix timestamp in nanoseconds the order was first created/submitted. CreationTimestampNs uint64 `protobuf:"varint,10,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"` - // A list of events that were emitted for this order. This field is only set - // when the verbose flag is set to true in the request. + // + //A list of events that were emitted for this order. This field is only set + //when the verbose flag is set to true in the request. Events []*OrderEvent `protobuf:"bytes,11,rep,name=events,proto3" json:"events,omitempty"` // The minimum number of order units that must be matched per order pair. MinUnitsMatch uint32 `protobuf:"varint,12,opt,name=min_units_match,json=minUnitsMatch,proto3" json:"min_units_match,omitempty"` @@ -2354,32 +2400,40 @@ type Bid struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The common fields shared between both ask and bid order types. + // + //The common fields shared between both ask and bid order types. Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // Required number of blocks that a channel opened as a result of this bid - // should be kept open. + // + //Required number of blocks that a channel opened as a result of this bid + //should be kept open. LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"` - // The version of the order format that is used. Will be increased once new - // features are added. + // + //The version of the order format that is used. Will be increased once new + //features are added. Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` - // The minimum node tier this order should be matched with. Only asks backed by - // a node this tier or higher will be eligible for matching with this bid. + // + //The minimum node tier this order should be matched with. Only asks backed by + //a node this tier or higher will be eligible for matching with this bid. MinNodeTier auctioneerrpc.NodeTier `protobuf:"varint,4,opt,name=min_node_tier,json=minNodeTier,proto3,enum=poolrpc.NodeTier" json:"min_node_tier,omitempty"` - // Give the incoming channel that results from this bid being matched an - // initial outbound balance by adding additional funds from the taker's account - // into the channel. As a simplification for the execution protocol and the - // channel reserve calculations the min_chan_amt must be set to the full order - // amount. For the inbound liquidity market the self_chan_balance can be at - // most the same as the order amount. + // + //Give the incoming channel that results from this bid being matched an + //initial outbound balance by adding additional funds from the taker's account + //into the channel. As a simplification for the execution protocol and the + //channel reserve calculations the min_chan_amt must be set to the full order + //amount. For the inbound liquidity market the self_chan_balance can be at + //most the same as the order amount. SelfChanBalance uint64 `protobuf:"varint,5,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"` - // If this bid order is meant to lease a channel for another node (which is - // dubbed a "sidecar channel") then this ticket contains all information - // required for setting up that sidecar channel. The ticket is expected to be - // the base58 encoded ticket, including the prefix and the checksum. + // + //If this bid order is meant to lease a channel for another node (which is + //dubbed a "sidecar channel") then this ticket contains all information + //required for setting up that sidecar channel. The ticket is expected to be + //the base58 encoded ticket, including the prefix and the checksum. SidecarTicket string `protobuf:"bytes,6,opt,name=sidecar_ticket,json=sidecarTicket,proto3" json:"sidecar_ticket,omitempty"` - // Signals if this bid is interested in an announced or unannounced channel. + // + //Signals if this bid is interested in an announced or unannounced channel. UnannouncedChannel bool `protobuf:"varint,7,opt,name=unannounced_channel,json=unannouncedChannel,proto3" json:"unannounced_channel,omitempty"` - // Signals if this bid is interested in a zero conf channel or not. + // + //Signals if this bid is interested in a zero conf channel or not. ZeroConfChannel bool `protobuf:"varint,8,opt,name=zero_conf_channel,json=zeroConfChannel,proto3" json:"zero_conf_channel,omitempty"` } @@ -2476,18 +2530,23 @@ type Ask struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The common fields shared between both ask and bid order types. + // + //The common fields shared between both ask and bid order types. Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // The number of blocks the liquidity provider is willing to provide the - // channel funds for. + // + //The number of blocks the liquidity provider is willing to provide the + //channel funds for. LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"` - // The version of the order format that is used. Will be increased once new - // features are added. + // + //The version of the order format that is used. Will be increased once new + //features are added. Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` - // The constraints for selling the liquidity based on channel discoverability. + // + //The constraints for selling the liquidity based on channel discoverability. AnnouncementConstraints auctioneerrpc.ChannelAnnouncementConstraints `protobuf:"varint,4,opt,name=announcement_constraints,json=announcementConstraints,proto3,enum=poolrpc.ChannelAnnouncementConstraints" json:"announcement_constraints,omitempty"` - // The constraints for selling the liquidity based on the number of - // blocks before considering the channel confirmed. + // + //The constraints for selling the liquidity based on the number of + //blocks before considering the channel confirmed. ConfirmationConstraints auctioneerrpc.ChannelConfirmationConstraints `protobuf:"varint,5,opt,name=confirmation_constraints,json=confirmationConstraints,proto3,enum=poolrpc.ChannelConfirmationConstraints" json:"confirmation_constraints,omitempty"` } @@ -2563,15 +2622,19 @@ type QuoteOrderRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Order amount in satoshis. + // + //Order amount in satoshis. Amt uint64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"` - // Fixed order rate in parts per billion. + // + //Fixed order rate in parts per billion. RateFixed uint32 `protobuf:"varint,2,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"` - // Required number of blocks that a channel opened as a result of this bid - // should be kept open. + // + //Required number of blocks that a channel opened as a result of this bid + //should be kept open. LeaseDurationBlocks uint32 `protobuf:"varint,3,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"` - // Maximum fee rate the trader is willing to pay for the batch transaction, - // expressed in satoshis per 1000 weight units (sat/KW). + // + //Maximum fee rate the trader is willing to pay for the batch transaction, + //expressed in satoshis per 1000 weight units (sat/KW). MaxBatchFeeRateSatPerKw uint64 `protobuf:"varint,4,opt,name=max_batch_fee_rate_sat_per_kw,json=maxBatchFeeRateSatPerKw,proto3" json:"max_batch_fee_rate_sat_per_kw,omitempty"` // The minimum number of order units that must be matched per order pair. MinUnitsMatch uint32 `protobuf:"varint,5,opt,name=min_units_match,json=minUnitsMatch,proto3" json:"min_units_match,omitempty"` @@ -2649,22 +2712,27 @@ type QuoteOrderResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The total order premium in satoshis for filling the entire order. This - // represents the interest amount paid to the maker by the taker excluding any - // execution or chain fees. + // + //The total order premium in satoshis for filling the entire order. This + //represents the interest amount paid to the maker by the taker excluding any + //execution or chain fees. TotalPremiumSat uint64 `protobuf:"varint,1,opt,name=total_premium_sat,json=totalPremiumSat,proto3" json:"total_premium_sat,omitempty"` - // The fixed order rate expressed as a fraction instead of parts per billion. + // + //The fixed order rate expressed as a fraction instead of parts per billion. RatePerBlock float64 `protobuf:"fixed64,2,opt,name=rate_per_block,json=ratePerBlock,proto3" json:"rate_per_block,omitempty"` - // The fixed order rate expressed as a percentage instead of parts per billion. + // + //The fixed order rate expressed as a percentage instead of parts per billion. RatePercent float64 `protobuf:"fixed64,3,opt,name=rate_percent,json=ratePercent,proto3" json:"rate_percent,omitempty"` - // The total execution fee in satoshis that needs to be paid to the auctioneer - // for executing the entire order. + // + //The total execution fee in satoshis that needs to be paid to the auctioneer + //for executing the entire order. TotalExecutionFeeSat uint64 `protobuf:"varint,4,opt,name=total_execution_fee_sat,json=totalExecutionFeeSat,proto3" json:"total_execution_fee_sat,omitempty"` - // The worst case chain fees that need to be paid if fee rates spike up to the - // max_batch_fee_rate_sat_per_kw value specified in the request. This value is - // highly dependent on the min_units_match parameter as well since the - // calculation assumes chain fees for the chain footprint of opening - // amt/min_units_match channels (hence worst case calculation). + // + //The worst case chain fees that need to be paid if fee rates spike up to the + //max_batch_fee_rate_sat_per_kw value specified in the request. This value is + //highly dependent on the min_units_match parameter as well since the + //calculation assumes chain fees for the chain footprint of opening + //amt/min_units_match channels (hence worst case calculation). WorstCaseChainFeeSat uint64 `protobuf:"varint,5,opt,name=worst_case_chain_fee_sat,json=worstCaseChainFeeSat,proto3" json:"worst_case_chain_fee_sat,omitempty"` } @@ -2740,13 +2808,13 @@ type OrderEvent struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The unix timestamp in nanoseconds the event was emitted at. This is the - // primary key of the event and is unique across the database. + // + //The unix timestamp in nanoseconds the event was emitted at. This is the + //primary key of the event and is unique across the database. TimestampNs int64 `protobuf:"varint,1,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"` // The human readable representation of the event. EventStr string `protobuf:"bytes,2,opt,name=event_str,json=eventStr,proto3" json:"event_str,omitempty"` // Types that are assignable to Event: - // // *OrderEvent_StateChange // *OrderEvent_Matched Event isOrderEvent_Event `protobuf_oneof:"event"` @@ -2842,11 +2910,13 @@ type UpdatedEvent struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The state of the order previous to the change. This is what the state - // changed from. + // + //The state of the order previous to the change. This is what the state + //changed from. PreviousState auctioneerrpc.OrderState `protobuf:"varint,1,opt,name=previous_state,json=previousState,proto3,enum=poolrpc.OrderState" json:"previous_state,omitempty"` - // The new state of the order after the change. This is what the state changed - // to. + // + //The new state of the order after the change. This is what the state changed + //to. NewState auctioneerrpc.OrderState `protobuf:"varint,2,opt,name=new_state,json=newState,proto3,enum=poolrpc.OrderState" json:"new_state,omitempty"` // The units that were filled at the time of the event. UnitsFilled uint32 `protobuf:"varint,3,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"` @@ -2916,8 +2986,9 @@ type MatchEvent struct { UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"` // The nonce of the order we were matched to. MatchedOrder []byte `protobuf:"bytes,3,opt,name=matched_order,json=matchedOrder,proto3" json:"matched_order,omitempty"` - // The reason why the trader daemon rejected the order. Is only set if - // match_state is set to REJECTED. + // + //The reason why the trader daemon rejected the order. Is only set if + //match_state is set to REJECTED. RejectReason MatchRejectReason `protobuf:"varint,4,opt,name=reject_reason,json=rejectReason,proto3,enum=poolrpc.MatchRejectReason" json:"reject_reason,omitempty"` } @@ -2986,19 +3057,23 @@ type RecoverAccountsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Recover the latest account states without interacting with the - // Lightning Labs server. + // + //Recover the latest account states without interacting with the + //Lightning Labs server. FullClient bool `protobuf:"varint,1,opt,name=full_client,json=fullClient,proto3" json:"full_client,omitempty"` - // Number of accounts that we are trying to recover. Used during the - // full_client recovery process. + // + //Number of accounts that we are trying to recover. Used during the + //full_client recovery process. AccountTarget uint32 `protobuf:"varint,2,opt,name=account_target,json=accountTarget,proto3" json:"account_target,omitempty"` - // Auctioneer's public key. Used during the full_client recovery process. - // This field should be left empty for testnet/mainnet, its value is already - // hardcoded in our codebase. + // + //Auctioneer's public key. Used during the full_client recovery process. + //This field should be left empty for testnet/mainnet, its value is already + //hardcoded in our codebase. AuctioneerKey string `protobuf:"bytes,3,opt,name=auctioneer_key,json=auctioneerKey,proto3" json:"auctioneer_key,omitempty"` - // Initial block height. We won't try to look for any account with an expiry - // height smaller than this value. Used during the full_client recovery - // process. + // + //Initial block height. We won't try to look for any account with an expiry + //height smaller than this value. Used during the full_client recovery + //process. HeightHint uint32 `protobuf:"varint,4,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` // bitcoind/btcd instance address. Used during the full_client recovery // process. @@ -3226,7 +3301,6 @@ type AccountModificationFee struct { // Action transaction fee. // // Types that are assignable to Fee: - // // *AccountModificationFee_FeeNull // *AccountModificationFee_FeeValue Fee isAccountModificationFee_Fee `protobuf_oneof:"fee"` @@ -3477,7 +3551,8 @@ type AuctionFeeResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The execution fee charged per matched order. + // + //The execution fee charged per matched order. ExecutionFee *auctioneerrpc.ExecutionFee `protobuf:"bytes,1,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"` } @@ -3533,24 +3608,30 @@ type Lease struct { ChannelDurationBlocks uint32 `protobuf:"varint,3,opt,name=channel_duration_blocks,json=channelDurationBlocks,proto3" json:"channel_duration_blocks,omitempty"` // The absolute height that this channel lease expires. ChannelLeaseExpiry uint32 `protobuf:"varint,4,opt,name=channel_lease_expiry,json=channelLeaseExpiry,proto3" json:"channel_lease_expiry,omitempty"` - // The premium, in satoshis, either paid or received for the offered liquidity. + // + //The premium, in satoshis, either paid or received for the offered liquidity. PremiumSat uint64 `protobuf:"varint,5,opt,name=premium_sat,json=premiumSat,proto3" json:"premium_sat,omitempty"` - // The execution fee, in satoshis, charged by the auctioneer for the channel - // created. + // + //The execution fee, in satoshis, charged by the auctioneer for the channel + //created. ExecutionFeeSat uint64 `protobuf:"varint,6,opt,name=execution_fee_sat,json=executionFeeSat,proto3" json:"execution_fee_sat,omitempty"` - // The fee, in satoshis, charged by the auctioneer for the batch execution - // transaction that created this lease. + // + //The fee, in satoshis, charged by the auctioneer for the batch execution + //transaction that created this lease. ChainFeeSat uint64 `protobuf:"varint,7,opt,name=chain_fee_sat,json=chainFeeSat,proto3" json:"chain_fee_sat,omitempty"` - // The actual fixed rate expressed in parts per billionth this lease was - // bought/sold at. + // + //The actual fixed rate expressed in parts per billionth this lease was + //bought/sold at. ClearingRatePrice uint64 `protobuf:"varint,8,opt,name=clearing_rate_price,json=clearingRatePrice,proto3" json:"clearing_rate_price,omitempty"` - // The actual fixed rate of the bid/ask, this should always be 'better' than - // the clearing_rate_price. + // + //The actual fixed rate of the bid/ask, this should always be 'better' than + //the clearing_rate_price. OrderFixedRate uint64 `protobuf:"varint,9,opt,name=order_fixed_rate,json=orderFixedRate,proto3" json:"order_fixed_rate,omitempty"` // The order executed that resulted in the channel created. OrderNonce []byte `protobuf:"bytes,10,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"` - // The unique identifier for the order that was matched with that resulted - // in the channel created. + // + //The unique identifier for the order that was matched with that resulted + //in the channel created. MatchedOrderNonce []byte `protobuf:"bytes,16,opt,name=matched_order_nonce,json=matchedOrderNonce,proto3" json:"matched_order_nonce,omitempty"` // Whether this channel was purchased from another trader or not. Purchased bool `protobuf:"varint,11,opt,name=purchased,proto3" json:"purchased,omitempty"` @@ -3713,11 +3794,13 @@ type LeasesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // An optional list of batches to retrieve the leases of. If empty, leases - // throughout all batches are returned. + // + //An optional list of batches to retrieve the leases of. If empty, leases + //throughout all batches are returned. BatchIds [][]byte `protobuf:"bytes,1,rep,name=batch_ids,json=batchIds,proto3" json:"batch_ids,omitempty"` - // An optional list of accounts to retrieve the leases of. If empty, leases - // for all accounts are returned. + // + //An optional list of accounts to retrieve the leases of. If empty, leases + //for all accounts are returned. Accounts [][]byte `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` } @@ -3876,8 +3959,8 @@ type TokensResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // * - // List of all tokens the daemon knows of, including old/expired tokens. + //* + //List of all tokens the daemon knows of, including old/expired tokens. Tokens []*LsatToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` } @@ -3925,32 +4008,32 @@ type LsatToken struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // * - // The base macaroon that was baked by the auth server. + //* + //The base macaroon that was baked by the auth server. BaseMacaroon []byte `protobuf:"bytes,1,opt,name=base_macaroon,json=baseMacaroon,proto3" json:"base_macaroon,omitempty"` - // * - // The payment hash of the payment that was paid to obtain the token. + //* + //The payment hash of the payment that was paid to obtain the token. PaymentHash []byte `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` - // * - // The preimage of the payment hash, knowledge of this is proof that the - // payment has been paid. If the preimage is set to all zeros, this means the - // payment is still pending and the token is not yet fully valid. + //* + //The preimage of the payment hash, knowledge of this is proof that the + //payment has been paid. If the preimage is set to all zeros, this means the + //payment is still pending and the token is not yet fully valid. PaymentPreimage []byte `protobuf:"bytes,3,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"` - // * - // The amount of millisatoshis that was paid to get the token. + //* + //The amount of millisatoshis that was paid to get the token. AmountPaidMsat int64 `protobuf:"varint,4,opt,name=amount_paid_msat,json=amountPaidMsat,proto3" json:"amount_paid_msat,omitempty"` - // * - // The amount of millisatoshis paid in routing fee to pay for the token. + //* + //The amount of millisatoshis paid in routing fee to pay for the token. RoutingFeePaidMsat int64 `protobuf:"varint,5,opt,name=routing_fee_paid_msat,json=routingFeePaidMsat,proto3" json:"routing_fee_paid_msat,omitempty"` - // * - // The creation time of the token as UNIX timestamp in seconds. + //* + //The creation time of the token as UNIX timestamp in seconds. TimeCreated int64 `protobuf:"varint,6,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` - // * - // Indicates whether the token is expired or still valid. + //* + //Indicates whether the token is expired or still valid. Expired bool `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"` - // * - // Identifying attribute of this token in the store. Currently represents the - // file name of the token where it's stored on the file system. + //* + //Identifying attribute of this token in the store. Currently represents the + //file name of the token where it's stored on the file system. StorageName string `protobuf:"bytes,8,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` } @@ -4085,12 +4168,14 @@ type LeaseDurationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated, use lease_duration_buckets. + // + //Deprecated, use lease_duration_buckets. // // Deprecated: Marked as deprecated in trader.proto. LeaseDurations map[uint32]bool `protobuf:"bytes,1,rep,name=lease_durations,json=leaseDurations,proto3" json:"lease_durations,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // The set of lease durations the market is currently accepting and the state - // the duration buckets currently are in. + // + //The set of lease durations the market is currently accepting and the state + //the duration buckets currently are in. LeaseDurationBuckets map[uint32]auctioneerrpc.DurationBucketState `protobuf:"bytes,2,rep,name=lease_duration_buckets,json=leaseDurationBuckets,proto3" json:"lease_duration_buckets,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=poolrpc.DurationBucketState"` } @@ -4184,17 +4269,21 @@ type NextBatchInfoResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The confirmation target the auctioneer will use for fee estimation of the - // next batch. + // + //The confirmation target the auctioneer will use for fee estimation of the + //next batch. ConfTarget uint32 `protobuf:"varint,5,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"` - // The fee rate, in satoshis per kiloweight, estimated by the auctioneer to use - // for the next batch. + // + //The fee rate, in satoshis per kiloweight, estimated by the auctioneer to use + //for the next batch. FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"` - // The absolute unix timestamp in seconds at which the auctioneer will attempt - // to clear the next batch. + // + //The absolute unix timestamp in seconds at which the auctioneer will attempt + //to clear the next batch. ClearTimestamp uint64 `protobuf:"varint,7,opt,name=clear_timestamp,json=clearTimestamp,proto3" json:"clear_timestamp,omitempty"` - // The value used by the auctioneer to determine if an account expiry height - // needs to be extended after participating in a batch and for how long. + // + //The value used by the auctioneer to determine if an account expiry height + //needs to be extended after participating in a batch and for how long. AutoRenewExtensionBlocks uint32 `protobuf:"varint,8,opt,name=auto_renew_extension_blocks,json=autoRenewExtensionBlocks,proto3" json:"auto_renew_extension_blocks,omitempty"` } @@ -4401,8 +4490,9 @@ type GetInfoResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // The total number of accounts in the local database. AccountsTotal uint32 `protobuf:"varint,2,opt,name=accounts_total,json=accountsTotal,proto3" json:"accounts_total,omitempty"` - // The total number of accounts that are in an active, non-archived state, - // including expired accounts. + // + //The total number of accounts that are in an active, non-archived state, + //including expired accounts. AccountsActive uint32 `protobuf:"varint,3,opt,name=accounts_active,json=accountsActive,proto3" json:"accounts_active,omitempty"` // The total number of accounts that are active but have expired. AccountsActiveExpired uint32 `protobuf:"varint,4,opt,name=accounts_active_expired,json=accountsActiveExpired,proto3" json:"accounts_active_expired,omitempty"` @@ -4410,8 +4500,9 @@ type GetInfoResponse struct { AccountsArchived uint32 `protobuf:"varint,5,opt,name=accounts_archived,json=accountsArchived,proto3" json:"accounts_archived,omitempty"` // The total number of orders in the local database. OrdersTotal uint32 `protobuf:"varint,6,opt,name=orders_total,json=ordersTotal,proto3" json:"orders_total,omitempty"` - // The total number of active/pending orders that are still waiting for - // execution. + // + //The total number of active/pending orders that are still waiting for + //execution. OrdersActive uint32 `protobuf:"varint,7,opt,name=orders_active,json=ordersActive,proto3" json:"orders_active,omitempty"` // The total number of orders that have been archived. OrdersArchived uint32 `protobuf:"varint,8,opt,name=orders_archived,json=ordersArchived,proto3" json:"orders_archived,omitempty"` @@ -4423,18 +4514,21 @@ type GetInfoResponse struct { NodeRating *auctioneerrpc.NodeRating `protobuf:"bytes,11,opt,name=node_rating,json=nodeRating,proto3" json:"node_rating,omitempty"` // The number of available LSAT tokens. LsatTokens uint32 `protobuf:"varint,12,opt,name=lsat_tokens,json=lsatTokens,proto3" json:"lsat_tokens,omitempty"` - // Indicates whether there is an active subscription connection to the - // auctioneer. This will never be true if there is no active account. If there - // are active accounts, this value represents the network connection status to - // the auctioneer server. + // + //Indicates whether there is an active subscription connection to the + //auctioneer. This will never be true if there is no active account. If there + //are active accounts, this value represents the network connection status to + //the auctioneer server. SubscribedToAuctioneer bool `protobuf:"varint,13,opt,name=subscribed_to_auctioneer,json=subscribedToAuctioneer,proto3" json:"subscribed_to_auctioneer,omitempty"` - // Indicates whether the global `--newnodesonly` command line flag or - // `newnodesonly=true` configuration parameter was set on the Pool trader - // daemon. + // + //Indicates whether the global `--newnodesonly` command line flag or + //`newnodesonly=true` configuration parameter was set on the Pool trader + //daemon. NewNodesOnly bool `protobuf:"varint,14,opt,name=new_nodes_only,json=newNodesOnly,proto3" json:"new_nodes_only,omitempty"` - // A map of all markets identified by their lease duration and the current - // set of statistics such as number of open orders and total units of open - // interest. + // + //A map of all markets identified by their lease duration and the current + //set of statistics such as number of open orders and total units of open + //interest. MarketInfo map[uint32]*auctioneerrpc.MarketInfo `protobuf:"bytes,15,rep,name=market_info,json=marketInfo,proto3" json:"market_info,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -4656,13 +4750,15 @@ type OfferSidecarRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // If false, then only the trader_key, unit, self_chan_balance, and - // lease_duration_blocks need to be set in the bid below. Otherwise, the - // fields as they're set when submitting a bid need to be filled in. + // + //If false, then only the trader_key, unit, self_chan_balance, and + //lease_duration_blocks need to be set in the bid below. Otherwise, the + //fields as they're set when submitting a bid need to be filled in. AutoNegotiate bool `protobuf:"varint,1,opt,name=auto_negotiate,json=autoNegotiate,proto3" json:"auto_negotiate,omitempty"` - // The bid template that will be used to populate the initial sidecar ticket - // as well as auto negotiate the remainig steps of the sidecar channel if - // needed. + // + //The bid template that will be used to populate the initial sidecar ticket + //as well as auto negotiate the remainig steps of the sidecar channel if + //needed. Bid *Bid `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid,omitempty"` } @@ -4717,11 +4813,12 @@ type SidecarTicket struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The complete sidecar ticket in its string encoded form which is base58 - // encoded, has a human readable prefix ('sidecar...') and a checksum built in. - // The string encoded version will only be used on the trader side of the API. - // All requests to the auctioneer expect the ticket to be in its raw, tlv - // encoded byte form. + // + //The complete sidecar ticket in its string encoded form which is base58 + //encoded, has a human readable prefix ('sidecar...') and a checksum built in. + //The string encoded version will only be used on the trader side of the API. + //All requests to the auctioneer expect the ticket to be in its raw, tlv + //encoded byte form. Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` } @@ -4789,15 +4886,17 @@ type DecodedSidecarTicket struct { OfferAuto bool `protobuf:"varint,9,opt,name=offer_auto,json=offerAuto,proto3" json:"offer_auto,omitempty"` // The recipient node's public identity key. RecipientNodePubkey []byte `protobuf:"bytes,10,opt,name=recipient_node_pubkey,json=recipientNodePubkey,proto3" json:"recipient_node_pubkey,omitempty"` - // The recipient node's channel multisig public key to be used for the sidecar - // channel. + // + //The recipient node's channel multisig public key to be used for the sidecar + //channel. RecipientMultisigPubkey []byte `protobuf:"bytes,11,opt,name=recipient_multisig_pubkey,json=recipientMultisigPubkey,proto3" json:"recipient_multisig_pubkey,omitempty"` // The index used when deriving the above multisig pubkey. RecipientMultisigPubkeyIndex uint32 `protobuf:"varint,12,opt,name=recipient_multisig_pubkey_index,json=recipientMultisigPubkeyIndex,proto3" json:"recipient_multisig_pubkey_index,omitempty"` // The nonce of the bid order created for this sidecar ticket. OrderBidNonce []byte `protobuf:"bytes,13,opt,name=order_bid_nonce,json=orderBidNonce,proto3" json:"order_bid_nonce,omitempty"` - // The signature over the order's digest, signed with the private key that - // corresponds to the offer_sign_pubkey. + // + //The signature over the order's digest, signed with the private key that + //corresponds to the offer_sign_pubkey. OrderSignature []byte `protobuf:"bytes,14,opt,name=order_signature,json=orderSignature,proto3" json:"order_signature,omitempty"` // The pending channel ID of the sidecar channel during the execution phase. ExecutionPendingChannelId []byte `protobuf:"bytes,15,opt,name=execution_pending_channel_id,json=executionPendingChannelId,proto3" json:"execution_pending_channel_id,omitempty"` @@ -4974,14 +5073,16 @@ type RegisterSidecarRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The sidecar ticket to register and add the node and channel funding - // information to. The ticket must be in the state "offered". + // + //The sidecar ticket to register and add the node and channel funding + //information to. The ticket must be in the state "offered". Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` - // If this value is True, then the daemon will attempt to finish negotiating - // the details of the sidecar channel automatically in the background. The - // progress of the ticket can be monitored using the SidecarState RPC. In - // addition, if this flag is set, then this method will _block_ until the - // sidecar negotiation either finishes or breaks down. + // + //If this value is True, then the daemon will attempt to finish negotiating + //the details of the sidecar channel automatically in the background. The + //progress of the ticket can be monitored using the SidecarState RPC. In + //addition, if this flag is set, then this method will _block_ until the + //sidecar negotiation either finishes or breaks down. AutoNegotiate bool `protobuf:"varint,2,opt,name=auto_negotiate,json=autoNegotiate,proto3" json:"auto_negotiate,omitempty"` } @@ -5036,8 +5137,9 @@ type ExpectSidecarChannelRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The sidecar ticket to expect an incoming channel for. The ticket must be in - // the state "ordered". + // + //The sidecar ticket to expect an incoming channel for. The ticket must be in + //the state "ordered". Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` } @@ -5123,17 +5225,18 @@ type ListSidecarsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The optional sidecar ID to filter for. If set, the result should either be - // a single ticket or no ticket in most cases. But because the ID is just 8 - // bytes and is randomly generated, there could be collisions, especially since - // tickets can also be crafted by a malicious party and given to any node. - // That's why the offer's public key is also used as an identifying element - // since that cannot easily be forged without also producing a valid signature. - // So an attacker cannot overwrite a ticket a node offered by themselves - // offering a ticket with the same ID and tricking the victim into registering - // that. Long story sort, there could be multiple tickets with the same ID but - // different offer public keys, which is why those keys should be checked as - // well. + // + //The optional sidecar ID to filter for. If set, the result should either be + //a single ticket or no ticket in most cases. But because the ID is just 8 + //bytes and is randomly generated, there could be collisions, especially since + //tickets can also be crafted by a malicious party and given to any node. + //That's why the offer's public key is also used as an identifying element + //since that cannot easily be forged without also producing a valid signature. + //So an attacker cannot overwrite a ticket a node offered by themselves + //offering a ticket with the same ID and tricking the victim into registering + //that. Long story sort, there could be multiple tickets with the same ID but + //different offer public keys, which is why those keys should be checked as + //well. SidecarId []byte `protobuf:"bytes,1,opt,name=sidecar_id,json=sidecarId,proto3" json:"sidecar_id,omitempty"` } diff --git a/poolrpc/trader_grpc.pb.go b/poolrpc/trader_grpc.pb.go index ce17adeb8..3107ca2e0 100644 --- a/poolrpc/trader_grpc.pb.go +++ b/poolrpc/trader_grpc.pb.go @@ -20,144 +20,146 @@ const _ = grpc.SupportPackageIsVersion7 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type TraderClient interface { // pool: `getinfo` - // GetInfo returns general information about the state of the Pool trader - // daemon. + //GetInfo returns general information about the state of the Pool trader + //daemon. GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) // pool: `stop` - // Stop gracefully shuts down the Pool trader daemon. + //Stop gracefully shuts down the Pool trader daemon. StopDaemon(ctx context.Context, in *StopDaemonRequest, opts ...grpc.CallOption) (*StopDaemonResponse, error) - // QuoteAccount gets a fee quote to fund an account of the given size with the - // given confirmation target. If the connected lnd wallet doesn't have enough - // balance to fund an account of the requested size, an error is returned. + // + //QuoteAccount gets a fee quote to fund an account of the given size with the + //given confirmation target. If the connected lnd wallet doesn't have enough + //balance to fund an account of the requested size, an error is returned. QuoteAccount(ctx context.Context, in *QuoteAccountRequest, opts ...grpc.CallOption) (*QuoteAccountResponse, error) // pool: `accounts new` - // InitAccount creates a new account with the requested size and expiration, - // funding it from the wallet of the connected lnd node. + //InitAccount creates a new account with the requested size and expiration, + //funding it from the wallet of the connected lnd node. InitAccount(ctx context.Context, in *InitAccountRequest, opts ...grpc.CallOption) (*Account, error) // pool: `accounts list` - // ListAccounts returns a list of all accounts known to the trader daemon and - // their current state. + //ListAccounts returns a list of all accounts known to the trader daemon and + //their current state. ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) // pool: `accounts close` - // CloseAccount closes an account and returns the funds locked in that account - // to the connected lnd node's wallet. + //CloseAccount closes an account and returns the funds locked in that account + //to the connected lnd node's wallet. CloseAccount(ctx context.Context, in *CloseAccountRequest, opts ...grpc.CallOption) (*CloseAccountResponse, error) // pool: `accounts withdraw` - // WithdrawAccount splits off parts of the account balance into the specified - // outputs while recreating the account with a reduced balance. + //WithdrawAccount splits off parts of the account balance into the specified + //outputs while recreating the account with a reduced balance. WithdrawAccount(ctx context.Context, in *WithdrawAccountRequest, opts ...grpc.CallOption) (*WithdrawAccountResponse, error) // pool: `accounts deposit` - // DepositAccount adds more funds from the connected lnd node's wallet to an - // account. + //DepositAccount adds more funds from the connected lnd node's wallet to an + //account. DepositAccount(ctx context.Context, in *DepositAccountRequest, opts ...grpc.CallOption) (*DepositAccountResponse, error) // pool: `accounts renew` - // RenewAccount renews the expiration of an account. + //RenewAccount renews the expiration of an account. RenewAccount(ctx context.Context, in *RenewAccountRequest, opts ...grpc.CallOption) (*RenewAccountResponse, error) // pool: `accounts bumpfee` - // BumpAccountFee attempts to bump the fee of an account's transaction through - // child-pays-for-parent (CPFP). Since the CPFP is performed through the - // backing lnd node, the account transaction must contain an output under its - // control for a successful bump. If a CPFP has already been performed for an - // account, and this RPC is invoked again, then a replacing transaction (RBF) - // of the child will be broadcast. + //BumpAccountFee attempts to bump the fee of an account's transaction through + //child-pays-for-parent (CPFP). Since the CPFP is performed through the + //backing lnd node, the account transaction must contain an output under its + //control for a successful bump. If a CPFP has already been performed for an + //account, and this RPC is invoked again, then a replacing transaction (RBF) + //of the child will be broadcast. BumpAccountFee(ctx context.Context, in *BumpAccountFeeRequest, opts ...grpc.CallOption) (*BumpAccountFeeResponse, error) // pool: `accounts recover` - // RecoverAccounts queries the auction server for this trader daemon's accounts - // in case we lost our local account database. + //RecoverAccounts queries the auction server for this trader daemon's accounts + //in case we lost our local account database. RecoverAccounts(ctx context.Context, in *RecoverAccountsRequest, opts ...grpc.CallOption) (*RecoverAccountsResponse, error) // pool: `accounts listfees` - // AccountModificationFees returns a map from account key to an ordered list of - // account action modification fees. + //AccountModificationFees returns a map from account key to an ordered list of + //account action modification fees. AccountModificationFees(ctx context.Context, in *AccountModificationFeesRequest, opts ...grpc.CallOption) (*AccountModificationFeesResponse, error) // pool: `orders submit` - // SubmitOrder creates a new ask or bid order and submits for the given account - // and submits it to the auction server for matching. + //SubmitOrder creates a new ask or bid order and submits for the given account + //and submits it to the auction server for matching. SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error) // pool: `orders list` - // ListOrders returns a list of all active and archived orders that are - // currently known to the trader daemon. + //ListOrders returns a list of all active and archived orders that are + //currently known to the trader daemon. ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error) // pool: `orders cancel` - // CancelOrder cancels an active order with the auction server to remove it - // from future matching. + //CancelOrder cancels an active order with the auction server to remove it + //from future matching. CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error) - // QuoteOrder calculates the premium, execution fees and max batch fee rate for - // an order based on the given order parameters. + // + //QuoteOrder calculates the premium, execution fees and max batch fee rate for + //an order based on the given order parameters. QuoteOrder(ctx context.Context, in *QuoteOrderRequest, opts ...grpc.CallOption) (*QuoteOrderResponse, error) // pool: `auction fee` - // AuctionFee returns the current auction order execution fee specified by the - // auction server. + //AuctionFee returns the current auction order execution fee specified by the + //auction server. AuctionFee(ctx context.Context, in *AuctionFeeRequest, opts ...grpc.CallOption) (*AuctionFeeResponse, error) // pool: `auction leasedurations` - // LeaseDurations returns the current set of valid lease duration in the - // market as is, and also information w.r.t if the market is currently active. + //LeaseDurations returns the current set of valid lease duration in the + //market as is, and also information w.r.t if the market is currently active. LeaseDurations(ctx context.Context, in *LeaseDurationRequest, opts ...grpc.CallOption) (*LeaseDurationResponse, error) // pool: `auction nextbatchinfo` - // NextBatchInfo returns information about the next batch the auctioneer will - // perform. + //NextBatchInfo returns information about the next batch the auctioneer will + //perform. NextBatchInfo(ctx context.Context, in *NextBatchInfoRequest, opts ...grpc.CallOption) (*NextBatchInfoResponse, error) // pool: `auction snapshot` - // BatchSnapshot returns the snapshot of a past batch identified by its ID. - // If no ID is provided, the snapshot of the last finalized batch is returned. - // Deprecated, use BatchSnapshots instead. + //BatchSnapshot returns the snapshot of a past batch identified by its ID. + //If no ID is provided, the snapshot of the last finalized batch is returned. + //Deprecated, use BatchSnapshots instead. BatchSnapshot(ctx context.Context, in *auctioneerrpc.BatchSnapshotRequest, opts ...grpc.CallOption) (*auctioneerrpc.BatchSnapshotResponse, error) // pool: `listauth` - // GetLsatTokens returns all LSAT tokens the daemon ever paid for. + //GetLsatTokens returns all LSAT tokens the daemon ever paid for. GetLsatTokens(ctx context.Context, in *TokensRequest, opts ...grpc.CallOption) (*TokensResponse, error) // pool: `auction leases` - // Leases returns the list of channels that were either purchased or sold by - // the trader within the auction. + //Leases returns the list of channels that were either purchased or sold by + //the trader within the auction. Leases(ctx context.Context, in *LeasesRequest, opts ...grpc.CallOption) (*LeasesResponse, error) // pool: `auction ratings` - // Returns the Node Tier information for this target Lightning node, and other - // related ranking information. + //Returns the Node Tier information for this target Lightning node, and other + //related ranking information. NodeRatings(ctx context.Context, in *NodeRatingRequest, opts ...grpc.CallOption) (*NodeRatingResponse, error) // pool: `auction snapshot` - // BatchSnapshots returns a list of batch snapshots starting at the start batch - // ID and going back through the history of batches, returning at most the - // number of specified batches. A maximum of 100 snapshots can be queried in - // one call. If no start batch ID is provided, the most recent finalized batch - // is used as the starting point to go back from. + //BatchSnapshots returns a list of batch snapshots starting at the start batch + //ID and going back through the history of batches, returning at most the + //number of specified batches. A maximum of 100 snapshots can be queried in + //one call. If no start batch ID is provided, the most recent finalized batch + //is used as the starting point to go back from. BatchSnapshots(ctx context.Context, in *auctioneerrpc.BatchSnapshotsRequest, opts ...grpc.CallOption) (*auctioneerrpc.BatchSnapshotsResponse, error) // pool: `sidecar offer` - // OfferSidecar is step 1/4 of the sidecar negotiation between the provider - // (the trader submitting the bid order) and the recipient (the trader - // receiving the sidecar channel). - // This step must be run by the provider. The result is a sidecar ticket with - // an offer to lease a sidecar channel for the recipient. The offer will be - // signed with the provider's lnd node public key. The ticket returned by this - // call will have the state "offered". + //OfferSidecar is step 1/4 of the sidecar negotiation between the provider + //(the trader submitting the bid order) and the recipient (the trader + //receiving the sidecar channel). + //This step must be run by the provider. The result is a sidecar ticket with + //an offer to lease a sidecar channel for the recipient. The offer will be + //signed with the provider's lnd node public key. The ticket returned by this + //call will have the state "offered". OfferSidecar(ctx context.Context, in *OfferSidecarRequest, opts ...grpc.CallOption) (*SidecarTicket, error) // pool: `sidecar register` - // RegisterSidecarRequest is step 2/4 of the sidecar negotiation between the - // provider (the trader submitting the bid order) and the recipient (the trader - // receiving the sidecar channel). - // This step must be run by the recipient. The result is a sidecar ticket with - // the recipient's node information and channel funding multisig pubkey filled - // in. The ticket returned by this call will have the state "registered". + //RegisterSidecarRequest is step 2/4 of the sidecar negotiation between the + //provider (the trader submitting the bid order) and the recipient (the trader + //receiving the sidecar channel). + //This step must be run by the recipient. The result is a sidecar ticket with + //the recipient's node information and channel funding multisig pubkey filled + //in. The ticket returned by this call will have the state "registered". RegisterSidecar(ctx context.Context, in *RegisterSidecarRequest, opts ...grpc.CallOption) (*SidecarTicket, error) // pool: `sidecar expectchannel` - // ExpectSidecarChannel is step 4/4 of the sidecar negotiation between the - // provider (the trader submitting the bid order) and the recipient (the trader - // receiving the sidecar channel). - // This step must be run by the recipient once the provider has submitted the - // bid order for the sidecar channel. From this point onwards the Pool trader - // daemon of both the provider as well as the recipient need to be online to - // receive and react to match making events from the server. + //ExpectSidecarChannel is step 4/4 of the sidecar negotiation between the + //provider (the trader submitting the bid order) and the recipient (the trader + //receiving the sidecar channel). + //This step must be run by the recipient once the provider has submitted the + //bid order for the sidecar channel. From this point onwards the Pool trader + //daemon of both the provider as well as the recipient need to be online to + //receive and react to match making events from the server. ExpectSidecarChannel(ctx context.Context, in *ExpectSidecarChannelRequest, opts ...grpc.CallOption) (*ExpectSidecarChannelResponse, error) // pool: `sidecar printticket` - // Decodes the base58 encoded sidecar ticket into its individual data fields - // for a more human-readable representation. + //Decodes the base58 encoded sidecar ticket into its individual data fields + //for a more human-readable representation. DecodeSidecarTicket(ctx context.Context, in *SidecarTicket, opts ...grpc.CallOption) (*DecodedSidecarTicket, error) // pool: `sidecar list` - // ListSidecars lists all sidecar tickets currently in the local database. This - // includes tickets offered by our node as well as tickets that our node is the - // recipient of. Optionally a ticket ID can be provided to filter the tickets. + //ListSidecars lists all sidecar tickets currently in the local database. This + //includes tickets offered by our node as well as tickets that our node is the + //recipient of. Optionally a ticket ID can be provided to filter the tickets. ListSidecars(ctx context.Context, in *ListSidecarsRequest, opts ...grpc.CallOption) (*ListSidecarsResponse, error) // pool: `sidecar cancel` - // CancelSidecar cancels the execution of a specific sidecar ticket. Depending - // on the state of the sidecar ticket its associated bid order might be - // canceled as well (if this ticket was offered by our node). + //CancelSidecar cancels the execution of a specific sidecar ticket. Depending + //on the state of the sidecar ticket its associated bid order might be + //canceled as well (if this ticket was offered by our node). CancelSidecar(ctx context.Context, in *CancelSidecarRequest, opts ...grpc.CallOption) (*CancelSidecarResponse, error) } @@ -444,144 +446,146 @@ func (c *traderClient) CancelSidecar(ctx context.Context, in *CancelSidecarReque // for forward compatibility type TraderServer interface { // pool: `getinfo` - // GetInfo returns general information about the state of the Pool trader - // daemon. + //GetInfo returns general information about the state of the Pool trader + //daemon. GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) // pool: `stop` - // Stop gracefully shuts down the Pool trader daemon. + //Stop gracefully shuts down the Pool trader daemon. StopDaemon(context.Context, *StopDaemonRequest) (*StopDaemonResponse, error) - // QuoteAccount gets a fee quote to fund an account of the given size with the - // given confirmation target. If the connected lnd wallet doesn't have enough - // balance to fund an account of the requested size, an error is returned. + // + //QuoteAccount gets a fee quote to fund an account of the given size with the + //given confirmation target. If the connected lnd wallet doesn't have enough + //balance to fund an account of the requested size, an error is returned. QuoteAccount(context.Context, *QuoteAccountRequest) (*QuoteAccountResponse, error) // pool: `accounts new` - // InitAccount creates a new account with the requested size and expiration, - // funding it from the wallet of the connected lnd node. + //InitAccount creates a new account with the requested size and expiration, + //funding it from the wallet of the connected lnd node. InitAccount(context.Context, *InitAccountRequest) (*Account, error) // pool: `accounts list` - // ListAccounts returns a list of all accounts known to the trader daemon and - // their current state. + //ListAccounts returns a list of all accounts known to the trader daemon and + //their current state. ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) // pool: `accounts close` - // CloseAccount closes an account and returns the funds locked in that account - // to the connected lnd node's wallet. + //CloseAccount closes an account and returns the funds locked in that account + //to the connected lnd node's wallet. CloseAccount(context.Context, *CloseAccountRequest) (*CloseAccountResponse, error) // pool: `accounts withdraw` - // WithdrawAccount splits off parts of the account balance into the specified - // outputs while recreating the account with a reduced balance. + //WithdrawAccount splits off parts of the account balance into the specified + //outputs while recreating the account with a reduced balance. WithdrawAccount(context.Context, *WithdrawAccountRequest) (*WithdrawAccountResponse, error) // pool: `accounts deposit` - // DepositAccount adds more funds from the connected lnd node's wallet to an - // account. + //DepositAccount adds more funds from the connected lnd node's wallet to an + //account. DepositAccount(context.Context, *DepositAccountRequest) (*DepositAccountResponse, error) // pool: `accounts renew` - // RenewAccount renews the expiration of an account. + //RenewAccount renews the expiration of an account. RenewAccount(context.Context, *RenewAccountRequest) (*RenewAccountResponse, error) // pool: `accounts bumpfee` - // BumpAccountFee attempts to bump the fee of an account's transaction through - // child-pays-for-parent (CPFP). Since the CPFP is performed through the - // backing lnd node, the account transaction must contain an output under its - // control for a successful bump. If a CPFP has already been performed for an - // account, and this RPC is invoked again, then a replacing transaction (RBF) - // of the child will be broadcast. + //BumpAccountFee attempts to bump the fee of an account's transaction through + //child-pays-for-parent (CPFP). Since the CPFP is performed through the + //backing lnd node, the account transaction must contain an output under its + //control for a successful bump. If a CPFP has already been performed for an + //account, and this RPC is invoked again, then a replacing transaction (RBF) + //of the child will be broadcast. BumpAccountFee(context.Context, *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error) // pool: `accounts recover` - // RecoverAccounts queries the auction server for this trader daemon's accounts - // in case we lost our local account database. + //RecoverAccounts queries the auction server for this trader daemon's accounts + //in case we lost our local account database. RecoverAccounts(context.Context, *RecoverAccountsRequest) (*RecoverAccountsResponse, error) // pool: `accounts listfees` - // AccountModificationFees returns a map from account key to an ordered list of - // account action modification fees. + //AccountModificationFees returns a map from account key to an ordered list of + //account action modification fees. AccountModificationFees(context.Context, *AccountModificationFeesRequest) (*AccountModificationFeesResponse, error) // pool: `orders submit` - // SubmitOrder creates a new ask or bid order and submits for the given account - // and submits it to the auction server for matching. + //SubmitOrder creates a new ask or bid order and submits for the given account + //and submits it to the auction server for matching. SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error) // pool: `orders list` - // ListOrders returns a list of all active and archived orders that are - // currently known to the trader daemon. + //ListOrders returns a list of all active and archived orders that are + //currently known to the trader daemon. ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error) // pool: `orders cancel` - // CancelOrder cancels an active order with the auction server to remove it - // from future matching. + //CancelOrder cancels an active order with the auction server to remove it + //from future matching. CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error) - // QuoteOrder calculates the premium, execution fees and max batch fee rate for - // an order based on the given order parameters. + // + //QuoteOrder calculates the premium, execution fees and max batch fee rate for + //an order based on the given order parameters. QuoteOrder(context.Context, *QuoteOrderRequest) (*QuoteOrderResponse, error) // pool: `auction fee` - // AuctionFee returns the current auction order execution fee specified by the - // auction server. + //AuctionFee returns the current auction order execution fee specified by the + //auction server. AuctionFee(context.Context, *AuctionFeeRequest) (*AuctionFeeResponse, error) // pool: `auction leasedurations` - // LeaseDurations returns the current set of valid lease duration in the - // market as is, and also information w.r.t if the market is currently active. + //LeaseDurations returns the current set of valid lease duration in the + //market as is, and also information w.r.t if the market is currently active. LeaseDurations(context.Context, *LeaseDurationRequest) (*LeaseDurationResponse, error) // pool: `auction nextbatchinfo` - // NextBatchInfo returns information about the next batch the auctioneer will - // perform. + //NextBatchInfo returns information about the next batch the auctioneer will + //perform. NextBatchInfo(context.Context, *NextBatchInfoRequest) (*NextBatchInfoResponse, error) // pool: `auction snapshot` - // BatchSnapshot returns the snapshot of a past batch identified by its ID. - // If no ID is provided, the snapshot of the last finalized batch is returned. - // Deprecated, use BatchSnapshots instead. + //BatchSnapshot returns the snapshot of a past batch identified by its ID. + //If no ID is provided, the snapshot of the last finalized batch is returned. + //Deprecated, use BatchSnapshots instead. BatchSnapshot(context.Context, *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error) // pool: `listauth` - // GetLsatTokens returns all LSAT tokens the daemon ever paid for. + //GetLsatTokens returns all LSAT tokens the daemon ever paid for. GetLsatTokens(context.Context, *TokensRequest) (*TokensResponse, error) // pool: `auction leases` - // Leases returns the list of channels that were either purchased or sold by - // the trader within the auction. + //Leases returns the list of channels that were either purchased or sold by + //the trader within the auction. Leases(context.Context, *LeasesRequest) (*LeasesResponse, error) // pool: `auction ratings` - // Returns the Node Tier information for this target Lightning node, and other - // related ranking information. + //Returns the Node Tier information for this target Lightning node, and other + //related ranking information. NodeRatings(context.Context, *NodeRatingRequest) (*NodeRatingResponse, error) // pool: `auction snapshot` - // BatchSnapshots returns a list of batch snapshots starting at the start batch - // ID and going back through the history of batches, returning at most the - // number of specified batches. A maximum of 100 snapshots can be queried in - // one call. If no start batch ID is provided, the most recent finalized batch - // is used as the starting point to go back from. + //BatchSnapshots returns a list of batch snapshots starting at the start batch + //ID and going back through the history of batches, returning at most the + //number of specified batches. A maximum of 100 snapshots can be queried in + //one call. If no start batch ID is provided, the most recent finalized batch + //is used as the starting point to go back from. BatchSnapshots(context.Context, *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error) // pool: `sidecar offer` - // OfferSidecar is step 1/4 of the sidecar negotiation between the provider - // (the trader submitting the bid order) and the recipient (the trader - // receiving the sidecar channel). - // This step must be run by the provider. The result is a sidecar ticket with - // an offer to lease a sidecar channel for the recipient. The offer will be - // signed with the provider's lnd node public key. The ticket returned by this - // call will have the state "offered". + //OfferSidecar is step 1/4 of the sidecar negotiation between the provider + //(the trader submitting the bid order) and the recipient (the trader + //receiving the sidecar channel). + //This step must be run by the provider. The result is a sidecar ticket with + //an offer to lease a sidecar channel for the recipient. The offer will be + //signed with the provider's lnd node public key. The ticket returned by this + //call will have the state "offered". OfferSidecar(context.Context, *OfferSidecarRequest) (*SidecarTicket, error) // pool: `sidecar register` - // RegisterSidecarRequest is step 2/4 of the sidecar negotiation between the - // provider (the trader submitting the bid order) and the recipient (the trader - // receiving the sidecar channel). - // This step must be run by the recipient. The result is a sidecar ticket with - // the recipient's node information and channel funding multisig pubkey filled - // in. The ticket returned by this call will have the state "registered". + //RegisterSidecarRequest is step 2/4 of the sidecar negotiation between the + //provider (the trader submitting the bid order) and the recipient (the trader + //receiving the sidecar channel). + //This step must be run by the recipient. The result is a sidecar ticket with + //the recipient's node information and channel funding multisig pubkey filled + //in. The ticket returned by this call will have the state "registered". RegisterSidecar(context.Context, *RegisterSidecarRequest) (*SidecarTicket, error) // pool: `sidecar expectchannel` - // ExpectSidecarChannel is step 4/4 of the sidecar negotiation between the - // provider (the trader submitting the bid order) and the recipient (the trader - // receiving the sidecar channel). - // This step must be run by the recipient once the provider has submitted the - // bid order for the sidecar channel. From this point onwards the Pool trader - // daemon of both the provider as well as the recipient need to be online to - // receive and react to match making events from the server. + //ExpectSidecarChannel is step 4/4 of the sidecar negotiation between the + //provider (the trader submitting the bid order) and the recipient (the trader + //receiving the sidecar channel). + //This step must be run by the recipient once the provider has submitted the + //bid order for the sidecar channel. From this point onwards the Pool trader + //daemon of both the provider as well as the recipient need to be online to + //receive and react to match making events from the server. ExpectSidecarChannel(context.Context, *ExpectSidecarChannelRequest) (*ExpectSidecarChannelResponse, error) // pool: `sidecar printticket` - // Decodes the base58 encoded sidecar ticket into its individual data fields - // for a more human-readable representation. + //Decodes the base58 encoded sidecar ticket into its individual data fields + //for a more human-readable representation. DecodeSidecarTicket(context.Context, *SidecarTicket) (*DecodedSidecarTicket, error) // pool: `sidecar list` - // ListSidecars lists all sidecar tickets currently in the local database. This - // includes tickets offered by our node as well as tickets that our node is the - // recipient of. Optionally a ticket ID can be provided to filter the tickets. + //ListSidecars lists all sidecar tickets currently in the local database. This + //includes tickets offered by our node as well as tickets that our node is the + //recipient of. Optionally a ticket ID can be provided to filter the tickets. ListSidecars(context.Context, *ListSidecarsRequest) (*ListSidecarsResponse, error) // pool: `sidecar cancel` - // CancelSidecar cancels the execution of a specific sidecar ticket. Depending - // on the state of the sidecar ticket its associated bid order might be - // canceled as well (if this ticket was offered by our node). + //CancelSidecar cancels the execution of a specific sidecar ticket. Depending + //on the state of the sidecar ticket its associated bid order might be + //canceled as well (if this ticket was offered by our node). CancelSidecar(context.Context, *CancelSidecarRequest) (*CancelSidecarResponse, error) mustEmbedUnimplementedTraderServer() } diff --git a/tools/Dockerfile b/tools/Dockerfile index 737699c6f..8be766639 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,6 +1,7 @@ -FROM golang:1.23.6-bookworm +FROM golang:1.27.3-bookworm -RUN apt-get update && apt-get install -y git +RUN apt-get update && apt-get install -y git \ + && git config --global --add safe.directory /build ENV GOCACHE=/tmp/build/.cache ENV GOMODCACHE=/tmp/build/.modcache ENV GOFLAGS="-buildvcs=false" @@ -11,7 +12,7 @@ RUN cd /tmp \ && mkdir -p /tmp/build/.cache \ && mkdir -p /tmp/build/.modcache \ && cd /tmp/tools \ - && go install -trimpath github.com/golangci/golangci-lint/cmd/golangci-lint \ + && go install -trimpath github.com/golangci/golangci-lint/v2/cmd/golangci-lint \ && chmod -R 777 /tmp/build/ WORKDIR /build diff --git a/tools/go.mod b/tools/go.mod index 35f61b042..163b8d94e 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,60 +1,79 @@ module github.com/lightninglabs/pool/tools require ( - github.com/golangci/golangci-lint v1.64.5 + github.com/golangci/golangci-lint/v2 v2.15.0 github.com/ory/go-acc v0.2.6 github.com/rinchsan/gosimports v0.1.5 ) require ( - 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect + 4d63.com/gocheckcompilerdirectives v1.4.0 // indirect 4d63.com/gochecknoglobals v0.2.2 // indirect - github.com/4meepo/tagalign v1.4.1 // indirect - github.com/Abirdcfly/dupword v0.1.3 // indirect - github.com/Antonboom/errname v1.0.0 // indirect - github.com/Antonboom/nilnil v1.0.1 // indirect - github.com/Antonboom/testifylint v1.5.2 // indirect - github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect - github.com/Crocmagnon/fatcontext v0.7.1 // indirect - github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect - github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 // indirect - github.com/Masterminds/semver/v3 v3.3.0 // indirect - github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect - github.com/alecthomas/go-check-sumtype v0.3.1 // indirect - github.com/alexkohler/nakedret/v2 v2.0.5 // indirect - github.com/alexkohler/prealloc v1.0.0 // indirect + charm.land/lipgloss/v2 v2.0.6 // indirect + codeberg.org/chavacava/garif v0.2.1 // indirect + codeberg.org/polyfloyd/go-errorlint v1.9.0 // indirect + dev.gaijin.team/go/exhaustruct/v4 v4.0.0 // indirect + dev.gaijin.team/go/exhaustruct/v5 v5.2.0 // indirect + dev.gaijin.team/go/golib v0.8.1 // indirect + github.com/4meepo/tagalign v1.4.4 // indirect + github.com/Abirdcfly/dupword v0.1.8 // indirect + github.com/AdminBenni/iota-mixing v1.0.0 // indirect + github.com/AlwxSin/noinlineerr v1.0.6 // indirect + github.com/Antonboom/errname v1.1.2 // indirect + github.com/Antonboom/nilnil v1.1.2 // indirect + github.com/Antonboom/testifylint v1.6.4 // indirect + github.com/BurntSushi/toml v1.6.0 // indirect + github.com/ClickHouse/clickhouse-go-linter v1.2.1 // indirect + github.com/Djarvur/go-err113 v0.1.1 // indirect + github.com/Masterminds/semver/v3 v3.5.0 // indirect + github.com/MirrexOne/unqueryvet v1.5.4 // indirect + github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect + github.com/alecthomas/chroma/v2 v2.27.0 // indirect + github.com/alecthomas/go-check-sumtype v0.5.1-0.20260828200218-ae6904d28606 // indirect + github.com/alexkohler/nakedret/v2 v2.0.6 // indirect + github.com/alexkohler/prealloc v1.1.0 // indirect + github.com/alfatraining/structtag v1.0.0 // indirect github.com/alingse/asasalint v0.0.11 // indirect - github.com/alingse/nilnesserr v0.1.2 // indirect - github.com/ashanbrown/forbidigo v1.6.0 // indirect - github.com/ashanbrown/makezero v1.2.0 // indirect + github.com/alingse/nilnesserr v0.2.0 // indirect + github.com/ashanbrown/forbidigo/v2 v2.3.1 // indirect + github.com/ashanbrown/makezero/v2 v2.2.1 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bkielbasa/cyclop v1.2.3 // indirect github.com/blizzy78/varnamelen v0.8.0 // indirect - github.com/bombsimon/wsl/v4 v4.5.0 // indirect - github.com/breml/bidichk v0.3.2 // indirect - github.com/breml/errchkjson v0.4.0 // indirect - github.com/butuzov/ireturn v0.3.1 // indirect - github.com/butuzov/mirror v1.3.0 // indirect - github.com/catenacyber/perfsprint v0.8.1 // indirect - github.com/ccojocar/zxcvbn-go v1.0.2 // indirect + github.com/bombsimon/wsl/v4 v4.7.0 // indirect + github.com/bombsimon/wsl/v5 v5.9.0 // indirect + github.com/breml/bidichk v0.3.4 // indirect + github.com/breml/errchkjson v0.4.1 // indirect + github.com/butuzov/ireturn v0.4.1 // indirect + github.com/butuzov/mirror v1.3.3 // indirect + github.com/catenacyber/perfsprint v0.10.1 // indirect + github.com/ccojocar/zxcvbn-go v1.0.4 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/charithe/durationcheck v0.0.10 // indirect - github.com/chavacava/garif v0.1.0 // indirect - github.com/ckaznocha/intrange v0.3.0 // indirect + github.com/charithe/durationcheck v0.0.11 // indirect + github.com/charmbracelet/colorprofile v0.4.3 // indirect + github.com/charmbracelet/ultraviolet v0.0.0-20260811164956-006e29f97886 // indirect + github.com/charmbracelet/x/ansi v0.11.8 // indirect + github.com/charmbracelet/x/term v0.2.2 // indirect + github.com/charmbracelet/x/termios v0.1.1 // indirect + github.com/charmbracelet/x/windows v0.2.2 // indirect + github.com/ckaznocha/intrange v0.3.1 // indirect + github.com/clipperhouse/displaywidth v0.11.0 // indirect + github.com/clipperhouse/uax29/v2 v2.7.0 // indirect github.com/curioswitch/go-reassign v0.3.0 // indirect - github.com/daixiang0/gci v0.13.5 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect + github.com/daixiang0/gci v0.13.7 // indirect + github.com/dave/dst v0.28.0 // indirect github.com/denis-tingaikin/go-header v0.5.0 // indirect github.com/dgraph-io/ristretto v0.0.2 // indirect + github.com/dlclark/regexp2/v2 v2.2.1 // indirect github.com/ettle/strcase v0.2.0 // indirect - github.com/fatih/color v1.18.0 // indirect + github.com/fatih/color v1.19.0 // indirect github.com/fatih/structtag v1.2.0 // indirect - github.com/firefart/nonamedreturns v1.0.5 // indirect - github.com/fsnotify/fsnotify v1.5.4 // indirect + github.com/firefart/nonamedreturns v1.0.8 // indirect + github.com/fsnotify/fsnotify v1.9.0 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect - github.com/ghostiam/protogetter v0.3.9 // indirect - github.com/go-critic/go-critic v0.12.0 // indirect + github.com/ghostiam/protogetter v1.0.1 // indirect + github.com/go-critic/go-critic v0.15.0 // indirect github.com/go-toolsmith/astcast v1.1.0 // indirect github.com/go-toolsmith/astcopy v1.1.0 // indirect github.com/go-toolsmith/astequal v1.2.0 // indirect @@ -62,140 +81,147 @@ require ( github.com/go-toolsmith/astp v1.1.0 // indirect github.com/go-toolsmith/strparse v1.1.0 // indirect github.com/go-toolsmith/typep v1.1.0 // indirect - github.com/go-viper/mapstructure/v2 v2.4.0 // indirect + github.com/go-viper/mapstructure/v2 v2.5.0 // indirect github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect github.com/gobwas/glob v0.2.3 // indirect - github.com/gofrs/flock v0.12.1 // indirect + github.com/godoc-lint/godoc-lint v0.11.4 // indirect + github.com/gofrs/flock v0.13.1 // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect - github.com/golangci/go-printf-func-name v0.1.0 // indirect - github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect - github.com/golangci/misspell v0.6.0 // indirect - github.com/golangci/plugin-module-register v0.1.1 // indirect + github.com/golangci/asciicheck v0.5.0 // indirect + github.com/golangci/canonicalheader v0.0.0-20260928145534-e18e5c5a078f // indirect + github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202 // indirect + github.com/golangci/go-printf-func-name v0.1.1 // indirect + github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792 // indirect + github.com/golangci/golines v0.16.0 // indirect + github.com/golangci/misspell v0.8.0 // indirect + github.com/golangci/plugin-module-register v0.1.2 // indirect github.com/golangci/revgrep v0.8.0 // indirect - github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect - github.com/google/go-cmp v0.6.0 // indirect + github.com/golangci/rowserrcheck v0.0.0-20261005233414-e0740d52dee8 // indirect + github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e // indirect + github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e // indirect + github.com/google/go-cmp v0.7.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gordonklaus/ineffassign v0.1.0 // indirect + github.com/gordonklaus/ineffassign v0.2.0 // indirect github.com/gostaticanalysis/analysisutil v0.7.1 // indirect - github.com/gostaticanalysis/comment v1.4.2 // indirect + github.com/gostaticanalysis/comment v1.5.0 // indirect github.com/gostaticanalysis/forcetypeassert v0.2.0 // indirect - github.com/gostaticanalysis/nilerr v0.1.1 // indirect + github.com/gostaticanalysis/nilerr v0.1.2 // indirect github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect - github.com/hashicorp/go-version v1.7.0 // indirect + github.com/hashicorp/go-version v1.9.0 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/hexops/gotextdiff v1.0.3 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/jgautheron/goconst v1.7.1 // indirect - github.com/jingyugao/rowserrcheck v1.1.1 // indirect - github.com/jjti/go-spancheck v0.6.4 // indirect + github.com/jgautheron/goconst v1.11.0 // indirect + github.com/jjti/go-spancheck v0.6.5 // indirect github.com/julz/importas v0.2.0 // indirect - github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect - github.com/kisielk/errcheck v1.8.0 // indirect - github.com/kkHAIKE/contextcheck v1.1.5 // indirect - github.com/kulti/thelper v0.6.3 // indirect - github.com/kunwardeep/paralleltest v1.0.10 // indirect - github.com/lasiar/canonicalheader v1.1.2 // indirect - github.com/ldez/exptostd v0.4.1 // indirect - github.com/ldez/gomoddirectives v0.6.1 // indirect - github.com/ldez/grignotin v0.9.0 // indirect - github.com/ldez/tagliatelle v0.7.1 // indirect - github.com/ldez/usetesting v0.4.2 // indirect + github.com/karamaru-alpha/copyloopvar v1.2.2 // indirect + github.com/kisielk/errcheck v1.30.0 // indirect + github.com/kkHAIKE/contextcheck v1.1.6 // indirect + github.com/kulti/thelper v0.7.1 // indirect + github.com/kunwardeep/paralleltest v1.0.16 // indirect + github.com/ldez/exptostd v0.4.5 // indirect + github.com/ldez/gomoddirectives v0.10.0 // indirect + github.com/ldez/grignotin v0.10.1 // indirect + github.com/ldez/structtags v0.6.1 // indirect + github.com/ldez/tagliatelle v0.8.0 // indirect + github.com/ldez/usetesting v0.5.0 // indirect github.com/leonklingele/grouper v1.1.2 // indirect - github.com/macabu/inamedparam v0.1.3 // indirect + github.com/lucasb-eyer/go-colorful v1.4.1 // indirect + github.com/macabu/inamedparam v0.2.0 // indirect github.com/magiconair/properties v1.8.6 // indirect - github.com/maratori/testableexamples v1.0.0 // indirect - github.com/maratori/testpackage v1.1.1 // indirect + github.com/manuelarte/embeddedstructfieldcheck v0.4.0 // indirect + github.com/manuelarte/funcorder v0.6.0 // indirect + github.com/maratori/testableexamples v1.0.1 // indirect + github.com/maratori/testpackage v1.1.2 // indirect github.com/matoous/godox v1.1.0 // indirect - github.com/mattn/go-colorable v0.1.14 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-runewidth v0.0.16 // indirect + github.com/mattn/go-colorable v0.1.16 // indirect + github.com/mattn/go-isatty v0.0.22 // indirect + github.com/mattn/go-runewidth v0.0.24 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect - github.com/mgechev/revive v1.6.1 // indirect + github.com/mgechev/revive v1.17.1 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/moricho/tparallel v0.3.2 // indirect + github.com/muesli/cancelreader v0.2.2 // indirect github.com/nakabonne/nestif v0.3.1 // indirect - github.com/nishanths/exhaustive v0.12.0 // indirect - github.com/nishanths/predeclared v0.2.2 // indirect - github.com/nunnatsa/ginkgolinter v0.19.0 // indirect - github.com/olekukonko/tablewriter v0.0.5 // indirect + github.com/nishanths/exhaustive v0.15.0 // indirect + github.com/nishanths/predeclared v0.3.0 // indirect + github.com/nunnatsa/ginkgolinter v0.24.0 // indirect github.com/ory/viper v1.7.5 // indirect github.com/pborman/uuid v1.2.0 // indirect github.com/pelletier/go-toml v1.9.5 // indirect - github.com/pelletier/go-toml/v2 v2.2.3 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/polyfloyd/go-errorlint v1.7.1 // indirect + github.com/pelletier/go-toml/v2 v2.4.3 // indirect github.com/prometheus/client_golang v1.12.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.32.1 // indirect github.com/prometheus/procfs v0.7.3 // indirect - github.com/quasilyte/go-ruleguard v0.4.3-0.20240823090925-0fe6f58b47b1 // indirect - github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect + github.com/quasilyte/go-ruleguard v0.4.5 // indirect + github.com/quasilyte/go-ruleguard/dsl v0.3.23 // indirect github.com/quasilyte/gogrep v0.5.0 // indirect github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect - github.com/raeperd/recvcheck v0.2.0 // indirect + github.com/raeperd/recvcheck v0.3.1 // indirect github.com/rivo/uniseg v0.4.7 // indirect - github.com/rogpeppe/go-internal v1.13.1 // indirect - github.com/ryancurrah/gomodguard v1.3.5 // indirect - github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect + github.com/rogpeppe/go-internal v1.16.0 // indirect + github.com/ryancurrah/gomodguard v1.4.1 // indirect + github.com/ryancurrah/gomodguard/v2 v2.1.3 // indirect + github.com/ryanrolds/sqlclosecheck v0.6.0 // indirect github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect - github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect + github.com/santhosh-tekuri/jsonschema/v6 v6.0.3 // indirect github.com/sashamelentyev/interfacebloat v1.1.0 // indirect - github.com/sashamelentyev/usestdlibvars v1.28.0 // indirect - github.com/securego/gosec/v2 v2.22.1 // indirect - github.com/sirupsen/logrus v1.9.3 // indirect + github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect + github.com/securego/gosec/v2 v2.29.0 // indirect + github.com/sirupsen/logrus v1.10.2 // indirect github.com/sivchari/containedctx v1.0.3 // indirect - github.com/sivchari/tenv v1.12.1 // indirect - github.com/sonatard/noctx v0.1.0 // indirect - github.com/sourcegraph/go-diff v0.7.0 // indirect - github.com/spf13/afero v1.12.0 // indirect + github.com/sonatard/noctx v0.5.1 // indirect + github.com/sourcegraph/go-diff v0.9.0 // indirect + github.com/spf13/afero v1.15.0 // indirect github.com/spf13/cast v1.5.0 // indirect - github.com/spf13/cobra v1.8.1 // indirect + github.com/spf13/cobra v1.10.2 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/pflag v1.0.6 // indirect + github.com/spf13/pflag v1.0.10 // indirect github.com/spf13/viper v1.12.0 // indirect github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect - github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect - github.com/stretchr/objx v0.5.2 // indirect - github.com/stretchr/testify v1.10.0 // indirect + github.com/stbenjam/no-sprintf-host-port v0.3.1 // indirect + github.com/stretchr/objx v0.5.3 // indirect + github.com/stretchr/testify v1.12.1 // indirect github.com/subosito/gotenv v1.4.1 // indirect - github.com/tdakkota/asciicheck v0.4.0 // indirect - github.com/tetafro/godot v1.4.20 // indirect - github.com/timakin/bodyclose v0.0.0-20241017074812-ed6a65f985e3 // indirect - github.com/timonwong/loggercheck v0.10.1 // indirect - github.com/tomarrell/wrapcheck/v2 v2.10.0 // indirect + github.com/tetafro/godot v1.5.6 // indirect + github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c // indirect + github.com/timonwong/loggercheck v0.13.0 // indirect + github.com/tomarrell/wrapcheck/v2 v2.13.0 // indirect github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect github.com/ultraware/funlen v0.2.0 // indirect github.com/ultraware/whitespace v0.2.0 // indirect - github.com/uudashr/gocognit v1.2.0 // indirect - github.com/uudashr/iface v1.3.1 // indirect - github.com/xen0n/gosmopolitan v1.2.2 // indirect + github.com/uudashr/gocognit v1.3.0 // indirect + github.com/uudashr/iface v1.5.3 // indirect + github.com/xen0n/gosmopolitan v1.3.0 // indirect + github.com/xo/terminfo v1.0.0 // indirect github.com/yagipy/maintidx v1.0.0 // indirect github.com/yeya24/promlinter v0.3.0 // indirect github.com/ykadowak/zerologlint v0.1.5 // indirect gitlab.com/bosi/decorder v0.4.2 // indirect - go-simpler.org/musttag v0.13.0 // indirect - go-simpler.org/sloglint v0.9.0 // indirect - go.uber.org/atomic v1.7.0 // indirect - go.uber.org/automaxprocs v1.6.0 // indirect - go.uber.org/multierr v1.6.0 // indirect - go.uber.org/zap v1.24.0 // indirect - golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect - golang.org/x/mod v0.23.0 // indirect - golang.org/x/sync v0.11.0 // indirect - golang.org/x/sys v0.30.0 // indirect - golang.org/x/text v0.22.0 // indirect - golang.org/x/tools v0.30.0 // indirect - google.golang.org/protobuf v1.36.4 // indirect + go-simpler.org/musttag v0.14.0 // indirect + go-simpler.org/sloglint v0.12.0 // indirect + go.augendre.info/arangolint v0.4.0 // indirect + go.augendre.info/fatcontext v0.10.1 // indirect + go.uber.org/multierr v1.10.0 // indirect + go.uber.org/zap v1.27.0 // indirect + go.yaml.in/yaml/v3 v3.0.5 // indirect + golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f // indirect + golang.org/x/mod v0.42.0 // indirect + golang.org/x/sync v0.24.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/text v0.41.0 // indirect + golang.org/x/tools v0.52.0 // indirect + google.golang.org/protobuf v1.36.12 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - honnef.co/go/tools v0.6.0 // indirect - mvdan.cc/gofumpt v0.7.0 // indirect - mvdan.cc/unparam v0.0.0-20240528143540-8a5130ca722f // indirect + honnef.co/go/tools v0.8.2 // indirect + mvdan.cc/gofumpt v0.12.0 // indirect + mvdan.cc/unparam v0.0.0-20260823230713-2fa3d841b0c8 // indirect ) -go 1.23.6 +go 1.27.3 diff --git a/tools/go.sum b/tools/go.sum index cda64e17d..23c2770a6 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -1,7 +1,9 @@ -4d63.com/gocheckcompilerdirectives v1.2.1 h1:AHcMYuw56NPjq/2y615IGg2kYkBdTvOaojYCBcRE7MA= -4d63.com/gocheckcompilerdirectives v1.2.1/go.mod h1:yjDJSxmDTtIHHCqX0ufRYZDL6vQtMG7tJdKVeWwsqvs= +4d63.com/gocheckcompilerdirectives v1.4.0 h1:ZLq62rbGWVmQhiZ8kuNVIT/M09xCSTdJz9K3xOdT/CY= +4d63.com/gocheckcompilerdirectives v1.4.0/go.mod h1:9ZOAiMOjqC/nRwci2fcUXVHUNLG/cH6r6rhUh+jTFtQ= 4d63.com/gochecknoglobals v0.2.2 h1:H1vdnwnMaZdQW/N+NrkT1SZMTBmcwHe9Vq8lJcYYTtU= 4d63.com/gochecknoglobals v0.2.2/go.mod h1:lLxwTQjL5eIesRbvnzIP3jZtG140FnTdz+AlMa+ogt0= +charm.land/lipgloss/v2 v2.0.6 h1:EaGKeuA8FvF+v2BT5VmZd2LoYLaMZJXA5n34th8nCIQ= +charm.land/lipgloss/v2 v2.0.6/go.mod h1:ipDDJNSGa1hlwDtSfW1s2/xR8Vdhbut4PXh2zEKZd0Q= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -34,59 +36,75 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +codeberg.org/chavacava/garif v0.2.1 h1:K9oYxSlvlXrHXyW26Z4q61bTpJDo1wbvXcYKar/F/LM= +codeberg.org/chavacava/garif v0.2.1/go.mod h1:oHnDSmc0f9K1MeE+MQD/yjkiIB5Xsn5y3S9Dg96Xk84= +codeberg.org/polyfloyd/go-errorlint v1.9.0 h1:VkdEEmA1VBpH6ecQoMR4LdphVI3fA4RrCh2an7YmodI= +codeberg.org/polyfloyd/go-errorlint v1.9.0/go.mod h1:GPRRu2LzVijNn4YkrZYJfatQIdS+TrcK8rL5Xs24qw8= +dev.gaijin.team/go/exhaustruct/v4 v4.0.0 h1:873r7aNneqoBB3IaFIzhvt2RFYTuHgmMjoKfwODoI1Y= +dev.gaijin.team/go/exhaustruct/v4 v4.0.0/go.mod h1:aZ/k2o4Y05aMJtiux15x8iXaumE88YdiB0Ai4fXOzPI= +dev.gaijin.team/go/exhaustruct/v5 v5.2.0 h1:HZB49Fshn8qHJCi9VzYtrcnR1jbLteRHXfnQz8Adams= +dev.gaijin.team/go/exhaustruct/v5 v5.2.0/go.mod h1:5IshpqhgGdKIrF8lBmi3M6YKmI7T3hMzAL9nrflko88= +dev.gaijin.team/go/golib v0.8.1 h1:JYju4x9BSo+QD/AYeHULVDcvEhiFg8wOi6pT0IaZF5E= +dev.gaijin.team/go/golib v0.8.1/go.mod h1:c5fu7t1RSGMxSQgcUYO1sODbzsYnOCXJLmHeNG1Eb+0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/4meepo/tagalign v1.4.1 h1:GYTu2FaPGOGb/xJalcqHeD4il5BiCywyEYZOA55P6J4= -github.com/4meepo/tagalign v1.4.1/go.mod h1:2H9Yu6sZ67hmuraFgfZkNcg5Py9Ch/Om9l2K/2W1qS4= -github.com/Abirdcfly/dupword v0.1.3 h1:9Pa1NuAsZvpFPi9Pqkd93I7LIYRURj+A//dFd5tgBeE= -github.com/Abirdcfly/dupword v0.1.3/go.mod h1:8VbB2t7e10KRNdwTVoxdBaxla6avbhGzb8sCTygUMhw= -github.com/Antonboom/errname v1.0.0 h1:oJOOWR07vS1kRusl6YRSlat7HFnb3mSfMl6sDMRoTBA= -github.com/Antonboom/errname v1.0.0/go.mod h1:gMOBFzK/vrTiXN9Oh+HFs+e6Ndl0eTFbtsRTSRdXyGI= -github.com/Antonboom/nilnil v1.0.1 h1:C3Tkm0KUxgfO4Duk3PM+ztPncTFlOf0b2qadmS0s4xs= -github.com/Antonboom/nilnil v1.0.1/go.mod h1:CH7pW2JsRNFgEh8B2UaPZTEPhCMuFowP/e8Udp9Nnb0= -github.com/Antonboom/testifylint v1.5.2 h1:4s3Xhuv5AvdIgbd8wOOEeo0uZG7PbDKQyKY5lGoQazk= -github.com/Antonboom/testifylint v1.5.2/go.mod h1:vxy8VJ0bc6NavlYqjZfmp6EfqXMtBgQ4+mhCojwC1P8= +github.com/4meepo/tagalign v1.4.4 h1:052JDGj2pBORc6NkD30dDXpsUpoYszDeUwr9/5YZuVA= +github.com/4meepo/tagalign v1.4.4/go.mod h1:00WwRjiuSbrRJnSVeGWPLp2epS5Q/l4UEy0apLLS37c= +github.com/Abirdcfly/dupword v0.1.8 h1:SrhcUuGsROBuChFxHALRYzyyPODWn9zwghmzPvD9Cd8= +github.com/Abirdcfly/dupword v0.1.8/go.mod h1:XZrhVnI7YGpsTiWZANSQaBJ4QpL/Tq5vIEdKJJAs9WI= +github.com/AdminBenni/iota-mixing v1.0.0 h1:Os6lpjG2dp/AE5fYBPAA1zfa2qMdCAWwPMCgpwKq7wo= +github.com/AdminBenni/iota-mixing v1.0.0/go.mod h1:i4+tpAaB+qMVIV9OK3m4/DAynOd5bQFaOu+2AhtBCNY= +github.com/AlwxSin/noinlineerr v1.0.6 h1:KAvuxunTe9QxvqrFB7nZTdb/7Wzas4AvifslTnG0Ld8= +github.com/AlwxSin/noinlineerr v1.0.6/go.mod h1:+QgkkoYrMH7RHvcdxdlI7vYYEdgeoFOVjU9sUhw/rQc= +github.com/Antonboom/errname v1.1.2 h1:dxwONZJua3VB8Xh/VaCjqAcqF645sWWv7xj26zy7tdQ= +github.com/Antonboom/errname v1.1.2/go.mod h1:YeZIpgLMxT+SNkruGgYkLhzq/9vs3fsolTZegKaKDZI= +github.com/Antonboom/nilnil v1.1.2 h1:aNlFuJhaEseXe4fHO3xbjXlSeEiQVYa2lEkWD2s2hAY= +github.com/Antonboom/nilnil v1.1.2/go.mod h1:0ynwvphOLmAuMwTNDyBnDZmSwZoDpcFXmUHmzoHH2WA= +github.com/Antonboom/testifylint v1.6.4 h1:gs9fUEy+egzxkEbq9P4cpcMB6/G0DYdMeiFS87UiqmQ= +github.com/Antonboom/testifylint v1.6.4/go.mod h1:YO33FROXX2OoUfwjz8g+gUxQXio5i9qpVy7nXGbxDD4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c h1:pxW6RcqyfI9/kWtOwnv/G+AzdKuy2ZrqINhenH4HyNs= -github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= +github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk= +github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/Crocmagnon/fatcontext v0.7.1 h1:SC/VIbRRZQeQWj/TcQBS6JmrXcfA+BU4OGSVUt54PjM= -github.com/Crocmagnon/fatcontext v0.7.1/go.mod h1:1wMvv3NXEBJucFGfwOJBxSVWcoIO6emV215SMkW9MFU= -github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM= -github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 h1:/fTUt5vmbkAcMBt4YQiuC23cV0kEsN1MVMNqeOW43cU= -github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0/go.mod h1:ONJg5sxcbsdQQ4pOW8TGdTidT2TMAUy/2Xhr8mrYaao= -github.com/Masterminds/semver/v3 v3.3.0 h1:B8LGeaivUe71a5qox1ICM/JLl0NqZSW5CHyL+hmvYS0= -github.com/Masterminds/semver/v3 v3.3.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/ClickHouse/clickhouse-go-linter v1.2.1 h1:zGEKIyd5YL08ieWG/LOUmlau2DxbxPVOfAeo+4Jz3ck= +github.com/ClickHouse/clickhouse-go-linter v1.2.1/go.mod h1:pLorS7ffPTfuUV9M0SJgfHA/h/WQPQUk2FWG9x74cQ4= +github.com/Djarvur/go-err113 v0.1.1 h1:eHfopDqXRwAi+YmCUas75ZE0+hoBHJ2GQNLYRSxao4g= +github.com/Djarvur/go-err113 v0.1.1/go.mod h1:IaWJdYFLg76t2ihfflPZnM1LIQszWOsFDh2hhhAVF6k= +github.com/Masterminds/semver/v3 v3.5.0 h1:kQceYJfbupGfZOKZQg0kou0DgAKhzDg2NZPAwZ/2OOE= +github.com/Masterminds/semver/v3 v3.5.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/MirrexOne/unqueryvet v1.5.4 h1:38QOxShO7JmMWT+eCdDMbcUgGCOeJphVkzzRgyLJgsQ= +github.com/MirrexOne/unqueryvet v1.5.4/go.mod h1:fs9Zq6eh1LRIhsDIsxf9PONVUjYdFHdtkHIgZdJnyPU= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/OpenPeeDeeP/depguard/v2 v2.2.0 h1:vDfG60vDtIuf0MEOhmLlLLSzqaRM8EMcgJPdp74zmpA= -github.com/OpenPeeDeeP/depguard/v2 v2.2.0/go.mod h1:CIzddKRvLBC4Au5aYP/i3nyaWQ+ClszLIuVocRiCYFQ= +github.com/OpenPeeDeeP/depguard/v2 v2.2.1 h1:vckeWVESWp6Qog7UZSARNqfu/cZqvki8zsuj3piCMx4= +github.com/OpenPeeDeeP/depguard/v2 v2.2.1/go.mod h1:q4DKzC4UcVaAvcfd41CZh0PWpGgzrVxUYBlgKNGquUo= github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= -github.com/alecthomas/go-check-sumtype v0.3.1 h1:u9aUvbGINJxLVXiFvHUlPEaD7VDULsrxJb4Aq31NLkU= -github.com/alecthomas/go-check-sumtype v0.3.1/go.mod h1:A8TSiN3UPRw3laIgWEUOHHLPa6/r9MtoigdlP5h3K/E= -github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= -github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= +github.com/alecthomas/chroma/v2 v2.27.0 h1:FodwmyOBgJULFYmDqibcp9pvfDLWdtPRh9v/r5BXYZs= +github.com/alecthomas/chroma/v2 v2.27.0/go.mod h1:NjJ3ciIgrqBNeIkWZ4e46nseoLDslxU1LmfCoL+wcY8= +github.com/alecthomas/go-check-sumtype v0.5.1-0.20260828200218-ae6904d28606 h1:dXPJ+uOJLWb8rjlAuLX7JPiRJtZKw/53Ol+WxdDJ1Eo= +github.com/alecthomas/go-check-sumtype v0.5.1-0.20260828200218-ae6904d28606/go.mod h1:ZH31IJyNpxpStxP2ayCcPQz+3T2G/OnxIQqe4LWvSDw= +github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs= +github.com/alecthomas/repr v0.5.2/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alexkohler/nakedret/v2 v2.0.5 h1:fP5qLgtwbx9EJE8dGEERT02YwS8En4r9nnZ71RK+EVU= -github.com/alexkohler/nakedret/v2 v2.0.5/go.mod h1:bF5i0zF2Wo2o4X4USt9ntUWve6JbFv02Ff4vlkmS/VU= -github.com/alexkohler/prealloc v1.0.0 h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw= -github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= +github.com/alexkohler/nakedret/v2 v2.0.6 h1:ME3Qef1/KIKr3kWX3nti3hhgNxw6aqN5pZmQiFSsuzQ= +github.com/alexkohler/nakedret/v2 v2.0.6/go.mod h1:l3RKju/IzOMQHmsEvXwkqMDzHHvurNQfAgE1eVmT40Q= +github.com/alexkohler/prealloc v1.1.0 h1:cKGRBqlXw5iyQGLYhrXrDlcHxugXpTq4tQ5c91wkf8M= +github.com/alexkohler/prealloc v1.1.0/go.mod h1:fT39Jge3bQrfA7nPMDngUfvUbQGQeJyGQnR+913SCig= +github.com/alfatraining/structtag v1.0.0 h1:2qmcUqNcCoyVJ0up879K614L9PazjBSFruTB0GOFjCc= +github.com/alfatraining/structtag v1.0.0/go.mod h1:p3Xi5SwzTi+Ryj64DqjLWz7XurHxbGsq6y3ubePJPus= github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw= github.com/alingse/asasalint v0.0.11/go.mod h1:nCaoMhw7a9kSJObvQyVzNTPBDbNpdocqrSP7t/cW5+I= -github.com/alingse/nilnesserr v0.1.2 h1:Yf8Iwm3z2hUUrP4muWfW83DF4nE3r1xZ26fGWUKCZlo= -github.com/alingse/nilnesserr v0.1.2/go.mod h1:1xJPrXonEtX7wyTq8Dytns5P2hNzoWymVUIaKm4HNFg= +github.com/alingse/nilnesserr v0.2.0 h1:raLem5KG7EFVb4UIDAXgrv3N2JIaffeKNtcEXkEWd/w= +github.com/alingse/nilnesserr v0.2.0/go.mod h1:1xJPrXonEtX7wyTq8Dytns5P2hNzoWymVUIaKm4HNFg= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8gerOIVIY= -github.com/ashanbrown/forbidigo v1.6.0/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU= -github.com/ashanbrown/makezero v1.2.0 h1:/2Lp1bypdmK9wDIq7uWBlDF1iMUpIIS4A+pF6C9IEUU= -github.com/ashanbrown/makezero v1.2.0/go.mod h1:dxlPhHbDMC6N6xICzFBSK+4njQDdK8euNO0qjQMtGY4= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/ashanbrown/forbidigo/v2 v2.3.1 h1:KAZijvQ7zeIBKbhikT4jCm0TLYXC4u78bTiLh/8JROI= +github.com/ashanbrown/forbidigo/v2 v2.3.1/go.mod h1:2QDkLTzU6TV937eFROamXrW92M3paehdae4HCDCOZCM= +github.com/ashanbrown/makezero/v2 v2.2.1 h1:A7uU8dgB1PA9aelTxHMfHIQ8Qev8AB3JLxJUBUsejqM= +github.com/ashanbrown/makezero/v2 v2.2.1/go.mod h1:aEGT/9q3S8DHeE57C88z2a6xydvgx8J5hgXIGWgo0MY= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -95,20 +113,22 @@ github.com/bkielbasa/cyclop v1.2.3 h1:faIVMIGDIANuGPWH031CZJTi2ymOQBULs9H21HSMa5 github.com/bkielbasa/cyclop v1.2.3/go.mod h1:kHTwA9Q0uZqOADdupvcFJQtp/ksSnytRMe8ztxG8Fuo= github.com/blizzy78/varnamelen v0.8.0 h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M= github.com/blizzy78/varnamelen v0.8.0/go.mod h1:V9TzQZ4fLJ1DSrjVDfl89H7aMnTvKkApdHeyESmyR7k= -github.com/bombsimon/wsl/v4 v4.5.0 h1:iZRsEvDdyhd2La0FVi5k6tYehpOR/R7qIUjmKk7N74A= -github.com/bombsimon/wsl/v4 v4.5.0/go.mod h1:NOQ3aLF4nD7N5YPXMruR6ZXDOAqLoM0GEpLwTdvmOSc= -github.com/breml/bidichk v0.3.2 h1:xV4flJ9V5xWTqxL+/PMFF6dtJPvZLPsyixAoPe8BGJs= -github.com/breml/bidichk v0.3.2/go.mod h1:VzFLBxuYtT23z5+iVkamXO386OB+/sVwZOpIj6zXGos= -github.com/breml/errchkjson v0.4.0 h1:gftf6uWZMtIa/Is3XJgibewBm2ksAQSY/kABDNFTAdk= -github.com/breml/errchkjson v0.4.0/go.mod h1:AuBOSTHyLSaaAFlWsRSuRBIroCh3eh7ZHh5YeelDIk8= -github.com/butuzov/ireturn v0.3.1 h1:mFgbEI6m+9W8oP/oDdfA34dLisRFCj2G6o/yiI1yZrY= -github.com/butuzov/ireturn v0.3.1/go.mod h1:ZfRp+E7eJLC0NQmk1Nrm1LOrn/gQlOykv+cVPdiXH5M= -github.com/butuzov/mirror v1.3.0 h1:HdWCXzmwlQHdVhwvsfBb2Au0r3HyINry3bDWLYXiKoc= -github.com/butuzov/mirror v1.3.0/go.mod h1:AEij0Z8YMALaq4yQj9CPPVYOyJQyiexpQEQgihajRfI= -github.com/catenacyber/perfsprint v0.8.1 h1:bGOHuzHe0IkoGeY831RW4aSlt1lPRd3WRAScSWOaV7E= -github.com/catenacyber/perfsprint v0.8.1/go.mod h1:/wclWYompEyjUD2FuIIDVKNkqz7IgBIWXIH3V0Zol50= -github.com/ccojocar/zxcvbn-go v1.0.2 h1:na/czXU8RrhXO4EZme6eQJLR4PzcGsahsBOAwU6I3Vg= -github.com/ccojocar/zxcvbn-go v1.0.2/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= +github.com/bombsimon/wsl/v4 v4.7.0 h1:1Ilm9JBPRczjyUs6hvOPKvd7VL1Q++PL8M0SXBDf+jQ= +github.com/bombsimon/wsl/v4 v4.7.0/go.mod h1:uV/+6BkffuzSAVYD+yGyld1AChO7/EuLrCF/8xTiapg= +github.com/bombsimon/wsl/v5 v5.9.0 h1:WCrgZ7RQnZO5oEwbVTlYgBdU3wL294kR1BSWV8vTfsU= +github.com/bombsimon/wsl/v5 v5.9.0/go.mod h1:kjo4HiAV5FDkHC8/uzJq9mBffEEd6WT/nvN7DoMovDM= +github.com/breml/bidichk v0.3.4 h1:70G6w80G6GDZTUURHTC5gBKVjMLMw2736CzXquSf5Ek= +github.com/breml/bidichk v0.3.4/go.mod h1:GOHprnh4i0V7HrvWjtbvbpicTUcqoYt9zYESKcJkk4M= +github.com/breml/errchkjson v0.4.1 h1:keFSS8D7A2T0haP9kzZTi7o26r7kE3vymjZNeNDRDwg= +github.com/breml/errchkjson v0.4.1/go.mod h1:a23OvR6Qvcl7DG/Z4o0el6BRAjKnaReoPQFciAl9U3s= +github.com/butuzov/ireturn v0.4.1 h1:vWb3NO4t77iku/sjCQ/2pHTQeOmxEhjIriJqRLg1Y+I= +github.com/butuzov/ireturn v0.4.1/go.mod h1:q+DXKzTDV5guNuXLnIab9fKXizTn2miZHLhxH7V/GB4= +github.com/butuzov/mirror v1.3.3 h1:v0RsWBhfFc1RQqE/f3sHpSttKDtodFn0gFmtYyD4/hA= +github.com/butuzov/mirror v1.3.3/go.mod h1:h9BzzwYnTiHO0GzgvaTqIg7VSsOUhdIv51cHFFBmX1w= +github.com/catenacyber/perfsprint v0.10.1 h1:u7Riei30bk46XsG8nknMhKLXG9BcXz3+3tl/WpKm0PQ= +github.com/catenacyber/perfsprint v0.10.1/go.mod h1:DJTGsi/Zufpuus6XPGJyKOTMELe347o6akPvWG9Zcsc= +github.com/ccojocar/zxcvbn-go v1.0.4 h1:FWnCIRMXPj43ukfX000kvBZvV6raSxakYr1nzyNrUcc= +github.com/ccojocar/zxcvbn-go v1.0.4/go.mod h1:3GxGX+rHmueTUMvm5ium7irpyjmm7ikxYFOSJB21Das= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= @@ -116,16 +136,30 @@ github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/charithe/durationcheck v0.0.10 h1:wgw73BiocdBDQPik+zcEoBG/ob8uyBHf2iyoHGPf5w4= -github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoGOY1C1L6uouGNreQ= -github.com/chavacava/garif v0.1.0 h1:2JHa3hbYf5D9dsgseMKAmc/MZ109otzgNFk5s87H9Pc= -github.com/chavacava/garif v0.1.0/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww= +github.com/charithe/durationcheck v0.0.11 h1:g1/EX1eIiKS57NTWsYtHDZ/APfeXKhye1DidBcABctk= +github.com/charithe/durationcheck v0.0.11/go.mod h1:x5iZaixRNl8ctbM+3B2RrPG5t856TxRyVQEnbIEM2X4= +github.com/charmbracelet/colorprofile v0.4.3 h1:QPa1IWkYI+AOB+fE+mg/5/4HRMZcaXex9t5KX76i20Q= +github.com/charmbracelet/colorprofile v0.4.3/go.mod h1:/zT4BhpD5aGFpqQQqw7a+VtHCzu+zrQtt1zhMt9mR4Q= +github.com/charmbracelet/ultraviolet v0.0.0-20260811164956-006e29f97886 h1:rdnVWKgJpTVXKuKuJyxDJ+NFJdUaUqGvyGy61OcvlbA= +github.com/charmbracelet/ultraviolet v0.0.0-20260811164956-006e29f97886/go.mod h1:nAw0d9PhFp1qdzi2xhQU5YOu5sVpDIHWlaW2Uz/bCro= +github.com/charmbracelet/x/ansi v0.11.8 h1:JMFwp0CgDC2+jcOB162HH5k7I3FVbgFSMMYg7dSPBQQ= +github.com/charmbracelet/x/ansi v0.11.8/go.mod h1:ZNN+3mXny/516oTQPLMPIBeSINvNJJQ8uQXDgbeJxY0= +github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk= +github.com/charmbracelet/x/term v0.2.2/go.mod h1:kF8CY5RddLWrsgVwpw4kAa6TESp6EB5y3uxGLeCqzAI= +github.com/charmbracelet/x/termios v0.1.1 h1:o3Q2bT8eqzGnGPOYheoYS8eEleT5ZVNYNy8JawjaNZY= +github.com/charmbracelet/x/termios v0.1.1/go.mod h1:rB7fnv1TgOPOyyKRJ9o+AsTU/vK5WHJ2ivHeut/Pcwo= +github.com/charmbracelet/x/windows v0.2.2 h1:IofanmuvaxnKHuV04sC0eBy/smG6kIKrWG2/jYn2GuM= +github.com/charmbracelet/x/windows v0.2.2/go.mod h1:/8XtdKZzedat74NQFn0NGlGL4soHB0YQZrETF96h75k= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/ckaznocha/intrange v0.3.0 h1:VqnxtK32pxgkhJgYQEeOArVidIPg+ahLP7WBOXZd5ZY= -github.com/ckaznocha/intrange v0.3.0/go.mod h1:+I/o2d2A1FBHgGELbGxzIcyd3/9l9DuwjM8FsbSS3Lo= +github.com/ckaznocha/intrange v0.3.1 h1:j1onQyXvHUsPWujDH6WIjhyH26gkRt/txNlV7LspvJs= +github.com/ckaznocha/intrange v0.3.1/go.mod h1:QVepyz1AkUoFQkpEqksSYpNpUo3c5W7nWh/s6SHIJJk= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/clipperhouse/displaywidth v0.11.0 h1:lBc6kY44VFw+TDx4I8opi/EtL9m20WSEFgwIwO+UVM8= +github.com/clipperhouse/displaywidth v0.11.0/go.mod h1:bkrFNkf81G8HyVqmKGxsPufD3JhNl3dSqnGhOoSD/o0= +github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk= +github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -133,11 +167,15 @@ github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3Ee github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/curioswitch/go-reassign v0.3.0 h1:dh3kpQHuADL3cobV/sSGETA8DOv457dwl+fbBAhrQPs= github.com/curioswitch/go-reassign v0.3.0/go.mod h1:nApPCCTtqLJN/s8HfItCcKV0jIPwluBOvZP+dsJGA88= -github.com/daixiang0/gci v0.13.5 h1:kThgmH1yBmZSBCh1EJVxQ7JsHpm5Oms0AMed/0LaH4c= -github.com/daixiang0/gci v0.13.5/go.mod h1:12etP2OniiIdP4q+kjUGrC/rUagga7ODbqsom5Eo5Yk= +github.com/daixiang0/gci v0.13.7 h1:+0bG5eK9vlI08J+J/NWGbWPTNiXPG4WhNLJOkSxWITQ= +github.com/daixiang0/gci v0.13.7/go.mod h1:812WVN6JLFY9S6Tv76twqmNqevN0pa3SX3nih0brVzQ= +github.com/dave/dst v0.28.0 h1:EIEuRC5XmVKuZF2OeyMahXX9ARVt6Xxr8vI0WtIY7K8= +github.com/dave/dst v0.28.0/go.mod h1:C4mfimBeSHfsgskhR/mUYSE05s2ih+PW6g9FP3c49tE= +github.com/dave/jennifer v1.7.1 h1:B4jJJDHelWcDhlRQxWeo0Npa/pYKBLrirAQoTN45txo= +github.com/dave/jennifer v1.7.1/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3RmGZc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -150,33 +188,35 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 h1:tdlZCpZ/P9DhczCTSixgIKmwPv6+wP5DGjqLYw5SUiA= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= -github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= +github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8= +github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= +github.com/dlclark/regexp2/v2 v2.2.1 h1:mf4KkFUj0gJuarK8P+LgiS+Lit7m9N1yAwEfPbee7R0= +github.com/dlclark/regexp2/v2 v2.2.1/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q= github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A= -github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= -github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= +github.com/fatih/color v1.19.0 h1:Zp3PiM21/9Ld6FzSKyL5c/BULoe/ONr9KlbYVOfG8+w= +github.com/fatih/color v1.19.0/go.mod h1:zNk67I0ZUT1bEGsSGyCZYZNrHuTkJJB+r6Q9VuMi0LE= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= -github.com/firefart/nonamedreturns v1.0.5 h1:tM+Me2ZaXs8tfdDw3X6DOX++wMCOqzYUho6tUTYIdRA= -github.com/firefart/nonamedreturns v1.0.5/go.mod h1:gHJjDqhGM4WyPt639SOZs+G89Ko7QKH5R5BhnO6xJhw= +github.com/firefart/nonamedreturns v1.0.8 h1:iB32Dl17zJl1zlVEj/WlUWgx0HiRyQ85OUw1WHa4/II= +github.com/firefart/nonamedreturns v1.0.8/go.mod h1:vxFNvm5AfP/8rgAKFzYmnqx0yp1HjrYsErZ9pHPTznA= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= -github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= +github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= +github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo= github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/ghostiam/protogetter v0.3.9 h1:j+zlLLWzqLay22Cz/aYwTHKQ88GE2DQ6GkWSYFOI4lQ= -github.com/ghostiam/protogetter v0.3.9/go.mod h1:WZ0nw9pfzsgxuRsPOFQomgDVSWtDLJRfQJEhsGbmQMA= -github.com/go-critic/go-critic v0.12.0 h1:iLosHZuye812wnkEz1Xu3aBwn5ocCPfc9yqmFG9pa6w= -github.com/go-critic/go-critic v0.12.0/go.mod h1:DpE0P6OVc6JzVYzmM5gq5jMU31zLr4am5mB/VfFK64w= +github.com/ghostiam/protogetter v1.0.1 h1:q4LLTx2KJHJpxrfO3BniUDWoFkoqWD/UlHhClBlUlLM= +github.com/ghostiam/protogetter v1.0.1/go.mod h1:50Fh5yZfs6SFGrd1FlmT04NcguyEOxyjNK5zGD6/EvM= +github.com/go-critic/go-critic v0.15.0 h1:MDUZIQKytIl+vPEc0Igw51m4uLTdi1ZGz2jatEqNs1g= +github.com/go-critic/go-critic v0.15.0/go.mod h1:3BPrw8nHATGm3o2n37cssOmJzpySGKCdY8JWkCzxgKQ= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -186,10 +226,10 @@ github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vb github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= -github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-quicktest/qt v1.101.0 h1:O1K29Txy5P2OK0dGo59b7b0LR6wKfIhttaAhHUyn7eI= -github.com/go-quicktest/qt v1.101.0/go.mod h1:14Bz/f7NwaXPtdYEgzsx46kqSxVwTbzVZsDC26tQJow= +github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= +github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-quicktest/qt v1.102.0 h1:HSQxCeh5YZH3EL3W39ixjtyaEhcWSXQHtHnMBzSs474= +github.com/go-quicktest/qt v1.102.0/go.mod h1:p4lGIVX+8Wa6ZPNDvqcxq36XpUDLh42FLetFU7odllI= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= @@ -212,14 +252,16 @@ github.com/go-toolsmith/strparse v1.1.0 h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQi github.com/go-toolsmith/strparse v1.1.0/go.mod h1:7ksGy58fsaQkGQlY8WVoBFNyEPMGuJin1rfoPS4lBSQ= github.com/go-toolsmith/typep v1.1.0 h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUNHus= github.com/go-toolsmith/typep v1.1.0/go.mod h1:fVIw+7zjdsMxDA3ITWnH1yOiw1rnTQKCsF/sk2H/qig= -github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs= -github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= +github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= +github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/go-xmlfmt/xmlfmt v1.1.3 h1:t8Ey3Uy7jDSEisW2K3somuMKIpzktkWptA0iFCnRUWY= github.com/go-xmlfmt/xmlfmt v1.1.3/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= -github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= -github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= +github.com/godoc-lint/godoc-lint v0.11.4 h1:N9zUYVJ/OkznBbrBsU/zODvua64EUplMBLQWStO3+1M= +github.com/godoc-lint/godoc-lint v0.11.4/go.mod h1:7usTXoxS0QYIi5usTSCPwR0w/6xLjcz450shXjLn3t4= +github.com/gofrs/flock v0.13.1 h1:jjREztyBeSKBZYAC+mgc1laB+xsgy4kYMf3FbKF2UBo= +github.com/gofrs/flock v0.13.1/go.mod h1:sf4BFiHwnvgxa25DlQoDqXQnwRMEOwqxRq37P6MzzmE= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= @@ -252,22 +294,32 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM= -github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk= -github.com/golangci/go-printf-func-name v0.1.0 h1:dVokQP+NMTO7jwO4bwsRwLWeudOVUPPyAKJuzv8pEJU= -github.com/golangci/go-printf-func-name v0.1.0/go.mod h1:wqhWFH5mUdJQhweRnldEywnR5021wTdZSNgwYceV14s= -github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d h1:viFft9sS/dxoYY0aiOTsLKO2aZQAPT4nlQCsimGcSGE= -github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d/go.mod h1:ivJ9QDg0XucIkmwhzCDsqcnxxlDStoTl89jDMIoNxKY= -github.com/golangci/golangci-lint v1.64.5 h1:5omC86XFBKXZgCrVdUWU+WNHKd+CWCxNx717KXnzKZY= -github.com/golangci/golangci-lint v1.64.5/go.mod h1:WZnwq8TF0z61h3jLQ7Sk5trcP7b3kUFxLD6l1ivtdvU= -github.com/golangci/misspell v0.6.0 h1:JCle2HUTNWirNlDIAUO44hUsKhOFqGPoC4LZxlaSXDs= -github.com/golangci/misspell v0.6.0/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo= -github.com/golangci/plugin-module-register v0.1.1 h1:TCmesur25LnyJkpsVrupv1Cdzo+2f7zX0H6Jkw1Ol6c= -github.com/golangci/plugin-module-register v0.1.1/go.mod h1:TTpqoB6KkwOJMV8u7+NyXMrkwwESJLOkfl9TxR1DGFc= +github.com/golangci/asciicheck v0.5.0 h1:jczN/BorERZwK8oiFBOGvlGPknhvq0bjnysTj4nUfo0= +github.com/golangci/asciicheck v0.5.0/go.mod h1:5RMNAInbNFw2krqN6ibBxN/zfRFa9S6tA1nPdM0l8qQ= +github.com/golangci/canonicalheader v0.0.0-20260928145534-e18e5c5a078f h1:pOnwRNeWLPkADfkgqKcCP7RPQAS9OIzffaBaktRsKnk= +github.com/golangci/canonicalheader v0.0.0-20260928145534-e18e5c5a078f/go.mod h1:aXo+AVSX0pC3TRo2wAfR92YwBKfG6C2eal+omjKXwYw= +github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202 h1:CbTB8KpqnViI6lIXxp03Oclc4VFHi3K4BWC1TacsZ+A= +github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202/go.mod h1:NUw9Zr2Sy7+HxzdjIULge71wI6yEg1lWQr7Evcu8K0E= +github.com/golangci/go-printf-func-name v0.1.1 h1:hIYTFJqAGp1iwoIfsNTpoq1xZAarogrvjO9AfiW3B4U= +github.com/golangci/go-printf-func-name v0.1.1/go.mod h1:Es64MpWEZbh0UBtTAICOZiB+miW53w/K9Or/4QogJss= +github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792 h1:WL8YKrt3UbOBqSRU7GpP5BTtQTMWtVtj+mfPijgZeIg= +github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792/go.mod h1:te5hX0dW4C5r6YbXs+6ysNr8Q5UTmdIqGbb+mlFiYmA= +github.com/golangci/golangci-lint/v2 v2.15.0 h1:w94zf8HAYI7hm3164kwKsvZRuqXvY+YxeFoTbu1OLg8= +github.com/golangci/golangci-lint/v2 v2.15.0/go.mod h1:/FRI304IxqDVhX2o3ZZ0qp8Vvz8egJdzCY5A4GjvmTU= +github.com/golangci/golines v0.16.0 h1:xKdwzRvwzLd7V131B/dv90vUiEoTA0vQybdeqperPOg= +github.com/golangci/golines v0.16.0/go.mod h1:mCMgRQHiCvuALJOeaNtylu09zbzvS9Ka01dfvLLJios= +github.com/golangci/misspell v0.8.0 h1:qvxQhiE2/5z+BVRo1kwYA8yGz+lOlu5Jfvtx2b04Jbg= +github.com/golangci/misspell v0.8.0/go.mod h1:WZyyI2P3hxPY2UVHs3cS8YcllAeyfquQcKfdeE9AFVg= +github.com/golangci/plugin-module-register v0.1.2 h1:e5WM6PO6NIAEcij3B053CohVp3HIYbzSuP53UAYgOpg= +github.com/golangci/plugin-module-register v0.1.2/go.mod h1:1+QGTsKBvAIvPvoY/os+G5eoqxWn70HYDm2uvUyGuVw= github.com/golangci/revgrep v0.8.0 h1:EZBctwbVd0aMeRnNUsFogoyayvKHyxlV3CdUA46FX2s= github.com/golangci/revgrep v0.8.0/go.mod h1:U4R/s9dlXZsg8uJmaR1GrloUr14D7qDl8gi2iPXJH8k= -github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed h1:IURFTjxeTfNFP0hTEi1YKjB/ub8zkpaOqFFMApi2EAs= -github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed/go.mod h1:XLXN8bNw4CGRPaqgl3bv/lhz7bsGPh4/xSaMTbo2vkQ= +github.com/golangci/rowserrcheck v0.0.0-20261005233414-e0740d52dee8 h1:oN042y1yEcpldrqY81puyNA4ZjQZJzt0U/t7HyYrMic= +github.com/golangci/rowserrcheck v0.0.0-20261005233414-e0740d52dee8/go.mod h1:T1Bg58Sk3N352aBbPLJPpHykFWxEEwV3o4/Enn+PPU8= +github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e h1:ai0EfmVYE2bRA5htgAG9r7s3tHsfjIhN98WshBTJ9jM= +github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e/go.mod h1:Vrn4B5oR9qRwM+f54koyeH3yzphlecwERs0el27Fr/s= +github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e h1:gD6P7NEo7Eqtt0ssnqSJNNndxe69DOQ24A5h7+i3KpM= +github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e/go.mod h1:h+wZwLjUTJnm/P2rwlbJdRPZXOzaT36/FwnPnY2inzc= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -280,10 +332,9 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -294,8 +345,8 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg= -github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= +github.com/google/pprof v0.0.0-20260802141513-ef3492d7dac3 h1:LMLX+LgTNWpfvCBdFebv6EsYotImrt/Ppc5cXIriCSo= +github.com/google/pprof v0.0.0-20260802141513-ef3492d7dac3/go.mod h1:jl5iWTm0/hd5PjEYEOuwAJ57L/CibdZfrqZ5XA5GrCk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -304,18 +355,18 @@ github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gordonklaus/ineffassign v0.1.0 h1:y2Gd/9I7MdY1oEIt+n+rowjBNDcLQq3RsH5hwJd0f9s= -github.com/gordonklaus/ineffassign v0.1.0/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= +github.com/gordonklaus/ineffassign v0.2.0 h1:Uths4KnmwxNJNzq87fwQQDDnbNb7De00VOk9Nu0TySs= +github.com/gordonklaus/ineffassign v0.2.0/go.mod h1:TIpymnagPSexySzs7F9FnO1XFTy8IT3a59vmZp5Y9Lw= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gostaticanalysis/analysisutil v0.7.1 h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk= github.com/gostaticanalysis/analysisutil v0.7.1/go.mod h1:v21E3hY37WKMGSnbsw2S/ojApNWb6C1//mXO48CXbVc= -github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= -github.com/gostaticanalysis/comment v1.4.2 h1:hlnx5+S2fY9Zo9ePo4AhgYsYHbM2+eAv8m/s1JiCd6Q= github.com/gostaticanalysis/comment v1.4.2/go.mod h1:KLUTGDv6HOCotCH8h2erHKmpci2ZoR8VPu34YA2uzdM= +github.com/gostaticanalysis/comment v1.5.0 h1:X82FLl+TswsUMpMh17srGRuKaaXprTaytmEpgnKIDu8= +github.com/gostaticanalysis/comment v1.5.0/go.mod h1:V6eb3gpCv9GNVqb6amXzEUX3jXLVK/AdA+IrAMSqvEc= github.com/gostaticanalysis/forcetypeassert v0.2.0 h1:uSnWrrUEYDr86OCxWa4/Tp2jeYDlogZiZHzGkWFefTk= github.com/gostaticanalysis/forcetypeassert v0.2.0/go.mod h1:M5iPavzE9pPqWyeiVXSFghQjljW1+l/Uke3PXHS6ILY= -github.com/gostaticanalysis/nilerr v0.1.1 h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3Uqrmrcpk= -github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A= +github.com/gostaticanalysis/nilerr v0.1.2 h1:S6nk8a9N8g062nsx63kUkF6AzbHGw7zzyHMcpu52xQU= +github.com/gostaticanalysis/nilerr v0.1.2/go.mod h1:A19UHhoY3y8ahoL7YKz6sdjDtduwTSI4CsymaC2htPA= github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M= github.com/gostaticanalysis/testutil v0.5.0 h1:Dq4wT1DdTwTGCQQv3rl3IvD5Ld0E6HiY+3Zh0sUGqw8= github.com/gostaticanalysis/testutil v0.5.0/go.mod h1:OLQSbuM6zw2EvCcXTz1lVq5unyoNft372msDY0nY5Hs= @@ -327,8 +378,8 @@ github.com/hashicorp/go-immutable-radix/v2 v2.1.0/go.mod h1:hgdqLXA4f6NIjRVisM1T github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= -github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.9.0 h1:CeOIz6k+LoN3qX9Z0tyQrPtiB1DFYRPfCIBtaXPSCnA= +github.com/hashicorp/go-version v1.9.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= @@ -341,12 +392,10 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/jgautheron/goconst v1.7.1 h1:VpdAG7Ca7yvvJk5n8dMwQhfEZJh95kl/Hl9S1OI5Jkk= -github.com/jgautheron/goconst v1.7.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= -github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= -github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= -github.com/jjti/go-spancheck v0.6.4 h1:Tl7gQpYf4/TMU7AT84MN83/6PutY21Nb9fuQjFTpRRc= -github.com/jjti/go-spancheck v0.6.4/go.mod h1:yAEYdKJ2lRkDA8g7X+oKUHXOWVAXSBJRv04OhF+QUjk= +github.com/jgautheron/goconst v1.11.0 h1:KgN90z5qXt5f0Uzf3cWXev3hfMMFUyNeKdpkSBRvLDk= +github.com/jgautheron/goconst v1.11.0/go.mod h1:0p+wv1lFOiUr0IlNNT1nrm6+8DB8u2sU6KHGzFRXHDc= +github.com/jjti/go-spancheck v0.6.5 h1:lmi7pKxa37oKYIMScialXUK6hP3iY5F1gu+mLBPgYB8= +github.com/jjti/go-spancheck v0.6.5/go.mod h1:aEogkeatBrbYsyW6y5TgDfihCulDYciL1B7rG2vSsrU= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= @@ -360,14 +409,14 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/julz/importas v0.2.0 h1:y+MJN/UdL63QbFJHws9BVC5RpA2iq0kpjrFajTGivjQ= github.com/julz/importas v0.2.0/go.mod h1:pThlt589EnCYtMnmhmRYY/qn9lCf/frPOK+WMx3xiJY= -github.com/karamaru-alpha/copyloopvar v1.2.1 h1:wmZaZYIjnJ0b5UoKDjUHrikcV0zuPyyxI4SVplLd2CI= -github.com/karamaru-alpha/copyloopvar v1.2.1/go.mod h1:nFmMlFNlClC2BPvNaHMdkirmTJxVCY0lhxBtlfOypMM= +github.com/karamaru-alpha/copyloopvar v1.2.2 h1:yfNQvP9YaGQR7VaWLYcfZUlRP2eo2vhExWKxD/fP6q0= +github.com/karamaru-alpha/copyloopvar v1.2.2/go.mod h1:oY4rGZqZ879JkJMtX3RRkcXRkmUvH0x35ykgaKgsgJY= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.8.0 h1:ZX/URYa7ilESY19ik/vBmCn6zdGQLxACwjAcWbHlYlg= -github.com/kisielk/errcheck v1.8.0/go.mod h1:1kLL+jV4e+CFfueBmI1dSK2ADDyQnlrnrY/FqKluHJQ= +github.com/kisielk/errcheck v1.30.0 h1:ZIxNDAfAd4larXHTceoZP/dYPAB90dHg1OYhA2sVh5k= +github.com/kisielk/errcheck v1.30.0/go.mod h1:uiCAInmFuyOje4VDdbQSP9mgqf5gORYSXrDf19XilsI= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kkHAIKE/contextcheck v1.1.5 h1:CdnJh63tcDe53vG+RebdpdXJTc9atMgGqdx8LXxiilg= -github.com/kkHAIKE/contextcheck v1.1.5/go.mod h1:O930cpht4xb1YQpK+1+AgoM3mFsvxr7uyFptcnWTYUA= +github.com/kkHAIKE/contextcheck v1.1.6 h1:7HIyRcnyzxL9Lz06NGhiKvenXq7Zw6Q0UQu/ttjfJCE= +github.com/kkHAIKE/contextcheck v1.1.6/go.mod h1:3dDbMRNBFaq8HFXWC1JyvDSPm43CmE6IuHam8Wr0rkg= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= @@ -379,49 +428,54 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs= -github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I= -github.com/kunwardeep/paralleltest v1.0.10 h1:wrodoaKYzS2mdNVnc4/w31YaXFtsc21PCTdvWJ/lDDs= -github.com/kunwardeep/paralleltest v1.0.10/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= -github.com/lasiar/canonicalheader v1.1.2 h1:vZ5uqwvDbyJCnMhmFYimgMZnJMjwljN5VGY0VKbMXb4= -github.com/lasiar/canonicalheader v1.1.2/go.mod h1:qJCeLFS0G/QlLQ506T+Fk/fWMa2VmBUiEI2cuMK4djI= -github.com/ldez/exptostd v0.4.1 h1:DIollgQ3LWZMp3HJbSXsdE2giJxMfjyHj3eX4oiD6JU= -github.com/ldez/exptostd v0.4.1/go.mod h1:iZBRYaUmcW5jwCR3KROEZ1KivQQp6PHXbDPk9hqJKCQ= -github.com/ldez/gomoddirectives v0.6.1 h1:Z+PxGAY+217f/bSGjNZr/b2KTXcyYLgiWI6geMBN2Qc= -github.com/ldez/gomoddirectives v0.6.1/go.mod h1:cVBiu3AHR9V31em9u2kwfMKD43ayN5/XDgr+cdaFaKs= -github.com/ldez/grignotin v0.9.0 h1:MgOEmjZIVNn6p5wPaGp/0OKWyvq42KnzAt/DAb8O4Ow= -github.com/ldez/grignotin v0.9.0/go.mod h1:uaVTr0SoZ1KBii33c47O1M8Jp3OP3YDwhZCmzT9GHEk= -github.com/ldez/tagliatelle v0.7.1 h1:bTgKjjc2sQcsgPiT902+aadvMjCeMHrY7ly2XKFORIk= -github.com/ldez/tagliatelle v0.7.1/go.mod h1:3zjxUpsNB2aEZScWiZTHrAXOl1x25t3cRmzfK1mlo2I= -github.com/ldez/usetesting v0.4.2 h1:J2WwbrFGk3wx4cZwSMiCQQ00kjGR0+tuuyW0Lqm4lwA= -github.com/ldez/usetesting v0.4.2/go.mod h1:eEs46T3PpQ+9RgN9VjpY6qWdiw2/QmfiDeWmdZdrjIQ= +github.com/kulti/thelper v0.7.1 h1:fI8QITAoFVLx+y+vSyuLBP+rcVIB8jKooNSCT2EiI98= +github.com/kulti/thelper v0.7.1/go.mod h1:NsMjfQEy6sd+9Kfw8kCP61W1I0nerGSYSFnGaxQkcbs= +github.com/kunwardeep/paralleltest v1.0.16 h1:I0gQkLNgfigjpxWAGhx7PYj3VpswzfGrSV/715t6g+o= +github.com/kunwardeep/paralleltest v1.0.16/go.mod h1:di4moFqtfz3ToSKxhNjhOZL+696QtJGCFe132CbBLGk= +github.com/ldez/exptostd v0.4.5 h1:kv2ZGUVI6VwRfp/+bcQ6Nbx0ghFWcGIKInkG/oFn1aQ= +github.com/ldez/exptostd v0.4.5/go.mod h1:QRjHRMXJrCTIm9WxVNH6VW7oN7KrGSht69bIRwvdFsM= +github.com/ldez/gomoddirectives v0.10.0 h1:Zb23rfMMkG21B6pZ9OfESzemByP5Qr7YvWcXQZE/S3Q= +github.com/ldez/gomoddirectives v0.10.0/go.mod h1:W9uh0721Vc7aaVoiMXTpKIveLmtHC9uaOSiHM4OK5a8= +github.com/ldez/grignotin v0.10.1 h1:keYi9rYsgbvqAZGI1liek5c+jv9UUjbvdj3Tbn5fn4o= +github.com/ldez/grignotin v0.10.1/go.mod h1:UlDbXFCARrXbWGNGP3S5vsysNXAPhnSuBufpTEbwOas= +github.com/ldez/structtags v0.6.1 h1:bUooFLbXx41tW8SvkfwfFkkjPYvFFs59AAMgVg6DUBk= +github.com/ldez/structtags v0.6.1/go.mod h1:YDxVSgDy/MON6ariaxLF2X09bh19qL7MtGBN5MrvbdY= +github.com/ldez/tagliatelle v0.8.0 h1:QczqVPa22JdT40p3m5JTTVmPMv5wDORqdomJn6/Pnn0= +github.com/ldez/tagliatelle v0.8.0/go.mod h1:K9n83Wv0wyVq3JYF9WI28BX8xXhDBVP3thHJ0ENuiEs= +github.com/ldez/usetesting v0.5.0 h1:3/QtzZObBKLy1F4F8jLuKJiKBjjVFi1IavpoWbmqLwc= +github.com/ldez/usetesting v0.5.0/go.mod h1:Spnb4Qppf8JTuRgblLrEWb7IE6rDmUpGvxY3iRrzvDQ= github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84YrjT3mIY= github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA= -github.com/macabu/inamedparam v0.1.3 h1:2tk/phHkMlEL/1GNe/Yf6kkR/hkcUdAEY3L0hjYV1Mk= -github.com/macabu/inamedparam v0.1.3/go.mod h1:93FLICAIk/quk7eaPPQvbzihUdn/QkGDwIZEoLtpH6I= +github.com/lucasb-eyer/go-colorful v1.4.1 h1:1EO+WB73+EH8EVbzlrG3KLAfEypQWVHIBqlTf+2hNss= +github.com/lucasb-eyer/go-colorful v1.4.1/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= +github.com/macabu/inamedparam v0.2.0 h1:VyPYpOc10nkhI2qeNUdh3Zket4fcZjEWe35poddBCpE= +github.com/macabu/inamedparam v0.2.0/go.mod h1:+Pee9/YfGe5LJ62pYXqB89lJ+0k5bsR8Wgz/C0Zlq3U= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/maratori/testableexamples v1.0.0 h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI= -github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE= -github.com/maratori/testpackage v1.1.1 h1:S58XVV5AD7HADMmD0fNnziNHqKvSdDuEKdPD1rNTU04= -github.com/maratori/testpackage v1.1.1/go.mod h1:s4gRK/ym6AMrqpOa/kEbQTV4Q4jb7WeLZzVhVVVOQMc= +github.com/manuelarte/embeddedstructfieldcheck v0.4.0 h1:3mAIyaGRtjK6EO9E73JlXLtiy7ha80b2ZVGyacxgfww= +github.com/manuelarte/embeddedstructfieldcheck v0.4.0/go.mod h1:z8dFSyXqp+fC6NLDSljRJeNQJJDWnY7RoWFzV3PC6UM= +github.com/manuelarte/funcorder v0.6.0 h1:0hBngc4fa1IgNiI65A7sFGkMvoMCc878RjqB5V7rWP0= +github.com/manuelarte/funcorder v0.6.0/go.mod h1:id3NDhXdQBmeqXH7eVC6Z89xS6JxvZ8kF9xUxpArU/g= +github.com/maratori/testableexamples v1.0.1 h1:HfOQXs+XgfeRBJ+Wz0XfH+FHnoY9TVqL6Fcevpzy4q8= +github.com/maratori/testableexamples v1.0.1/go.mod h1:XE2F/nQs7B9N08JgyRmdGjYVGqxWwClLPCGSQhXQSrQ= +github.com/maratori/testpackage v1.1.2 h1:ffDSh+AgqluCLMXhM19f/cpvQAKygKAJXFl9aUjmbqs= +github.com/maratori/testpackage v1.1.2/go.mod h1:8F24GdVDFW5Ew43Et02jamrVMNXLUNaOynhDssITGfc= github.com/matoous/godox v1.1.0 h1:W5mqwbyWrwZv6OQ5Z1a/DHGMOvXYCBP3+Ht7KMoJhq4= github.com/matoous/godox v1.1.0/go.mod h1:jgE/3fUXiTurkdHOLT5WEkThTSuE7yxHv5iWPa80afs= github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= -github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= -github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= -github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= -github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-colorable v0.1.16 h1:+2YjeAe7xP1OQbZW1jERPWWCDLlNqFNCvjiqGiAt84A= +github.com/mattn/go-colorable v0.1.16/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= +github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw4= +github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4= +github.com/mattn/go-runewidth v0.0.24 h1:cpokDiIn0MGnhdHwuWnJBITySJ20QyNGnY2kR/ay2DU= +github.com/mattn/go-runewidth v0.0.24/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mgechev/revive v1.6.1 h1:ncK0ZCMWtb8GXwVAmk+IeWF2ULIDsvRxSRfg5sTwQ2w= -github.com/mgechev/revive v1.6.1/go.mod h1:/2tfHWVO8UQi/hqJsIYNEKELi+DJy/e+PQpLgTB1v88= +github.com/mgechev/revive v1.17.1 h1:z8hV0L3uJ6yrwOMnJbkc5qBJpxXa2AxYKFKERGJyA4s= +github.com/mgechev/revive v1.17.1/go.mod h1:FRd64pJwWSEE6j8ESoaX0PixPzjh2rpNSfckbEu3rIE= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= @@ -435,23 +489,23 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKHTI= github.com/moricho/tparallel v0.3.2/go.mod h1:OQ+K3b4Ln3l2TZveGCywybl68glfLEwFGqvnjok8b+U= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U= github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE= -github.com/nishanths/exhaustive v0.12.0 h1:vIY9sALmw6T/yxiASewa4TQcFsVYZQQRUQJhKRf3Swg= -github.com/nishanths/exhaustive v0.12.0/go.mod h1:mEZ95wPIZW+x8kC4TgC+9YCUgiST7ecevsVDTgc2obs= -github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= -github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= -github.com/nunnatsa/ginkgolinter v0.19.0 h1:CnHRFAeBS3LdLI9h+Jidbcc5KH71GKOmaBZQk8Srnto= -github.com/nunnatsa/ginkgolinter v0.19.0/go.mod h1:jkQ3naZDmxaZMXPWaS9rblH+i+GWXQCaS/JFIWcOH2s= +github.com/nishanths/exhaustive v0.15.0 h1:uFjiO/WvrwQG+ojSZ+vtl/jAFbqA2oAtfpUWK/iKQ8M= +github.com/nishanths/exhaustive v0.15.0/go.mod h1:2by9rYmg9FnsnLQC4Ixig4fQaWxRsY7RluxJuAu9sa0= +github.com/nishanths/predeclared v0.3.0 h1:W3i3JK/DZS5h7QwsEIyU8ler4Z2vwEwQSxNrZzhnlfk= +github.com/nishanths/predeclared v0.3.0/go.mod h1:gN4uryPExDME/zmZdqkKIPSAqcfprj316ZDI6UTqz70= +github.com/nunnatsa/ginkgolinter v0.24.0 h1:Mp0EagluLFP98JatP6nqp/gGEoljNG97uf9AcxcBVy8= +github.com/nunnatsa/ginkgolinter v0.24.0/go.mod h1:2ZMRuzX6+3XXyY6UZOwb6n+MCocVGbkIsDBC4vuWz5c= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo/v2 v2.22.2 h1:/3X8Panh8/WwhU/3Ssa6rCKqPLuAkVY2I0RoyDLySlU= -github.com/onsi/ginkgo/v2 v2.22.2/go.mod h1:oeMosUL+8LtarXBHu/c0bx2D/K9zyQ6uX3cTyztHwsk= -github.com/onsi/gomega v1.36.2 h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8= -github.com/onsi/gomega v1.36.2/go.mod h1:DdwyADRjrc825LhMEkD76cHR5+pUnjhUN8GlHlRPHzY= +github.com/onsi/ginkgo/v2 v2.32.1 h1:6tlvcDm/3sE8lGJbZ4+d4mO3RLy24/tQWOFzVSQNIfw= +github.com/onsi/ginkgo/v2 v2.32.1/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= +github.com/onsi/gomega v1.42.1 h1:iN1rCUX+44NZ1Dc97MPoeFYbFR0vh8zxoxMFwKdyZ6I= +github.com/onsi/gomega v1.42.1/go.mod h1:REff/hsDsodHoKlWsP2mAPhu1+5/6hVYNf9rIEBpeSg= github.com/ory/go-acc v0.2.6 h1:YfI+L9dxI7QCtWn2RbawqO0vXhiThdXu/RgizJBbaq0= github.com/ory/go-acc v0.2.6/go.mod h1:4Kb/UnPcT8qRAk3IAxta+hvVapdxTLWtrr7bFLlEgpw= github.com/ory/viper v1.7.5 h1:+xVdq7SU3e1vNaCsk/ixsfxE4zylk1TJUiJrY647jUE= @@ -469,18 +523,12 @@ github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/9 github.com/pelletier/go-toml v1.8.0/go.mod h1:D6yutnOGMveHEPV7VQOuvI/gXY61bv+9bAOTRnLElKs= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= -github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.4.3 h1:GTRvJQutkOSftxIFD5xw9aepkYNuPWmVJpffdDPYVpY= +github.com/pelletier/go-toml/v2 v2.4.3/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/polyfloyd/go-errorlint v1.7.1 h1:RyLVXIbosq1gBdk/pChWA8zWYLsq9UEw7a1L5TVMCnA= -github.com/polyfloyd/go-errorlint v1.7.1/go.mod h1:aXjNb1x2TNhoLsk26iv1yl7a+zTnXPhwEMtEXukiLR8= -github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= -github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= @@ -508,123 +556,115 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/quasilyte/go-ruleguard v0.4.3-0.20240823090925-0fe6f58b47b1 h1:+Wl/0aFp0hpuHM3H//KMft64WQ1yX9LdJY64Qm/gFCo= -github.com/quasilyte/go-ruleguard v0.4.3-0.20240823090925-0fe6f58b47b1/go.mod h1:GJLgqsLeo4qgavUoL8JeGFNS7qcisx3awV/w9eWTmNI= -github.com/quasilyte/go-ruleguard/dsl v0.3.22 h1:wd8zkOhSNr+I+8Qeciml08ivDt1pSXe60+5DqOpCjPE= -github.com/quasilyte/go-ruleguard/dsl v0.3.22/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= +github.com/quasilyte/go-ruleguard v0.4.5 h1:AGY0tiOT5hJX9BTdx/xBdoCubQUAE2grkqY2lSwvZcA= +github.com/quasilyte/go-ruleguard v0.4.5/go.mod h1:Vl05zJ538vcEEwu16V/Hdu7IYZWyKSwIy4c88Ro1kRE= +github.com/quasilyte/go-ruleguard/dsl v0.3.23 h1:lxjt5B6ZCiBeeNO8/oQsegE6fLeCzuMRoVWSkXC4uvY= +github.com/quasilyte/go-ruleguard/dsl v0.3.23/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= github.com/quasilyte/gogrep v0.5.0 h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOAo= github.com/quasilyte/gogrep v0.5.0/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng= github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl980XxGFEZSS6KlBGIV0diGdySzxATTWoqaU= github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs= github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= -github.com/raeperd/recvcheck v0.2.0 h1:GnU+NsbiCqdC2XX5+vMZzP+jAJC5fht7rcVTAhX74UI= -github.com/raeperd/recvcheck v0.2.0/go.mod h1:n04eYkwIR0JbgD73wT8wL4JjPC3wm0nFtzBnWNocnYU= +github.com/raeperd/recvcheck v0.3.1 h1:p7nZMxiCWkdUtY2i3o+pv1h4fJCR5gpvqAXr9326hEY= +github.com/raeperd/recvcheck v0.3.1/go.mod h1:CbE7iRocQ4uc71JwpW/CPSh4BShnkre4A9Gb508RypU= github.com/rinchsan/gosimports v0.1.5 h1:Z/l9lS79z0xgKC6fLJYmDdY44D0LFwo3MzaMtWvMKpY= github.com/rinchsan/gosimports v0.1.5/go.mod h1:102/jU2cwf9fpa/YM9D9o4gSen2Vg8Jl80Sxctgd9N0= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= -github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= +github.com/rogpeppe/go-internal v1.16.0 h1:O9DK+vNMDVGLr2BeZqmpLeMjiMNkuXfcqntWbZV6S5g= +github.com/rogpeppe/go-internal v1.16.0/go.mod h1:DrUVZyrJU+txYW5/1kwtXQSMFio52ZOxX7yM1VHvnxs= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryancurrah/gomodguard v1.3.5 h1:cShyguSwUEeC0jS7ylOiG/idnd1TpJ1LfHGpV3oJmPU= -github.com/ryancurrah/gomodguard v1.3.5/go.mod h1:MXlEPQRxgfPQa62O8wzK3Ozbkv9Rkqr+wKjSxTdsNJE= -github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU= -github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ= +github.com/ryancurrah/gomodguard v1.4.1 h1:eWC8eUMNZ/wM/PWuZBv7JxxqT5fiIKSIyTvjb7Elr+g= +github.com/ryancurrah/gomodguard v1.4.1/go.mod h1:qnMJwV1hX9m+YJseXEBhd2s90+1Xn6x9dLz11ualI1I= +github.com/ryancurrah/gomodguard/v2 v2.1.3 h1:E7sz3PJwE9Ba1reVxSpF6XLCPJZ74Kfw/LabTNM4GIA= +github.com/ryancurrah/gomodguard/v2 v2.1.3/go.mod h1:CQicdLGatWMxLX53JzoBjYlsNZhHbmLv2AVa0s2aivU= +github.com/ryanrolds/sqlclosecheck v0.6.0 h1:pEyL9okISdg1F1SEpJNlrEotkTGerv5BMk7U4AG0eVg= +github.com/ryanrolds/sqlclosecheck v0.6.0/go.mod h1:xyX16hsDaCMXHrMJ3JMzGf5OpDfHTOTTQrT7HOFUmeU= github.com/sanposhiho/wastedassign/v2 v2.1.0 h1:crurBF7fJKIORrV85u9UUpePDYGWnwvv3+A96WvwXT0= github.com/sanposhiho/wastedassign/v2 v2.1.0/go.mod h1:+oSmSC+9bQ+VUAxA66nBb0Z7N8CK7mscKTDYC6aIek4= -github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 h1:PKK9DyHxif4LZo+uQSgXNqs0jj5+xZwwfKHgph2lxBw= -github.com/santhosh-tekuri/jsonschema/v6 v6.0.1/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU= +github.com/santhosh-tekuri/jsonschema/v6 v6.0.3 h1:1EYB5IzjZawrrnELUi78f9fPu57HuXjmddZPjrls/28= +github.com/santhosh-tekuri/jsonschema/v6 v6.0.3/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU= github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw= github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= -github.com/sashamelentyev/usestdlibvars v1.28.0 h1:jZnudE2zKCtYlGzLVreNp5pmCdOxXUzwsMDBkR21cyQ= -github.com/sashamelentyev/usestdlibvars v1.28.0/go.mod h1:9nl0jgOfHKWNFS43Ojw0i7aRoS4j6EBye3YBhmAIRF8= -github.com/securego/gosec/v2 v2.22.1 h1:IcBt3TpI5Y9VN1YlwjSpM2cHu0i3Iw52QM+PQeg7jN8= -github.com/securego/gosec/v2 v2.22.1/go.mod h1:4bb95X4Jz7VSEPdVjC0hD7C/yR6kdeUBvCPOy9gDQ0g= -github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= -github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= +github.com/sashamelentyev/usestdlibvars v1.29.0 h1:8J0MoRrw4/NAXtjQqTHrbW9NN+3iMf7Knkq057v4XOQ= +github.com/sashamelentyev/usestdlibvars v1.29.0/go.mod h1:8PpnjHMk5VdeWlVb4wCdrB8PNbLqZ3wBZTZWkrpZZL8= +github.com/securego/gosec/v2 v2.29.0 h1:pF2HSLcnY5voqpxQumEe0O5YAAbvF4Syu4qeIewpLyc= +github.com/securego/gosec/v2 v2.29.0/go.mod h1:47C7ej+L2bC1NOxteU2aCGnCi4cZaoKzRt5y9plIvuY= +github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= +github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= -github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo= +github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q= github.com/sivchari/containedctx v1.0.3 h1:x+etemjbsh2fB5ewm5FeLNi5bUjK0V8n0RB+Wwfd0XE= github.com/sivchari/containedctx v1.0.3/go.mod h1:c1RDvCbnJLtH4lLcYD/GqwiBSSf4F5Qk0xld2rBqzJ4= -github.com/sivchari/tenv v1.12.1 h1:+E0QzjktdnExv/wwsnnyk4oqZBUfuh89YMQT1cyuvSY= -github.com/sivchari/tenv v1.12.1/go.mod h1:1LjSOUCc25snIr5n3DtGGrENhX3LuWefcplwVGC24mw= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sonatard/noctx v0.1.0 h1:JjqOc2WN16ISWAjAk8M5ej0RfExEXtkEyExl2hLW+OM= -github.com/sonatard/noctx v0.1.0/go.mod h1:0RvBxqY8D4j9cTTTWE8ylt2vqj2EPI8fHmrxHdsaZ2c= -github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0= -github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= +github.com/sonatard/noctx v0.5.1 h1:wklWg9c9ZYugOAk7qG4yP4PBrlQsmSLPTvW1K4PRQMs= +github.com/sonatard/noctx v0.5.1/go.mod h1:64XdbzFb18XL4LporKXp8poqZtPKbCrqQ402CV+kJas= +github.com/sourcegraph/go-diff v0.9.0 h1:7xcVsayWHhvxZGrqt1o89vvBApCa4nyCgO7tNxDHJ+Q= +github.com/sourcegraph/go-diff v0.9.0/go.mod h1:hWlcO7Al+UZStZAP8rBumHpCK5ZHQ5BXsMls8p4+F5E= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.12.0 h1:UcOPyRBYczmFn6yvphxkn9ZEOY65cpwGKb5mL36mrqs= -github.com/spf13/afero v1.12.0/go.mod h1:ZTlWwG4/ahT8W7T0WQ5uYmjI9duaLQGy3Q2OAl4sk/4= +github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I= +github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= -github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= +github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= +github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= -github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= +github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= -github.com/stbenjam/no-sprintf-host-port v0.2.0 h1:i8pxvGrt1+4G0czLr/WnmyH7zbZ8Bg8etvARQ1rpyl4= -github.com/stbenjam/no-sprintf-host-port v0.2.0/go.mod h1:eL0bQ9PasS0hsyTyfTjjG+E80QIyPnBVQbYZyv20Jfk= +github.com/stbenjam/no-sprintf-host-port v0.3.1 h1:AyX7+dxI4IdLBPtDbsGAyqiTSLpCP9hWRrXQDU4Cm/g= +github.com/stbenjam/no-sprintf-host-port v0.3.1/go.mod h1:ODbZesTCHMVKthBHskvUUexdcNHAQRXk9NpSsL8p/HQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= +github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4= +github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= -github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= +github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= -github.com/tdakkota/asciicheck v0.4.0 h1:VZ13Itw4k1i7d+dpDSNS8Op645XgGHpkCEh/WHicgWw= -github.com/tdakkota/asciicheck v0.4.0/go.mod h1:0k7M3rCfRXb0Z6bwgvkEIMleKH3kXNz9UqJ9Xuqopr8= github.com/tenntenn/modver v1.0.1 h1:2klLppGhDgzJrScMpkj9Ujy3rXPUspSjAcev9tSEBgA= github.com/tenntenn/modver v1.0.1/go.mod h1:bePIyQPb7UeioSRkw3Q0XeMhYZSMx9B8ePqg6SAMGH0= github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpRQGxTSkNYKJ51yaw6ChIqO+Je8UqsTKN/cDag= github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= -github.com/tetafro/godot v1.4.20 h1:z/p8Ek55UdNvzt4TFn2zx2KscpW4rWqcnUrdmvWJj7E= -github.com/tetafro/godot v1.4.20/go.mod h1:2oVxTBSftRTh4+MVfUaUXR6bn2GDXCaMcOG4Dk3rfio= -github.com/timakin/bodyclose v0.0.0-20241017074812-ed6a65f985e3 h1:y4mJRFlM6fUyPhoXuFg/Yu02fg/nIPFMOY8tOqppoFg= -github.com/timakin/bodyclose v0.0.0-20241017074812-ed6a65f985e3/go.mod h1:mkjARE7Yr8qU23YcGMSALbIxTQ9r9QBVahQOBRfU460= -github.com/timonwong/loggercheck v0.10.1 h1:uVZYClxQFpw55eh+PIoqM7uAOHMrhVcDoWDery9R8Lg= -github.com/timonwong/loggercheck v0.10.1/go.mod h1:HEAWU8djynujaAVX7QI65Myb8qgfcZ1uKbdpg3ZzKl8= +github.com/tetafro/godot v1.5.6 h1:IEkrFCwXaYHlOn4mGzGS3F3dkP6m9t0jpwqBFPIkKiA= +github.com/tetafro/godot v1.5.6/go.mod h1:eOkMrVQurDui411nBY2FA05EYH01r14LuWY/NrVDVcU= +github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c h1:d/FUP8GD4QiY/rdFzZmBu3KqL9eBNVzMu7W/5pGkaMM= +github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c/go.mod h1:sDHLK7rb/59v/ZxZ7KtymgcoxuUMxjXq8gtu9VMOK8M= +github.com/timonwong/loggercheck v0.13.0 h1:6amIOmLLPFYt24rXUbNWzcJeNGuJc+3c31tZtO85VHs= +github.com/timonwong/loggercheck v0.13.0/go.mod h1:thn3allpox0fI5JeUWTCwiwp45peQxCZZHkHuA1Oc6I= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tomarrell/wrapcheck/v2 v2.10.0 h1:SzRCryzy4IrAH7bVGG4cK40tNUhmVmMDuJujy4XwYDg= -github.com/tomarrell/wrapcheck/v2 v2.10.0/go.mod h1:g9vNIyhb5/9TQgumxQyOEqDHsmGYcGsVMOx/xGkqdMo= +github.com/tomarrell/wrapcheck/v2 v2.13.0 h1:jYbLNs8PDkzGCY6d5LUzJdY7Bq//CTlb2HxZGV5z0JY= +github.com/tomarrell/wrapcheck/v2 v2.13.0/go.mod h1:AQhQuZd0p7b6rfW+vUwHm5OMCGgp63moQ9Qr/0BpIWo= github.com/tommy-muehle/go-mnd/v2 v2.5.1 h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw= github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= @@ -632,13 +672,15 @@ github.com/ultraware/funlen v0.2.0 h1:gCHmCn+d2/1SemTdYMiKLAHFYxTYz7z9VIDRaTGyLk github.com/ultraware/funlen v0.2.0/go.mod h1:ZE0q4TsJ8T1SQcjmkhN/w+MceuatI6pBFSxxyteHIJA= github.com/ultraware/whitespace v0.2.0 h1:TYowo2m9Nfj1baEQBjuHzvMRbp19i+RCcRYrSWoFa+g= github.com/ultraware/whitespace v0.2.0/go.mod h1:XcP1RLD81eV4BW8UhQlpaR+SDc2givTvyI8a586WjW8= -github.com/uudashr/gocognit v1.2.0 h1:3BU9aMr1xbhPlvJLSydKwdLN3tEUUrzPSSM8S4hDYRA= -github.com/uudashr/gocognit v1.2.0/go.mod h1:k/DdKPI6XBZO1q7HgoV2juESI2/Ofj9AcHPZhBBdrTU= -github.com/uudashr/iface v1.3.1 h1:bA51vmVx1UIhiIsQFSNq6GZ6VPTk3WNMZgRiCe9R29U= -github.com/uudashr/iface v1.3.1/go.mod h1:4QvspiRd3JLPAEXBQ9AiZpLbJlrWWgRChOKDJEuQTdg= -github.com/xen0n/gosmopolitan v1.2.2 h1:/p2KTnMzwRexIW8GlKawsTWOxn7UHA+jCMF/V8HHtvU= -github.com/xen0n/gosmopolitan v1.2.2/go.mod h1:7XX7Mj61uLYrj0qmeN0zi7XDon9JRAEhYQqAPLVNTeg= +github.com/uudashr/gocognit v1.3.0 h1:Xdw5JwAoYmX3WAB+wsXY3nxEwdw7+MWAnM0wCAAv7A4= +github.com/uudashr/gocognit v1.3.0/go.mod h1:acaubQc6xYlXFEMb9nWX2dYBzJ/bIjEkc1zzvyIZg5Q= +github.com/uudashr/iface v1.5.3 h1:N61bzr11L7BHP6Rct+C6zQePHjSTMeyVBq+s03uB/Ds= +github.com/uudashr/iface v1.5.3/go.mod h1:5UWoT6SvTdTww/KToRj6clO+n4Kg3/NrAQvgOB+5Ggw= +github.com/xen0n/gosmopolitan v1.3.0 h1:zAZI1zefvo7gcpbCOrPSHJZJYA9ZgLfJqtKzZ5pHqQM= +github.com/xen0n/gosmopolitan v1.3.0/go.mod h1:rckfr5T6o4lBtM1ga7mLGKZmLxswUoH1zxHgNXOsEt4= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xo/terminfo v1.0.0 h1:2ZpYzqWzyyytjk3TP6aJVDhkMAkc99/1xKQdA3TDTBY= +github.com/xo/terminfo v1.0.0/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM= github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk= @@ -650,17 +692,20 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/bosi/decorder v0.4.2 h1:qbQaV3zgwnBZ4zPMhGLW4KZe7A7NwxEhJx39R3shffo= gitlab.com/bosi/decorder v0.4.2/go.mod h1:muuhHoaJkA9QLcYHq4Mj8FJUwDZ+EirSHRiaTcTf6T8= go-simpler.org/assert v0.9.0 h1:PfpmcSvL7yAnWyChSjOz6Sp6m9j5lyK8Ok9pEL31YkQ= go-simpler.org/assert v0.9.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28= -go-simpler.org/musttag v0.13.0 h1:Q/YAW0AHvaoaIbsPj3bvEI5/QFP7w696IMUpnKXQfCE= -go-simpler.org/musttag v0.13.0/go.mod h1:FTzIGeK6OkKlUDVpj0iQUXZLUO1Js9+mvykDQy9C5yM= -go-simpler.org/sloglint v0.9.0 h1:/40NQtjRx9txvsB/RN022KsUJU+zaaSb/9q9BSefSrE= -go-simpler.org/sloglint v0.9.0/go.mod h1:G/OrAF6uxj48sHahCzrbarVMptL2kjWTaUeC8+fOGww= +go-simpler.org/musttag v0.14.0 h1:XGySZATqQYSEV3/YTy+iX+aofbZZllJaqwFWs+RTtSo= +go-simpler.org/musttag v0.14.0/go.mod h1:uP8EymctQjJ4Z1kUnjX0u2l60WfUdQxCwSNKzE1JEOE= +go-simpler.org/sloglint v0.12.0 h1:UzWDlLWNE5FLqsvyq3tWYHuQMbqrervOhT8qPl4Mmw4= +go-simpler.org/sloglint v0.12.0/go.mod h1:jBjjC2bm8rYrs88oTRlFX497kWjJsyZWYoNaXkGRI6I= +go.augendre.info/arangolint v0.4.0 h1:xSCZjRoS93nXazBSg5d0OGCi9APPLNMmmLrC995tR50= +go.augendre.info/arangolint v0.4.0/go.mod h1:l+f/b4plABuFISuKnTGD4RioXiCCgghv2xqst/xOvAA= +go.augendre.info/fatcontext v0.10.1 h1:HCS/+eob32cM0mEtmZM6NiXdqvS5KiZmsR+fCubTpbc= +go.augendre.info/fatcontext v0.10.1/go.mod h1:pqpGvA9GlrXy+aXkp8L2dKz12Zp4g2FhzcAtwToU+2w= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= @@ -668,18 +713,17 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs= -go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8= -go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= +go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= +go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= +go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= +go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -688,8 +732,6 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -700,12 +742,12 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk= -golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= +golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/yqS/lQJ6PmkyIV3YP+o= +golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8= golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac h1:TSSpLIG4v+p0rPv1pNOQtl1I8knsO4S9trOxNMOLVP4= -golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f h1:+lI8cDJ4uceLipg2f1ODay7fEuLkk0BIHXd6PB8icxo= +golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -727,17 +769,12 @@ golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM= -golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -770,18 +807,12 @@ golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8= -golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -801,10 +832,8 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= -golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -843,35 +872,21 @@ golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= -golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -879,13 +894,9 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= -golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= +golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= +golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -923,7 +934,6 @@ golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= @@ -933,23 +943,19 @@ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.1-0.20210205202024-ef80cdb6ec6d/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= golang.org/x/tools v0.1.1-0.20210302220138-2ac05c832e1a/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= -golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY= -golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY= +golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs= +golang.org/x/tools v0.52.0/go.mod h1:ItcP5UNaVGG+Yc4eIYmaFLNJ4soEopkx5Y2d4lcEurs= +golang.org/x/tools/go/expect v0.1.1-deprecated h1:jpBZDwmgPhXsKZC6WhL20P4b/wmnpsEAGHaNy0n/rJM= +golang.org/x/tools/go/expect v0.1.1-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= +golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated h1:1h2MnaIAIXISqTFKdENegdpAgUXz6NrPEsbIeWaBRvM= +golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated/go.mod h1:RVAQXBGNv1ib0J382/DPCRS/BPnsGebyM1Gj5VSDpG8= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1030,14 +1036,13 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.4 h1:6A3ZDJHn/eNqc1i+IdefRzy/9PokBTPvcqMySR7NNIM= -google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= +google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= @@ -1053,7 +1058,6 @@ gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1063,12 +1067,12 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.6.0 h1:TAODvD3knlq75WCp2nyGJtT4LeRV/o7NN9nYPeVJXf8= -honnef.co/go/tools v0.6.0/go.mod h1:3puzxxljPCe8RGJX7BIy1plGbxEOZni5mR2aXe3/uk4= -mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU= -mvdan.cc/gofumpt v0.7.0/go.mod h1:txVFJy/Sc/mvaycET54pV8SW8gWxTlUuGHVEcncmNUo= -mvdan.cc/unparam v0.0.0-20240528143540-8a5130ca722f h1:lMpcwN6GxNbWtbpI1+xzFLSW8XzX0u72NttUGVFjO3U= -mvdan.cc/unparam v0.0.0-20240528143540-8a5130ca722f/go.mod h1:RSLa7mKKCNeTTMHBw5Hsy2rfJmd6O2ivt9Dw9ZqCQpQ= +honnef.co/go/tools v0.8.2 h1:+jPbCzuYxYrcoOvCecYUFDj+XJQRmzIhJmlbpps21Zk= +honnef.co/go/tools v0.8.2/go.mod h1:xG1Q4n+mg3bKZrO6RWFA9jFlkqplflmDRHGeuexiLDs= +mvdan.cc/gofumpt v0.12.0 h1:1Lbudkz2kpM9Cjz2pL4M19u7q+GaEhCTNf7N9mfpcho= +mvdan.cc/gofumpt v0.12.0/go.mod h1:SmBHHrljiZu/uoypeKup3rFzP6eoC9UwCp2iH5E3jZA= +mvdan.cc/unparam v0.0.0-20260823230713-2fa3d841b0c8 h1:Re1NRyLpiAt9kB+ImaaoapwWiQXrKwER4tY8fLOkDew= +mvdan.cc/unparam v0.0.0-20260823230713-2fa3d841b0c8/go.mod h1:MrS/+zJ1M2xvGXhKktiHbNQeQPyg3Qel+KkzT+f7/i4= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/tools/tools.go b/tools/tools.go index 52d35e341..db84bb768 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -4,7 +4,7 @@ package pool import ( - _ "github.com/golangci/golangci-lint/cmd/golangci-lint" + _ "github.com/golangci/golangci-lint/v2/cmd/golangci-lint" _ "github.com/ory/go-acc" _ "github.com/rinchsan/gosimports/cmd/gosimports" )