Skip to content

Commit

Permalink
Satochip-Bridge v0.2.6-0.11.2: Change websocket port
Browse files Browse the repository at this point in the history
    * previously MyCrypto connected to the bridge on port 8000
    * Now we use port 8397 to limit risk of conflict with another service
  • Loading branch information
Toporin committed Jul 8, 2020
1 parent f38381e commit 367bc8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ contrib/build-linux/appimage/.cache/
contrib/build-wine/.cache/
contrib/build-wine/dist/
contrib/build-wine/build/
contrib/build-wine/fresh_clone/
contrib/build-wine/*.spec
contrib/build-windows/dist/
contrib/build-windows/build/
Expand Down
4 changes: 2 additions & 2 deletions contrib/build-linux/appimage/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ find "$APPDIR" -path '*/__pycache__*' -delete
# Import exception for eth_keys keyAPI
# DistributionNotFound(Requirement.parse('eth-utils'), None)
#for f in "$PYDIR"/site-packages/jsonschema-*.dist-info; do mv "$f" "$(echo "$f" | sed s/\.dist-info/\.dist-info2/)"; done
for f in "$PYDIR"/site-packages/eth_utils-*.dist-info; do mv "$f" "$(echo "$f" | sed s/\.dist-info/\.dist-info2/)"; done
#for f in "$PYDIR"/site-packages/eth_utils-*.dist-info; do mv "$f" "$(echo "$f" | sed s/\.dist-info/\.dist-info2/)"; done
rm -rf "$PYDIR"/site-packages/*.dist-info/
rm -rf "$PYDIR"/site-packages/*.egg-info/
#for f in "$PYDIR"/site-packages/jsonschema-*.dist-info2; do mv "$f" "$(echo "$f" | sed s/\.dist-info2/\.dist-info/)"; done
for f in "$PYDIR"/site-packages/eth_utils-*.dist-info2; do mv "$f" "$(echo "$f" | sed s/\.dist-info2/\.dist-info/)"; done
#for f in "$PYDIR"/site-packages/eth_utils-*.dist-info2; do mv "$f" "$(echo "$f" | sed s/\.dist-info2/\.dist-info/)"; done

find -exec touch -h -d '2000-11-11T11:11:11+00:00' {} +

Expand Down
4 changes: 2 additions & 2 deletions satochip_bridge/SatochipBridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
logger = logging.getLogger(__name__)
#logger.setLevel(logging.DEBUG)

logger.warning("A loglevel: "+ str(logger.getEffectiveLevel()) )
logger.warning("loglevel: "+ str(logger.getEffectiveLevel()) )

#handler= HandlerTxt()
handler= HandlerSimpleGUI(logger.getEffectiveLevel())
Expand Down Expand Up @@ -262,7 +262,7 @@ def my_threaded_func(server):
server.serveforever()

logger.info("Launching server...")
default_port= 8000#8397 # 'Sa' in ascii, as in 'Satochip!'
default_port= 8397 # 'Sa' in ascii, as in 'Satochip!'
server = SimpleWebSocketServer('', default_port, SatochipBridge)
thread = threading.Thread(target=my_threaded_func, args=(server,))
thread.start()
Expand Down
3 changes: 2 additions & 1 deletion satochip_bridge/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
# v0.2.3-0.11.2: windows & linux packaging
# v0.2.4-0.11.2: patch - replace Exceptions with Error messages
# v0.2.5-0.11.2: add prompts to confirm actions
SATOCHIP_BRIDGE_VERSION = '0.2.5-0.11.2' # version of the client package
# v0.2.6-0.11.2: change websocket port to 8397
SATOCHIP_BRIDGE_VERSION = '0.2.6-0.11.2' # version of the client package

0 comments on commit 367bc8a

Please sign in to comment.