Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup rdugan fork #90

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
515ad17
Added IceRiver client for merged header hash
rdugan Jun 25, 2023
84096a5
Added option for docker to compose/build proxy from source
rdugan Jun 26, 2023
c3efc78
Updated readme for docker compose from source alternative
rdugan Jun 26, 2023
b9cf2fb
Updated readme with more recent dashboard link
rdugan Jun 26, 2023
1d7da84
Updated docker compose command to rebuild bridge after updates
rdugan Jun 26, 2023
23d1a35
Reverted accidental grafana changes, cleaned up docs
rdugan Jun 27, 2023
881febc
Updated docs
rdugan Jul 11, 2023
a98a7fe
Updated docs
rdugan Jul 11, 2023
f1543a8
Bumped version
rdugan Jul 11, 2023
d597562
Fixed typo in README
rdugan Jul 14, 2023
49d044a
Vardiff and golang mod version updates
rdugan Jul 18, 2023
8bf58c8
Added back low diff rejection code
rdugan Jul 21, 2023
13c6114
Updated invalid share and network stats panels
rdugan Jul 21, 2023
365dbde
Vardiff param updates, added configurable shares/min
rdugan Jul 30, 2023
7f9ce84
minor README updates
rdugan Jul 30, 2023
6e5b8b4
Stupid hack for busted ass ASICs, job id space expansion
rdugan Aug 30, 2023
4eed304
Fix for confirmed invalid despite recovery
rdugan Aug 30, 2023
569134e
Fixed jobId boundary condition for asic hack, add vardiff rounding
rdugan Aug 31, 2023
88b3961
Stop previous block checking at job 0
rdugan Aug 31, 2023
92d04ae
Clean up logs, no job id 0
rdugan Aug 31, 2023
acc6da0
Add 2^n clamping options for difficulty
rdugan Sep 1, 2023
6038d08
Added CLI invalid tracking
rdugan Sep 7, 2023
5771f19
bumped version
rdugan Sep 7, 2023
ab09829
Updated docker installation instructions in README
rdugan Sep 7, 2023
ded8dc4
Buffered log messages
rdugan Sep 18, 2023
0c8a0ec
hopefully addresses diff 0 issue during intial conn, and Bitmain support
rdugan Oct 6, 2023
d25bbd2
Second attempt at Bitmain fix
rdugan Oct 6, 2023
cbe220a
Third attempt at Bitmain fix
rdugan Oct 6, 2023
5deee5d
fourth attempt at bitmain fix
rdugan Oct 6, 2023
8fa3912
fifth attempt at bitmain fix
rdugan Oct 18, 2023
33ae317
sixth attempt at bitmain fix (no large job header)
rdugan Oct 23, 2023
2cbb0a4
client message logging, better handling of missing worker names
rdugan Dec 1, 2023
348fa3e
added extranonce subsribe handler
rdugan Dec 2, 2023
56af1bf
fixed extranonce nofication for bitmain
rdugan Dec 9, 2023
c909257
remove client message logging
rdugan Dec 9, 2023
3f5f744
Update kaspad dep to v0.12.15
someone235 Dec 18, 2023
f8f0413
Merge pull request #1 from someone235/update-to-kaspad-0-12-15
rdugan Dec 18, 2023
1d6bc83
Merge branch 'bitmain'
rdugan Dec 20, 2023
93fca2c
Bumped version
rdugan Dec 20, 2023
c96aeab
fixed block template notification bug
rdugan Dec 28, 2023
8318537
Update README.md
rdugan Feb 2, 2024
47ab1c9
Update README.md
rdugan Feb 22, 2024
3d6ed90
Update README.md
rdugan Feb 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
208 changes: 168 additions & 40 deletions README.md

Large diffs are not rendered by default.

63 changes: 52 additions & 11 deletions cmd/kaspabridge/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# stratum_listen_port: the port that will be listening for incoming stratum traffic
# stratum_listen_port: the port that will be listening for incoming stratum
# traffic
# Note `:PORT` format is needed if not specifiying a specific ip range
stratum_port: :5555

Expand All @@ -8,16 +9,56 @@ stratum_port: :5555
# kaspad_address: 46.17.104.200:16110
kaspad_address: localhost:16110

# min_share_diff: only accept shares of the specified difficulty (or higher) from
# the miner(s). Higher values will reduce the number of shares submitted, thereby
# reducing network traffic and server load, while lower values will increase the
# number of shares submitted, thereby reducing the amount of time needed for
# accurate hashrate measurements
# min_share_diff: 4
# min_share_diff: only accept shares of the specified difficulty (or higher)
# from the miner(s). Higher values will reduce the number of shares submitted,
# thereby reducing network traffic and server load, while lower values will
# increase the number of shares submitted, thereby reducing the amount of time
# needed for accurate hashrate measurements
#
# If var_diff is enabled, min_share_diff will be the starting difficulty.
#
# Default value is chosen to accomodate current top of the line IceRiver ASICs.
# If you don't want to change the default to match your device(s), the vardiff
# engine will adjust to an appropriate diff for lower hashrate devices within a
# few minutes.
min_share_diff: 4096

# pow2_clamp: restrict difficulty to 2^n (e.g. 64, 128, 256, etc). This is
# required for IceRiver and BitMain ASICs, where difficulties further away from
# powers of 2 cause higher error rates. Using this feature will limit the
# functionality of vardiff, such that the shares_per_min becomes more of a
# minimum, rather than a target we can expect to converge on.
pow2_clamp: false

# var_diff: if true, enables the auto-adjusting variable share diff mechanism.
# Starts with the value defined by the 'min_share_diff' setting, then checks
# every 10s whether each client is maintaining a 20 shares/minute submission
# rate, and sends an updated min diff per client if necessary. Max tolerance
# is +/- 5% after 4hrs.
var_diff: true

# shares_per_min: number of shares per minute the vardiff engine should target.
# Default value is chosen to allow for 99% confidence in measurement accuracy,
# which affects fidelity of difficulty update decisions, as well as hashrate
# stability (measured 1hr avg hashrate should be within +/- 10% of actual, with
# the noted confidence.) Higher values will result in better vardiff engine
# performance and increased hashrate stability. Lower values will cause
# vardiff to behave more erratically, while measured hashrate will display
# larger variations.
#
# Incorrect configuration of this parameter may induce high error rates on
# IceRiver devices, so it is recommended to avoid unnecessary changes.
#
# Example values and their resulting confidence levels:
# 20 => 99%, 15 => 95%, 12 => 90%
shares_per_min: 20

# var_diff_stats: if true, print vardiff engine stats to the log every 10s
var_diff_stats: false

# block_wait_time: time to wait since last new block message from kaspad before
# manually requesting a new block
# block_wait_time: 500ms
# manually requesting a new block. Examples are '500ms', '3s', '1m', etc.
block_wait_time: 3s

# extranonce_size: size in bytes of extranonce, from 0 (no extranonce) to 3.
# With no extranonce (0), all clients will search through the same nonce-space,
Expand All @@ -27,7 +68,7 @@ kaspad_address: localhost:16110
# overall nonce-space (though with 1s block times, this shouldn't really
# be a concern).
# 1 byte = 256 clients, 2 bytes = 65536, 3 bytes = 16777216.
# extranonce_size: 0
extranonce_size: 0

# print_stats: if true will print stats to the console, false just workers
# joining/disconnecting, blocks found, and errors will be printed
Expand All @@ -36,7 +77,7 @@ print_stats: true
# log_to_file: if true logs will be written to a file local to the executable
log_to_file: true

# prom_port: if this is specified prometheus will serve stats on the port provided
# prom_port: if specified, prometheus will serve stats on the port provided
# see readme for summary on how to get prom up and running using docker
# you can get the raw metrics (along with default golang metrics) using
# `curl http://localhost:{prom_port}/metrics`
Expand Down
20 changes: 10 additions & 10 deletions cmd/kaspabridge/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"log"
"os"
"path"
"time"

"github.com/onemorebsmith/kaspastratum/src/kaspastratum"
"gopkg.in/yaml.v2"
Expand All @@ -30,21 +29,18 @@ func main() {
flag.StringVar(&cfg.StratumPort, "stratum", cfg.StratumPort, "stratum port to listen on, default `:5555`")
flag.BoolVar(&cfg.PrintStats, "stats", cfg.PrintStats, "true to show periodic stats to console, default `true`")
flag.StringVar(&cfg.RPCServer, "kaspa", cfg.RPCServer, "address of the kaspad node, default `localhost:16110`")
flag.DurationVar(&cfg.BlockWaitTime, "blockwait", cfg.BlockWaitTime, "time in ms to wait before manually requesting new block, default `500`")
flag.UintVar(&cfg.MinShareDiff, "mindiff", cfg.MinShareDiff, "minimum share difficulty to accept from miner(s), default `4`")
flag.DurationVar(&cfg.BlockWaitTime, "blockwait", cfg.BlockWaitTime, "time in ms to wait before manually requesting new block, default `3s`")
flag.UintVar(&cfg.MinShareDiff, "mindiff", cfg.MinShareDiff, "minimum share difficulty to accept from miner(s), default `4096`")
flag.BoolVar(&cfg.ClampPow2, "pow2clamp", cfg.ClampPow2, "true to limit diff to powers of 2, required for IceRiver/Bitmain ASICs, default `true`")
flag.BoolVar(&cfg.VarDiff, "vardiff", cfg.VarDiff, "true to enable auto-adjusting variable min diff, default `true`")
flag.UintVar(&cfg.SharesPerMin, "sharespermin", cfg.SharesPerMin, "number of shares per minute the vardiff engine should target, default `20`")
flag.BoolVar(&cfg.VarDiffStats, "vardiffstats", cfg.VarDiffStats, "include vardiff stats readout every 10s in log, default `false`")
flag.UintVar(&cfg.ExtranonceSize, "extranonce", cfg.ExtranonceSize, "size in bytes of extranonce, default `0`")
flag.StringVar(&cfg.PromPort, "prom", cfg.PromPort, "address to serve prom stats, default `:2112`")
flag.BoolVar(&cfg.UseLogFile, "log", cfg.UseLogFile, "if true will output errors to log file, default `true`")
flag.StringVar(&cfg.HealthCheckPort, "hcp", cfg.HealthCheckPort, `(rarely used) if defined will expose a health check on /readyz, default ""`)
flag.Parse()

if cfg.MinShareDiff == 0 {
cfg.MinShareDiff = 4
}
if cfg.BlockWaitTime == 0 {
cfg.BlockWaitTime = 5 * time.Second // this should never happen due to kas 1s block times
}

log.Println("----------------------------------")
log.Printf("initializing bridge")
log.Printf("\tkaspad: %s", cfg.RPCServer)
Expand All @@ -53,6 +49,10 @@ func main() {
log.Printf("\tstats: %t", cfg.PrintStats)
log.Printf("\tlog: %t", cfg.UseLogFile)
log.Printf("\tmin diff: %d", cfg.MinShareDiff)
log.Printf("\tpow2 clamp: %t", cfg.ClampPow2)
log.Printf("\tvar diff: %t", cfg.VarDiff)
log.Printf("\tshares per min: %d", cfg.SharesPerMin)
log.Printf("\tvar diff stats: %t", cfg.VarDiffStats)
log.Printf("\tblock wait: %s", cfg.BlockWaitTime)
log.Printf("\textranonce size: %d", cfg.ExtranonceSize)
log.Printf("\thealth check: %s", cfg.HealthCheckPort)
Expand Down
42 changes: 42 additions & 0 deletions docker-compose-all-src.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
volumes:
prometheus_data: {}
services:
ks_bridge:
build:
context: .
no_cache: true
container_name: ks_bridge
restart: unless-stopped
user: "0"
command:
- '-stats=false'
- '-kaspa=host.docker.internal:16110'
ports:
- 5555:5555
- 2114:2114
extra_hosts:
- host.docker.internal:host-gateway
grafana:
image: grafana/grafana-oss:latest
container_name: ks_grafana
restart: unless-stopped
user: "0"
volumes:
- ./docker/grafana:/var/lib/grafana
# env_file:
# - ./docker/grafana.env
ports:
- 3000:3000
extra_hosts:
- host.docker.internal:host-gateway
prometheus:
image: prom/prometheus:latest
container_name: ks_prom
restart: unless-stopped
volumes:
- prometheus_data:/prometheus
- ./docker/prometheus-internal.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
extra_hosts:
- host.docker.internal:host-gateway
2 changes: 2 additions & 0 deletions docker-compose-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
- '-stratum=:5555'
- '-prom=:2114'
- '-kaspa=host.docker.internal:16110'
- '-mindiff=64'
- '-vardiff=true'
ports:
- 5555:5555
- 2114:2114
Expand Down
16 changes: 16 additions & 0 deletions docker-compose-bridge-src.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
services:
ks_bridge:
build:
context: .
no_cache: true
container_name: ks_bridge
restart: unless-stopped
user: "0"
command:
- '-stats=false'
- '-kaspa=host.docker.internal:16110'
ports:
- 5555:5555
- 2114:2114
extra_hosts:
- host.docker.internal:host-gateway
Binary file modified docker/grafana/grafana.db
Binary file not shown.
File renamed without changes.
Binary file added docs/images/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dashboard_no_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 6 additions & 12 deletions monitoring-setup.md → docs/monitoring-setup.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Configuring monitoring (Grafana + Prom)

Easiest setup, [join my 0-fee solo pool](http://grafana.ghost-pool.io/d/x7cE7G74k/pool-monitoring?orgId=1&refresh=5s)
# Configuring monitoring (Grafana + Prometheus)

## Reqirements

Expand All @@ -23,7 +21,7 @@ At this point if you can not progress without docker installed. Go install it if

For this example I'll be running everything in docker -- including the bridge. So type the following from the root folder to stand up everything:

`docker compose -f docker-compose-all.yml up -d`
`docker compose -f docker-compose-all-src.yml up -d --build`

Youll see output about downloading images and such and eventually see output like below:

Expand All @@ -39,20 +37,16 @@ You may point your miners the IP address of the computer you installed on at por

## Accessing grafana

Assuming the setup went correctly you'll be able to access grafana by visiting http://127.0.0.1:3000
Assuming the setup went correctly you'll be able to access grafana by visiting <http://127.0.0.1:3000/d/x7cE7G74k1/ksb-monitoring>

![image](https://user-images.githubusercontent.com/59971111/192024515-dd487a3a-3d15-4d21-bfbf-189b2db69782.png)

The default user/password is admin/admin. Grafana will prompt you to change the password but you can just ignore it (hit skip).

You'll land on the main grafana page. There's a lot you can do here but for now just click the pre-made dashboard:

![image](https://user-images.githubusercontent.com/59971111/192024840-f8ebd4b0-dda0-4249-b4da-3a971baf9836.png)

This will drop you to the mining dashboard. It'll look like below until you start getting info from your miners.
You will then be redirected to the mining dashboard. It'll look like below until you start getting info from your miners.

![image](https://user-images.githubusercontent.com/59971111/192024903-ed629405-ac6f-4263-8005-8863399d227a.png)
![Monitoring Dashboard Without Data](/docs/images/dashboard_no_data.png)

At this point you're configured and good to go. Things to note here are that the stats will be inaccurate for the first hour or so that the bridge is running as most of the stats are based on 10-30m averages. Also note that there is a 'wallet_filter' and 'show_balances' toggle near the top of the screen. These filter the database and hide your balance if you don't want that exposed. The monitoring UI is also accessable on any device on your local network (including your phone!) if you use the host computers ip address -- just type in the ip and port such as `http://192.168.0.25/3000` (this is an example, this exact link probablly wont work for you)
At this point you're configured and good to go. Many of the stats on the graph are averaged over a configurable time period (24hr default - use the 'resolution' dropdown on the top left of the page to change this), so keep in mind that the metrics might be incomplete during this initial period. Also note that there are 'wallet_filter' and 'show_balances' dropdowns as well. These filter the database and hide your balance if you don't want that exposed. The monitoring UI is also accessable on any device on your local network (including your phone!) if you use the host computers ip address -- just type in the ip and port such as `http://192.168.0.25/3000` (this is an example, this exact link probablly wont work for you)


14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ go 1.18

require (
github.com/google/go-cmp v0.5.8
github.com/kaspanet/kaspad v0.12.7
github.com/google/uuid v1.3.0
github.com/kaspanet/kaspad v0.12.15
github.com/mattn/go-colorable v0.1.13
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.13.0
go.uber.org/atomic v1.7.0
go.uber.org/zap v1.23.0
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90
golang.org/x/crypto v0.11.0
gopkg.in/yaml.v2 v2.4.0
)

Expand All @@ -18,18 +20,16 @@ require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/jrick/logrotate v1.0.0 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08 // indirect
google.golang.org/grpc v1.38.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
Expand Down
17 changes: 10 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ 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/kaspanet/go-muhash v0.0.4 h1:CQrm1RTJpQy+h4ZFjj9qq42K5fmA5QTGifzb47p4qWk=
github.com/kaspanet/go-secp256k1 v0.0.7 h1:WHnrwopKB6ZeHSbdAwwxNhTqflm56XT1mM6LF4/OvOs=
github.com/kaspanet/kaspad v0.12.7 h1:ptppiM3nSkMAqumc/TDxD/qoTdk7rUujzA8GqEpL05o=
github.com/kaspanet/kaspad v0.12.7/go.mod h1:5fH29a2ZIeET3GDkBqAN9Yk7tOl9mYteNkOlw3F9kMA=
github.com/kaspanet/kaspad v0.12.15 h1:UytF5bEx0cZfbwc63igsL3ltA+gtoHUxM1b3Sq5uAMo=
github.com/kaspanet/kaspad v0.12.15/go.mod h1:7p8WgqEpdLQybHt71P7zx47Ob7kKJnwYWzKu4wQvxsk=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
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=
Expand Down Expand Up @@ -237,8 +237,8 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 h1:Y/gsMcFOcR+6S6f3YeMKl5g+dZMEWqcz5Czj/GWYbkM=
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
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=
Expand Down Expand Up @@ -302,8 +302,9 @@ golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81R
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-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f h1:oA4XRj0qtSt8Yo1Zms0CUlsT3KG69V2UGQWPBxujDmc=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50=
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
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=
Expand Down Expand Up @@ -361,8 +362,9 @@ golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/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-20220811171246-fbc7d0a398ab h1:2QkjZIsXupsJbJIdSjjUOgWK3aEtzyuh2mPt3l/CkeU=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
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/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand All @@ -372,8 +374,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.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4=
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
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=
Expand Down
2 changes: 1 addition & 1 deletion make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CMD_PATH="../cmd/kaspabridge"
rm -rf release
mkdir -p release
cd release
VERSION=1.1.6
VERSION=1.2.2
ARCHIVE="ks_bridge-${VERSION}"
OUTFILE="ks_bridge"
OUTDIR="ks_bridge"
Expand Down
Loading