Browse Source

Merge pull request #53 from TamtamHero/horizen_rebranding

Horizen rebranding & auto-deploy
master
Nicolas Bacca 6 years ago
committed by GitHub
parent
commit
8d842aba9a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      Makefile
  2. BIN
      bitcoin.png
  3. BIN
      bitcoin_cash.png
  4. BIN
      bitcoin_gold.png
  5. BIN
      bitcoin_private.png
  6. BIN
      bitcoin_testnet.png
  7. BIN
      blue_app_horizen.gif
  8. BIN
      blue_app_zencash.gif
  9. BIN
      dash.png
  10. BIN
      digibyte.png
  11. BIN
      dogecoin.png
  12. BIN
      hcash.png
  13. BIN
      horizen.png
  14. 2
      include/btchip_context.h
  15. BIN
      komodo.png
  16. BIN
      litecoin.png
  17. BIN
      nanos_app_horizen.gif
  18. BIN
      nanos_app_zencash.gif
  19. BIN
      peercoin.png
  20. BIN
      pivx.png
  21. BIN
      posw.png
  22. BIN
      qtum.png
  23. 4
      src/btchip_helpers.c
  24. BIN
      stealth.png
  25. BIN
      stratis.png
  26. BIN
      vertcoin.png
  27. BIN
      viacoin.png
  28. BIN
      zcash.png
  29. BIN
      zcoin.png

12
Makefile

@ -80,10 +80,10 @@ else ifeq ($(COIN),zcash)
DEFINES += COIN_P2PKH_VERSION=7352 COIN_P2SH_VERSION=7357 COIN_FAMILY=1 COIN_COINID=\"Zcash\" COIN_COINID_HEADER=\"ZCASH\" COIN_COLOR_HDR=0x3790CA COIN_COLOR_DB=0x9BC8E5 COIN_COINID_NAME=\"Zcash\" COIN_COINID_SHORT=\"ZEC\" COIN_KIND=COIN_KIND_ZCASH
APPNAME ="Zcash"
APP_LOAD_PARAMS += --path $(APP_PATH)
else ifeq ($(COIN),zencash)
# ZenCash
DEFINES += COIN_P2PKH_VERSION=8329 COIN_P2SH_VERSION=8342 COIN_FAMILY=4 COIN_COINID=\"Zencash\" COIN_COINID_HEADER=\"ZENCASH\" COIN_COLOR_HDR=0xFF4300 COIN_COLOR_DB=0xFF8356 COIN_COINID_NAME=\"Zencash\" COINID=$(COIN) COIN_COINID_SHORT=\"ZEN\" COIN_KIND=COIN_KIND_ZENCASH
APPNAME ="ZenCash"
else ifeq ($(COIN),horizen)
# Horizen
DEFINES += COIN_P2PKH_VERSION=8329 COIN_P2SH_VERSION=8342 COIN_FAMILY=4 COIN_COINID=\"Horizen\" COIN_COINID_HEADER=\"HORIZEN\" COIN_COLOR_HDR=0xFF4300 COIN_COLOR_DB=0xFF8356 COIN_COINID_NAME=\"Horizen\" COINID=$(COIN) COIN_COINID_SHORT=\"ZEN\" COIN_KIND=COIN_KIND_HORIZEN
APPNAME ="Horizen"
APP_LOAD_PARAMS += --path $(APP_PATH)
else ifeq ($(COIN),komodo)
# Komodo
@ -149,7 +149,7 @@ APPNAME ="Bitcoin Private"
APP_LOAD_PARAMS += --path $(APP_PATH)
else
ifeq ($(filter clean,$(MAKECMDGOALS)),)
$(error Unsupported COIN - use bitcoin_testnet, bitcoin, bitcoin_cash, bitcoin_gold, litecoin, dogecoin, dash, zcash, zencash, komodo, stratis, peercoin, posw, pivx, viacoin, vertcoin, stealth, digibyte, qtum, hcash, bitcoin_private)
$(error Unsupported COIN - use bitcoin_testnet, bitcoin, bitcoin_cash, bitcoin_gold, litecoin, dogecoin, dash, zcash, horizen, komodo, stratis, peercoin, posw, pivx, viacoin, vertcoin, stealth, digibyte, qtum, hcash, bitcoin_private, zcoin)
endif
endif
@ -236,3 +236,5 @@ include $(BOLOS_SDK)/Makefile.rules
#add dependency on custom makefile filename
dep/%.d: %.c Makefile
listvariants:
@echo VARIANTS COIN bitcoin_testnet bitcoin bitcoin_cash bitcoin_gold litecoin dogecoin dash zcash horizen komodo stratis peercoin posw pivx viacoin vertcoin stealth digibyte qtum hcash bitcoin_private zcoin

BIN
bitcoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
bitcoin_cash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
bitcoin_gold.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
bitcoin_private.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
bitcoin_testnet.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
blue_app_horizen.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

BIN
blue_app_zencash.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

BIN
dash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
digibyte.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
dogecoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
hcash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
horizen.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

2
include/btchip_context.h

@ -266,7 +266,7 @@ typedef enum btchip_coin_kind_e {
COIN_KIND_QTUM,
COIN_KIND_HCASH,
COIN_KIND_BITCOIN_PRIVATE,
COIN_KIND_ZENCASH,
COIN_KIND_HORIZEN,
COIN_KIND_ZCOIN
} btchip_coin_kind_t;

BIN
komodo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
litecoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
nanos_app_horizen.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

BIN
nanos_app_zencash.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 B

BIN
peercoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
pivx.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
posw.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
qtum.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

4
src/btchip_helpers.c

@ -67,7 +67,7 @@ unsigned char btchip_output_script_is_regular(unsigned char *buffer) {
return 1;
}
}
if (G_coin_config->kind == COIN_KIND_ZENCASH) {
if (G_coin_config->kind == COIN_KIND_HORIZEN) {
if ((os_memcmp(buffer, ZEN_OUTPUT_SCRIPT_PRE,
sizeof(ZEN_OUTPUT_SCRIPT_PRE)) == 0) &&
(os_memcmp(buffer + sizeof(ZEN_OUTPUT_SCRIPT_PRE) + 20,
@ -88,7 +88,7 @@ unsigned char btchip_output_script_is_regular(unsigned char *buffer) {
}
unsigned char btchip_output_script_is_p2sh(unsigned char *buffer) {
if (G_coin_config->kind == COIN_KIND_ZENCASH) {
if (G_coin_config->kind == COIN_KIND_HORIZEN) {
if ((os_memcmp(buffer, ZEN_TRANSACTION_OUTPUT_SCRIPT_P2SH_PRE,
sizeof(ZEN_TRANSACTION_OUTPUT_SCRIPT_P2SH_PRE)) == 0) &&
(os_memcmp(buffer + sizeof(ZEN_TRANSACTION_OUTPUT_SCRIPT_P2SH_PRE) + 20,

BIN
stealth.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
stratis.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
vertcoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
viacoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
zcash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
zcoin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Loading…
Cancel
Save