blockbook icon indicating copy to clipboard operation
blockbook copied to clipboard

add GoByte(GBX) support

Open erfan007p opened this issue 3 years ago • 1 comments

This PR adds support for the GoByte into Blockbook.

Coin information

  • Website: https://gobyte.network
  • GitHub: https://github.com/gobytecoin/gobyte
  • Coin Market Cap: https://coinmarketcap.com/currencies/gobyte
  • Coin Gecko: https://www.coingecko.com/en/coins/gobyte

Blockbook server

  • Mainnet : https://explorer.gobyte.network
  • Testnet : https://texplorer.gobyte.network

erfan007p avatar Nov 07 '21 10:11 erfan007p

Hi, the following tests are failing:

--- FAIL: TestGetAddrDescFromAddress (0.00s)
    --- FAIL: TestGetAddrDescFromAddress/P2PKH (0.00s)
        gobyteparser_test.go:171: GetAddrDescFromAddress() = 76a914ed22e769238dd0f934eea51073629f92dcc28af688ac, want 6e535552456f35544a356457716b336b644d48416343446863745353774754715962
    --- FAIL: TestGetAddrDescFromAddress/P2PKH#01 (0.00s)
        gobyteparser_test.go:171: GetAddrDescFromAddress() = 76a914e8d55cde2e27389fdc8f04b831d59e39931f6f5c88ac, want 6e533566654e587844656a6674644a4b614777646566514d59786b635941686b6f74
--- FAIL: TestGetAddrDescFromVout (0.00s)
    --- FAIL: TestGetAddrDescFromVout/P2PK (0.00s)
        gobyteparser_test.go:209: GetAddrDescFromVout() = 76a914ed22e769238dd0f934eea51073629f92dcc28af688ac, want 6e535552456f35544a356457716b336b644d48416343446863745353774754715962
    --- FAIL: TestGetAddrDescFromVout/P2PK#01 (0.00s)
        gobyteparser_test.go:209: GetAddrDescFromVout() = 76a914e8d55cde2e27389fdc8f04b831d59e39931f6f5c88ac, want 6e533566654e587844656a6674644a4b614777646566514d59786b635941686b6f74
--- FAIL: TestGetAddressesFromAddrDesc (0.00s)
    --- FAIL: TestGetAddressesFromAddrDesc/P2PKH (0.00s)
        gobyteparser_test.go:247: GetAddressesFromAddrDesc() error = opcode OP_DATA_69 requires 70 bytes, but script only has 30 remaining, wantErr false
    --- FAIL: TestGetAddressesFromAddrDesc/P2PKH#01 (0.00s)
        gobyteparser_test.go:247: GetAddressesFromAddrDesc() error = opcode OP_DATA_53 requires 54 bytes, but script only has 32 remaining, wantErr false
FAIL
FAIL	github.com/trezor/blockbook/bchain/coins/gobyte	0.064s

martinboehm avatar Apr 03 '22 22:04 martinboehm