prepare release 1.5.22-alpha #517

Closed
opened 2023-03-03 03:50:32 +00:00 by bobinson · 24 comments
bobinson commented 2023-03-03 03:50:32 +00:00 (Migrated from gitlab.com)
  • merge latest changes to beatrice
  • test syncing with mainnet
- merge latest changes to `beatrice` - test syncing with mainnet
bobinson commented 2023-03-03 03:50:32 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2023-03-07 05:32:56 +00:00 (Migrated from gitlab.com)
MR to beatrice branch: https://gitlab.com/PBSA/peerplays/-/merge_requests/215
vampik commented 2023-03-07 05:33:33 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
vampik commented 2023-03-07 05:34:23 +00:00 (Migrated from gitlab.com)

@wsalloum
Please test this Alpha release.
Build from beatrice branch and execute all the tests from QA reference.

@wsalloum Please test this Alpha release. Build from beatrice branch and execute all the tests from QA reference.
vampik commented 2023-03-07 05:34:54 +00:00 (Migrated from gitlab.com)

Replaying with mainnet tested - everything works fine.

Replaying with mainnet tested - everything works fine.
wsalloum commented 2023-03-08 07:55:49 +00:00 (Migrated from gitlab.com)

I tested voting and the active sons, it looks ok.
Transfer:

  • transfer account02 son-account "100.000 TESTS" "account02" true ## OK
  • transfer account02 son-account "200.000 TBD" "account02" true ## OK
  • transfer account02 son-account 17 HIVE "" true , the funds were debited from accoun02 but was stuck in son-account
unlocked >>> list_account_balances account02   
list_account_balances account02
49999929 TEST
200 HBD
83 HIVE
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> list_account_balances son-account
list_account_balances son-account
49093999.95150 TEST
17 HIVE
I tested voting and the active sons, it looks ok. Transfer: - transfer account02 son-account "100.000 TESTS" "account02" true ## OK - transfer account02 son-account "200.000 TBD" "account02" true ## OK - transfer account02 son-account 17 HIVE "" true , the funds were debited from accoun02 but was stuck in son-account ``` unlocked >>> list_account_balances account02 list_account_balances account02 49999929 TEST 200 HBD 83 HIVE 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> list_account_balances son-account list_account_balances son-account 49093999.95150 TEST 17 HIVE ```
vampik commented 2023-03-08 09:13:39 +00:00 (Migrated from gitlab.com)

What is sidechain_transaction_status for this withdrawal transaction?

What is `sidechain_transaction_status` for this withdrawal transaction?
vampik commented 2023-03-08 09:14:58 +00:00 (Migrated from gitlab.com)

Did you rebuild HIVE container?
Because now we should use new HIVE version : Dockerfile.v1.27.0

Did you rebuild HIVE container? Because now we should use new HIVE version : Dockerfile.v1.27.0
wsalloum commented 2023-03-08 20:16:24 +00:00 (Migrated from gitlab.com)
locked >>> about
about
{
  "blockchain_version": "1.27.0",
  "client_version": "v1.27.0",
  "hive_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e",
  "hive_revision_age": "20 weeks ago",
  "fc_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e",
  "fc_revision_age": "20 weeks ago",
  "chain_id": "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e",
  "compile_date": "compiled on Dec 19 2022 at 07:58:44",
  "boost_version": "1.71",
  "openssl_version": "OpenSSL 1.1.1f  31 Mar 2020",
  "build": "linux 64-bit",
  "server_blockchain_version": "1.27.0",
  "server_hive_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e",
  "server_fc_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e",
  "server_chain_id": "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e",
  "server_url": "ws://localhost:28090"
}``
``` locked >>> about about { "blockchain_version": "1.27.0", "client_version": "v1.27.0", "hive_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e", "hive_revision_age": "20 weeks ago", "fc_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e", "fc_revision_age": "20 weeks ago", "chain_id": "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e", "compile_date": "compiled on Dec 19 2022 at 07:58:44", "boost_version": "1.71", "openssl_version": "OpenSSL 1.1.1f 31 Mar 2020", "build": "linux 64-bit", "server_blockchain_version": "1.27.0", "server_hive_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e", "server_fc_revision": "b322c4c19f11f084d09be0dd7d9c615339dce13e", "server_chain_id": "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e", "server_url": "ws://localhost:28090" }``
vampik commented 2023-03-09 07:54:10 +00:00 (Migrated from gitlab.com)

On my side, transaction get settled and HI
VE burned from son-account:

list_account_balances son-account
49093999.95247 TEST
0 HIVE
On my side, transaction get settled and HI VE burned from `son-account`: ``` list_account_balances son-account 49093999.95247 TEST 0 HIVE ```
vampik commented 2023-03-09 07:55:00 +00:00 (Migrated from gitlab.com)

What is sidechain_transaction_status for this withdrawal transaction?

get_object 1.39.*

What is `sidechain_transaction_status` for this withdrawal transaction? `get_object 1.39.*`
wsalloum commented 2023-03-09 08:48:52 +00:00 (Migrated from gitlab.com)
locked >>> get_object 1.39.0
get_object 1.39.0
[{
    "id": "1.39.0",
    "timestamp": "2023-03-08T18:30:12",
    "sidechain": "ethereum",
    "object_id": "1.35.1",
    "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000",
    "signers": [{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "5fbbb31be52608d2f52247e8400b7fcaa9e0bc12"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "76ce31bd03f601c3fc13732def921c5bac282676"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "09ee460834498a4ee361beb819470061b7381b49"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "6aefbd09209e1ee2e0a589d31e732f69b77713d2"
      },{
        "son_id": "1.33.4",
        "weight": 1,
        "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU",
        "public_key": "631e128b16f9adcf1bb6385112b1519c917d77a7"
      }
    ],
    "signatures": [[
        "1.33.0",
        "{\n    \"v\": \"1c\",\n    \"r\": \"9bfb369f531bf6829aaaa5ac84ebc55e39a8a98dd43babe0e1c6ecd834eadde7\",\n    \"s\": \"23ead825921c888b175e201666b85a31b0546435bd5ff9448f8b425995ffb343\"\n}\n"
      ],[
        "1.33.1",
        "{\n    \"v\": \"1b\",\n    \"r\": \"cf069db0eb206511481e8efda96e22a7bb9d008f50046f94f1ce5347bd8fec8a\",\n    \"s\": \"786d2eea61a9dcf6f9459b9a97ed0b9746057d58eebb45e9664ca5e1ecb5331e\"\n}\n"
      ],[
        "1.33.2",
        "{\n    \"v\": \"1c\",\n    \"r\": \"fbfcee4f7ebb91a650e6eaa37781171ed71fd96b010b6cb233e1d006dd80530f\",\n    \"s\": \"7b1e97a882eefb6fb6ed229f98feb509b5587ab70f45133916fbbe6048d81bc6\"\n}\n"
      ],[
        "1.33.3",
        "{\n    \"v\": \"1b\",\n    \"r\": \"80360e333775c5e219d234e6f9797da539e994a453c934af0b7f967d7ac53053\",\n    \"s\": \"4a60d23e9e0715d42f8149335149ff3ef982beb43f9626c5d53d04ab4972a6fe\"\n}\n"
      ],[
        "1.33.4",
        ""
      ]
    ],
    "sidechain_transaction": "{\n    \"result_array\": [\n        {\n            \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000\",\n            \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":284,\\\"result\\\":\\\"0x0597968efcff276840977028994b9d7d8d7948cf058b1c738d110b21480e8942\\\"}\\n\",\n            \"transaction_receipt\": \"0x0597968efcff276840977028994b9d7d8d7948cf058b1c738d110b21480e8942\"\n        }\n    ]\n}\n",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]
locked >>> get_object 1.39.1
get_object 1.39.1
[{
    "id": "1.39.1",
    "timestamp": "2023-03-08T18:30:12",
    "sidechain": "hive",
    "object_id": "1.35.2",
    "transaction": "6701C6111594DCD40864010A0B736F6E2D6163636F756E740104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000003B073061A9B0B28E1BD49492ACD984D3EBF2F8CFD66AABF7AC2159BAE7B57D366000000",
    "signers": [{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "sonaccount01"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "sonaccount02"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "sonaccount03"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "sonaccount04"
      },{
        "son_id": "1.33.4",
        "weight": 1,
        "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU",
        "public_key": "sonaccount05"
      }
    ],
    "signatures": [[
        "1.33.0",
        "1F2A91743D7B7F59EDB6084AE3230486DC36645B38864C0892B071520580A1580A41C1C86B9A79E28462BE9E6A8F26A94EE1DACF4526502B0B2779267C2B9DAF51"
      ],[
        "1.33.1",
        "201A641AF0F859A470FF99A3B362C2FF4B6F800CECC84C7290ECA0CF05D898026C62D4E6546E11E592AFD2A61DCA423692396F0336514ABE56BBD8EA807DDB411B"
      ],[
        "1.33.2",
        "1F3E993F5137EFBF9D69E5F99E18248D4AA0F9EDD4E5917724FE306D3CBB119F9037813245CA23028D9BDBA9396B9FEA4A26E3AD66305AF6BCCDC38988808F0B06"
      ],[
        "1.33.3",
        "2044DF3EBDC5E864D6405620D0086C92A4DBCBAD3F3EDFD6EF8CD5538AB6333B0D6FD4831E3FFD69E3FFBE1F8BFD5F841C6C53BDBEB3327462C37201FE0907AC4F"
      ],[
        "1.33.4",
        ""
      ]
    ],
    "sidechain_transaction": "ecbcdf479e326c2e78714834548d9991c2e66182",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]
locked >>> get_object 1.39.2
get_object 1.39.2
[
  null
]
locked >>> 

``` locked >>> get_object 1.39.0 get_object 1.39.0 [{ "id": "1.39.0", "timestamp": "2023-03-08T18:30:12", "sidechain": "ethereum", "object_id": "1.35.1", "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000", "signers": [{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "5fbbb31be52608d2f52247e8400b7fcaa9e0bc12" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "76ce31bd03f601c3fc13732def921c5bac282676" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "09ee460834498a4ee361beb819470061b7381b49" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "6aefbd09209e1ee2e0a589d31e732f69b77713d2" },{ "son_id": "1.33.4", "weight": 1, "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU", "public_key": "631e128b16f9adcf1bb6385112b1519c917d77a7" } ], "signatures": [[ "1.33.0", "{\n \"v\": \"1c\",\n \"r\": \"9bfb369f531bf6829aaaa5ac84ebc55e39a8a98dd43babe0e1c6ecd834eadde7\",\n \"s\": \"23ead825921c888b175e201666b85a31b0546435bd5ff9448f8b425995ffb343\"\n}\n" ],[ "1.33.1", "{\n \"v\": \"1b\",\n \"r\": \"cf069db0eb206511481e8efda96e22a7bb9d008f50046f94f1ce5347bd8fec8a\",\n \"s\": \"786d2eea61a9dcf6f9459b9a97ed0b9746057d58eebb45e9664ca5e1ecb5331e\"\n}\n" ],[ "1.33.2", "{\n \"v\": \"1c\",\n \"r\": \"fbfcee4f7ebb91a650e6eaa37781171ed71fd96b010b6cb233e1d006dd80530f\",\n \"s\": \"7b1e97a882eefb6fb6ed229f98feb509b5587ab70f45133916fbbe6048d81bc6\"\n}\n" ],[ "1.33.3", "{\n \"v\": \"1b\",\n \"r\": \"80360e333775c5e219d234e6f9797da539e994a453c934af0b7f967d7ac53053\",\n \"s\": \"4a60d23e9e0715d42f8149335149ff3ef982beb43f9626c5d53d04ab4972a6fe\"\n}\n" ],[ "1.33.4", "" ] ], "sidechain_transaction": "{\n \"result_array\": [\n {\n \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000\",\n \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":284,\\\"result\\\":\\\"0x0597968efcff276840977028994b9d7d8d7948cf058b1c738d110b21480e8942\\\"}\\n\",\n \"transaction_receipt\": \"0x0597968efcff276840977028994b9d7d8d7948cf058b1c738d110b21480e8942\"\n }\n ]\n}\n", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] locked >>> get_object 1.39.1 get_object 1.39.1 [{ "id": "1.39.1", "timestamp": "2023-03-08T18:30:12", "sidechain": "hive", "object_id": "1.35.2", "transaction": "6701C6111594DCD40864010A0B736F6E2D6163636F756E740104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000003B073061A9B0B28E1BD49492ACD984D3EBF2F8CFD66AABF7AC2159BAE7B57D366000000", "signers": [{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "sonaccount01" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "sonaccount02" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "sonaccount03" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "sonaccount04" },{ "son_id": "1.33.4", "weight": 1, "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU", "public_key": "sonaccount05" } ], "signatures": [[ "1.33.0", "1F2A91743D7B7F59EDB6084AE3230486DC36645B38864C0892B071520580A1580A41C1C86B9A79E28462BE9E6A8F26A94EE1DACF4526502B0B2779267C2B9DAF51" ],[ "1.33.1", "201A641AF0F859A470FF99A3B362C2FF4B6F800CECC84C7290ECA0CF05D898026C62D4E6546E11E592AFD2A61DCA423692396F0336514ABE56BBD8EA807DDB411B" ],[ "1.33.2", "1F3E993F5137EFBF9D69E5F99E18248D4AA0F9EDD4E5917724FE306D3CBB119F9037813245CA23028D9BDBA9396B9FEA4A26E3AD66305AF6BCCDC38988808F0B06" ],[ "1.33.3", "2044DF3EBDC5E864D6405620D0086C92A4DBCBAD3F3EDFD6EF8CD5538AB6333B0D6FD4831E3FFD69E3FFBE1F8BFD5F841C6C53BDBEB3327462C37201FE0907AC4F" ],[ "1.33.4", "" ] ], "sidechain_transaction": "ecbcdf479e326c2e78714834548d9991c2e66182", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] locked >>> get_object 1.39.2 get_object 1.39.2 [ null ] locked >>> ```
vampik commented 2023-03-09 11:45:08 +00:00 (Migrated from gitlab.com)

The first two transaction is for update_wallet operation (for ETH and HIVE).
But there is no withdrawal transaction...

The first two transaction is for update_wallet operation (for ETH and HIVE). But there is no withdrawal transaction...
vampik commented 2023-03-09 11:45:33 +00:00 (Migrated from gitlab.com)

What is the error message in witness_log console?

What is the error message in `witness_log` console?
wsalloum commented 2023-03-09 20:29:03 +00:00 (Migrated from gitlab.com)

I rebuilt everything, and tried again, it seems it is OK now:

nlocked >>> list_account_balances account02    
list_account_balances account02
49999929 TEST
200 HBD
83 HIVE
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> list_account_balances son-account  
list_account_balances son-account
49093979.95150 TEST
0 HIVE

unlocked >>> get_account_history son-account 10 
get_account_history son-account 10
2023-03-09T20:21:27 asset_reserve_operation son-account fee: 20 TEST 
2023-03-09T20:21:27 sidechain_transaction_settle_operation son-account fee: 0 TEST   result: 1.39.2 
2023-03-09T20:21:24 proposal_create_operation sonaccount02 fee: 20 TEST   result: 1.10.24 
2023-03-09T20:21:21 sidechain_transaction_sign_operation son-account fee: 0 TEST   result: 1.39.2 
2023-03-09T20:21:21 sidechain_transaction_sign_operation son-account fee: 0 TEST   result: 1.39.2 
2023-03-09T20:21:18 sidechain_transaction_sign_operation son-account fee: 0 TEST   result: 1.39.2 
2023-03-09T20:21:18 proposal_create_operation sonaccount04 fee: 20.00001 TEST   result: 1.10.23 
2023-03-09T20:21:18 sidechain_transaction_sign_operation son-account fee: 0 TEST   result: 1.39.2 
2023-03-09T20:21:18 proposal_create_operation sonaccount03 fee: 20.00001 TEST   result: 1.10.22 
2023-03-09T20:21:18 proposal_create_operation sonaccount02 fee: 20.00001 TEST   result: 1.10.21 

unlocked >>> get_object 1.39.3                  
get_object 1.39.3
[
  null
]
unlocked >>> get_object 1.39.2
get_object 1.39.2
[{
    "id": "1.39.2",
    "timestamp": "2023-03-09T20:21:12",
    "sidechain": "hive",
    "object_id": "1.37.0",
    "transaction": "5E0A5EC294616C400A6401020B736F6E2D6163636F756E74096163636F756E74303268420000000000000354455354530000000000",
    "signers": [{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "sonaccount01"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "sonaccount02"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "sonaccount03"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "sonaccount04"
      },{
        "son_id": "1.33.4",
        "weight": 1,
        "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU",
        "public_key": "sonaccount05"
      }
    ],
    "signatures": [[
        "1.33.0",
        "207AF8C1576AD9807D6C44829EE256C36C8EA878CDBD7A7E30442C1709AAD604853E10EB9FB46A04E8E644D6B0C03AC4E8B79DF7DB3398ECD5D52EECB81AAFED5E"
      ],[
        "1.33.1",
        "1F1DDB13335244DF66A722CC828BD9A3AC399955C6D32203F20826C879898E00A274631B4861B226A6679BEE94B96CF97964D025DF98D2828C68B4BAAB455A8333"
      ],[
        "1.33.2",
        "1F403C4B6FE3280D109A27CAB5F0294A5819E945C232F424A4A554DAA945554B364923EC45372CDD1F5951DB9549CF0F312E9485FD1741576F83DE7FC2B468D682"
      ],[
        "1.33.3",
        ""
      ],[
        "1.33.4",
        "2002B33E433ACF10520FD1801C8C51CB905AFB6D316F3938FAD8201EDC146E181A2570C4C3F28827C561DB6CB8E56E847EB07B701A6D27D838BA8C34683CC7EFD5"
      ]
    ],
    "sidechain_transaction": "715088105d7c1b00a014dfa67cdfc178193cd4eb",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]

I rebuilt everything, and tried again, it seems it is OK now: ``` nlocked >>> list_account_balances account02 list_account_balances account02 49999929 TEST 200 HBD 83 HIVE 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> list_account_balances son-account list_account_balances son-account 49093979.95150 TEST 0 HIVE unlocked >>> get_account_history son-account 10 get_account_history son-account 10 2023-03-09T20:21:27 asset_reserve_operation son-account fee: 20 TEST 2023-03-09T20:21:27 sidechain_transaction_settle_operation son-account fee: 0 TEST result: 1.39.2 2023-03-09T20:21:24 proposal_create_operation sonaccount02 fee: 20 TEST result: 1.10.24 2023-03-09T20:21:21 sidechain_transaction_sign_operation son-account fee: 0 TEST result: 1.39.2 2023-03-09T20:21:21 sidechain_transaction_sign_operation son-account fee: 0 TEST result: 1.39.2 2023-03-09T20:21:18 sidechain_transaction_sign_operation son-account fee: 0 TEST result: 1.39.2 2023-03-09T20:21:18 proposal_create_operation sonaccount04 fee: 20.00001 TEST result: 1.10.23 2023-03-09T20:21:18 sidechain_transaction_sign_operation son-account fee: 0 TEST result: 1.39.2 2023-03-09T20:21:18 proposal_create_operation sonaccount03 fee: 20.00001 TEST result: 1.10.22 2023-03-09T20:21:18 proposal_create_operation sonaccount02 fee: 20.00001 TEST result: 1.10.21 unlocked >>> get_object 1.39.3 get_object 1.39.3 [ null ] unlocked >>> get_object 1.39.2 get_object 1.39.2 [{ "id": "1.39.2", "timestamp": "2023-03-09T20:21:12", "sidechain": "hive", "object_id": "1.37.0", "transaction": "5E0A5EC294616C400A6401020B736F6E2D6163636F756E74096163636F756E74303268420000000000000354455354530000000000", "signers": [{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "sonaccount01" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "sonaccount02" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "sonaccount03" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "sonaccount04" },{ "son_id": "1.33.4", "weight": 1, "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU", "public_key": "sonaccount05" } ], "signatures": [[ "1.33.0", "207AF8C1576AD9807D6C44829EE256C36C8EA878CDBD7A7E30442C1709AAD604853E10EB9FB46A04E8E644D6B0C03AC4E8B79DF7DB3398ECD5D52EECB81AAFED5E" ],[ "1.33.1", "1F1DDB13335244DF66A722CC828BD9A3AC399955C6D32203F20826C879898E00A274631B4861B226A6679BEE94B96CF97964D025DF98D2828C68B4BAAB455A8333" ],[ "1.33.2", "1F403C4B6FE3280D109A27CAB5F0294A5819E945C232F424A4A554DAA945554B364923EC45372CDD1F5951DB9549CF0F312E9485FD1741576F83DE7FC2B468D682" ],[ "1.33.3", "" ],[ "1.33.4", "2002B33E433ACF10520FD1801C8C51CB905AFB6D316F3938FAD8201EDC146E181A2570C4C3F28827C561DB6CB8E56E847EB07B701A6D27D838BA8C34683CC7EFD5" ] ], "sidechain_transaction": "715088105d7c1b00a014dfa67cdfc178193cd4eb", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] ```
vampik commented 2023-03-10 05:53:50 +00:00 (Migrated from gitlab.com)

@bobinson Waseem tested alpha release

@bobinson Waseem tested alpha release
wsalloum commented 2023-03-10 08:37:30 +00:00 (Migrated from gitlab.com)

One more thing, when I run the python tests for bitcoin pytest test_btc_son.py::test_btc_deposit test_btc_son.py::test_btc_withdrawal , it throws exception:

====================================================================================================== short test summary info ======================================================================================================
FAILED test_btc_son.py::test_btc_deposit - assert 2999955000 == ((0 + (30 * 100000000)) - (0.0002 * 100000000))
FAILED test_btc_son.py::test_btc_withdrawal - assert 92999953000 == ((91000000000 + (20 * 100000000)) - (0.0002 * 100000000))

One more thing, when I run the python tests for bitcoin `pytest test_btc_son.py::test_btc_deposit test_btc_son.py::test_btc_withdrawal` , it throws exception: ``` ====================================================================================================== short test summary info ====================================================================================================== FAILED test_btc_son.py::test_btc_deposit - assert 2999955000 == ((0 + (30 * 100000000)) - (0.0002 * 100000000)) FAILED test_btc_son.py::test_btc_withdrawal - assert 92999953000 == ((91000000000 + (20 * 100000000)) - (0.0002 * 100000000)) ```
vampik commented 2023-03-10 13:11:04 +00:00 (Migrated from gitlab.com)

Did you try Bitcoin deposit/withdrawal by hand?
Is it worked?

Did you try Bitcoin deposit/withdrawal by hand? Is it worked?
bobinson commented 2023-03-10 13:57:51 +00:00 (Migrated from gitlab.com)

hi @vampik - I think we will ignore the Python issues apart from those related to account creations for now.

hi @vampik - I think we will ignore the Python issues apart from those related to account creations for now.
wsalloum commented 2023-03-12 12:35:01 +00:00 (Migrated from gitlab.com)

I tried manually, it is not working, the balance for betcoin is updated, but when I check the peerplays, it is not updated. No errors in peerplay, and I posted the bitcoin log after:

unlocked >>> get_sidechain_address_by_account_and_sidechain  account01 bitcoin
get_sidechain_address_by_account_and_sidechain  account01 bitcoin
{
  "id": "1.38.0",
  "sidechain_address_account": "1.2.52",
  "sidechain": "bitcoin",
  "deposit_public_key": "0368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cd",
  "deposit_address": "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY",
  "deposit_address_data": "{ \"redeemScript\": \"210368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cdac635167007c2103456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275ac635193687c2102d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4ac635193687c21025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61ac635193687c210228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866ac635193687c21037500441cfb4484da377073459511823b344f1ef0d46bac1efd4c7c466746f666ac6351936854a268\", \"witnessScript\": \"0020a3252a2204813812e990fdb50656dafb15211a68b94aacd76d78c203a6f2994c\" }",
  "withdraw_public_key": "02743d4f24f88095de7921b8a8486cb46f009b7c034daa931821fb688c9c1e42a2",
  "withdraw_address": "2MtTPtraZawsvNGc8eCdx98hXbi4gaYy8L6",
  "valid_from": "2023-03-12T12:02:24",
  "expires": "2106-02-07T06:28:15"
}
unlocked >>> list_account_balances account01
list_account_balances account01
49999949 TEST
1000000 PBTC
1000000 PEOS
1000000 PETH
root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance
14639.68750000
root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" sendtoaddress "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" 7 "" "" false
a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d
root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" sendtoaddress "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" 7 "" "" false
b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0
root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance
14625.68743400
root@89c99f9092a2:~/bitcoin-network# 

Log for the bitcoin:

bitcoin-for-peerplays_1            | 2023-03-12T12:27:34Z [default] keypool reserve 1001
bitcoin-for-peerplays_1            | 2023-03-12T12:27:34Z [default] keypool keep 1001
bitcoin-for-peerplays_1            | 2023-03-12T12:27:34Z [default] Fee Calculation: Fee:6920 Bytes:346 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out)
bitcoin-for-peerplays_1            | 2023-03-12T12:27:34Z [default] keypool added 1 keys (1 internal), size=2000 (1000 internal)
bitcoin-for-peerplays_1            | 2023-03-12T12:27:34Z [default] keypool reserve 1002
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] keypool keep 1002
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] Fee Calculation: Fee:3300 Bytes:165 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out)
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] Fee non-grouped = 6920, grouped = 3300, using grouped
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] CommitTransaction:
bitcoin-for-peerplays_1            | CTransaction(hash=a68b6fa9bd, ver=2, vin.size=1, vout.size=2, nLockTime=960)
bitcoin-for-peerplays_1            |     CTxIn(COutPoint(993b51e4d0, 1), scriptSig=1600148b82d4b346fb2f192f, nSequence=4294967294)
bitcoin-for-peerplays_1            |     CScriptWitness(304402203f26f86366f45f84093d2bdc71da15612b8ae0f5ca8a94aba65d0c33b4573942022027c35e6808ae8ea50a4360fc270338769a53ffb075803875ae11132971ddfe1901, 0287b4bb4d64481799e24f8b72194acd8c896f0302f81113cb81d80bd1e305379b)
bitcoin-for-peerplays_1            |     CTxOut(nValue=7.00000000, scriptPubKey=a914a27ff7ea9cb70225510dc223bc)
bitcoin-for-peerplays_1            |     CTxOut(nValue=902.99996700, scriptPubKey=0014eff80a4818c4f1703136aa18d4)
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] AddToWallet a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d  newupdate
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] Submitting wtx a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d to mempool for relay
bitcoin-for-peerplays_1            | 2023-03-12T12:27:35Z [default] AddToWallet a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d  
bitcoin-for-peerplays_1            | 2023-03-12T12:28:02Z [default] keypool added 1 keys (1 internal), size=2000 (1000 internal)
bitcoin-for-peerplays_1            | 2023-03-12T12:28:02Z [default] keypool reserve 1003
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] keypool keep 1003
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] Fee Calculation: Fee:6920 Bytes:346 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out)
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] keypool added 1 keys (1 internal), size=2000 (1000 internal)
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] keypool reserve 1004
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] keypool keep 1004
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] Fee Calculation: Fee:3300 Bytes:165 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out)
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] Fee non-grouped = 6920, grouped = 3300, using grouped
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] CommitTransaction:
bitcoin-for-peerplays_1            | CTransaction(hash=b33b0d1ebf, ver=2, vin.size=1, vout.size=2, nLockTime=960)
bitcoin-for-peerplays_1            |     CTxIn(COutPoint(6299fd3add, 0), scriptSig=16001445150975a2a103160b, nSequence=4294967294)
bitcoin-for-peerplays_1            |     CScriptWitness(30440220436ec40230cd055d66aa43f1194fb0ecfbe8020d24c9b4a349b36446757612de02207dad0f23a1cce6795178668eebba59ed6a8bd79cf1fb952167051b8ca656358901, 02ce8d09140a5867bf2b1b7d875222231c62bdd6b6e14198abc53194d94baa8035)
bitcoin-for-peerplays_1            |     CTxOut(nValue=902.99996700, scriptPubKey=00142985d445a464baaca2723d7800)
bitcoin-for-peerplays_1            |     CTxOut(nValue=7.00000000, scriptPubKey=a914a27ff7ea9cb70225510dc223bc)
bitcoin-for-peerplays_1            | 2023-03-12T12:28:03Z [default] AddToWallet b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0  newupdate
bitcoin-for-peerplays_1            | 2023-03-12T12:28:04Z [default] Submitting wtx b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0 to mempool for relay
bitcoin-for-peerplays_1            | 2023-03-12T12:28:04Z [default] AddToWallet b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0  
bitcoin-for-peerplays_1            | 2023-03-12T12:32:44Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3586 seconds ago)

I tried manually, it is not working, the balance for betcoin is updated, but when I check the peerplays, it is not updated. No errors in peerplay, and I posted the bitcoin log after: ``` unlocked >>> get_sidechain_address_by_account_and_sidechain account01 bitcoin get_sidechain_address_by_account_and_sidechain account01 bitcoin { "id": "1.38.0", "sidechain_address_account": "1.2.52", "sidechain": "bitcoin", "deposit_public_key": "0368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cd", "deposit_address": "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY", "deposit_address_data": "{ \"redeemScript\": \"210368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cdac635167007c2103456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275ac635193687c2102d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4ac635193687c21025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61ac635193687c210228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866ac635193687c21037500441cfb4484da377073459511823b344f1ef0d46bac1efd4c7c466746f666ac6351936854a268\", \"witnessScript\": \"0020a3252a2204813812e990fdb50656dafb15211a68b94aacd76d78c203a6f2994c\" }", "withdraw_public_key": "02743d4f24f88095de7921b8a8486cb46f009b7c034daa931821fb688c9c1e42a2", "withdraw_address": "2MtTPtraZawsvNGc8eCdx98hXbi4gaYy8L6", "valid_from": "2023-03-12T12:02:24", "expires": "2106-02-07T06:28:15" } unlocked >>> list_account_balances account01 list_account_balances account01 49999949 TEST 1000000 PBTC 1000000 PEOS 1000000 PETH ``` ``` root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance 14639.68750000 root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" sendtoaddress "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" 7 "" "" false a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" sendtoaddress "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" 7 "" "" false b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0 root@89c99f9092a2:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance 14625.68743400 root@89c99f9092a2:~/bitcoin-network# ``` Log for the bitcoin: ``` bitcoin-for-peerplays_1 | 2023-03-12T12:27:34Z [default] keypool reserve 1001 bitcoin-for-peerplays_1 | 2023-03-12T12:27:34Z [default] keypool keep 1001 bitcoin-for-peerplays_1 | 2023-03-12T12:27:34Z [default] Fee Calculation: Fee:6920 Bytes:346 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) bitcoin-for-peerplays_1 | 2023-03-12T12:27:34Z [default] keypool added 1 keys (1 internal), size=2000 (1000 internal) bitcoin-for-peerplays_1 | 2023-03-12T12:27:34Z [default] keypool reserve 1002 bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] keypool keep 1002 bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] Fee Calculation: Fee:3300 Bytes:165 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] Fee non-grouped = 6920, grouped = 3300, using grouped bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] CommitTransaction: bitcoin-for-peerplays_1 | CTransaction(hash=a68b6fa9bd, ver=2, vin.size=1, vout.size=2, nLockTime=960) bitcoin-for-peerplays_1 | CTxIn(COutPoint(993b51e4d0, 1), scriptSig=1600148b82d4b346fb2f192f, nSequence=4294967294) bitcoin-for-peerplays_1 | CScriptWitness(304402203f26f86366f45f84093d2bdc71da15612b8ae0f5ca8a94aba65d0c33b4573942022027c35e6808ae8ea50a4360fc270338769a53ffb075803875ae11132971ddfe1901, 0287b4bb4d64481799e24f8b72194acd8c896f0302f81113cb81d80bd1e305379b) bitcoin-for-peerplays_1 | CTxOut(nValue=7.00000000, scriptPubKey=a914a27ff7ea9cb70225510dc223bc) bitcoin-for-peerplays_1 | CTxOut(nValue=902.99996700, scriptPubKey=0014eff80a4818c4f1703136aa18d4) bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] AddToWallet a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d newupdate bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] Submitting wtx a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d to mempool for relay bitcoin-for-peerplays_1 | 2023-03-12T12:27:35Z [default] AddToWallet a68b6fa9bda605601943918cfac8d0feb628fc11e4e55613945804e25574646d bitcoin-for-peerplays_1 | 2023-03-12T12:28:02Z [default] keypool added 1 keys (1 internal), size=2000 (1000 internal) bitcoin-for-peerplays_1 | 2023-03-12T12:28:02Z [default] keypool reserve 1003 bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] keypool keep 1003 bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] Fee Calculation: Fee:6920 Bytes:346 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] keypool added 1 keys (1 internal), size=2000 (1000 internal) bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] keypool reserve 1004 bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] keypool keep 1004 bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] Fee Calculation: Fee:3300 Bytes:165 Tgt:0 (requested 6) Reason:"Fallback fee" Decay 0.00000: Estimation: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] Fee non-grouped = 6920, grouped = 3300, using grouped bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] CommitTransaction: bitcoin-for-peerplays_1 | CTransaction(hash=b33b0d1ebf, ver=2, vin.size=1, vout.size=2, nLockTime=960) bitcoin-for-peerplays_1 | CTxIn(COutPoint(6299fd3add, 0), scriptSig=16001445150975a2a103160b, nSequence=4294967294) bitcoin-for-peerplays_1 | CScriptWitness(30440220436ec40230cd055d66aa43f1194fb0ecfbe8020d24c9b4a349b36446757612de02207dad0f23a1cce6795178668eebba59ed6a8bd79cf1fb952167051b8ca656358901, 02ce8d09140a5867bf2b1b7d875222231c62bdd6b6e14198abc53194d94baa8035) bitcoin-for-peerplays_1 | CTxOut(nValue=902.99996700, scriptPubKey=00142985d445a464baaca2723d7800) bitcoin-for-peerplays_1 | CTxOut(nValue=7.00000000, scriptPubKey=a914a27ff7ea9cb70225510dc223bc) bitcoin-for-peerplays_1 | 2023-03-12T12:28:03Z [default] AddToWallet b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0 newupdate bitcoin-for-peerplays_1 | 2023-03-12T12:28:04Z [default] Submitting wtx b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0 to mempool for relay bitcoin-for-peerplays_1 | 2023-03-12T12:28:04Z [default] AddToWallet b33b0d1ebf6317dee02c8e1d673df5699a0d846931a10e6280519a9b25c875e0 bitcoin-for-peerplays_1 | 2023-03-12T12:32:44Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3586 seconds ago) ```
vampik commented 2023-03-13 05:45:03 +00:00 (Migrated from gitlab.com)

On my side, everything works fine:

get_sidechain_address_by_account_and_sidechain  account01 bitcoin
{
  "id": "1.38.0",
  "sidechain_address_account": "1.2.52",
  "sidechain": "bitcoin",
  "deposit_public_key": "0368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cd",
  "deposit_address": "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY",
  "deposit_address_data": "{ \"redeemScript\": \"210368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cdac635167007c2103456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275ac635193687c2102d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4ac635193687c21025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61ac635193687c210228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866ac635193687c21037500441cfb4484da377073459511823b344f1ef0d46bac1efd4c7c466746f666ac6351936854a268\", \"witnessScript\": \"0020a3252a2204813812e990fdb50656dafb15211a68b94aacd76d78c203a6f2994c\" }",
  "withdraw_public_key": "02743d4f24f88095de7921b8a8486cb46f009b7c034daa931821fb688c9c1e42a2",
  "withdraw_address": "2MtTPtraZawsvNGc8eCdx98hXbi4gaYy8L6",
  "valid_from": "2023-03-13T05:36:21",
  "expires": "2106-02-07T06:28:15"
}
list_account_balances account01
49999949 TEST
9.99991000 BTC
1000000 PBTC
1000000 PEOS
1000000 PETH
On my side, everything works fine: ``` get_sidechain_address_by_account_and_sidechain account01 bitcoin { "id": "1.38.0", "sidechain_address_account": "1.2.52", "sidechain": "bitcoin", "deposit_public_key": "0368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cd", "deposit_address": "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY", "deposit_address_data": "{ \"redeemScript\": \"210368dc31b2b547c74f52abfc67c7fc768c68115d8ab96430d9bb4996fa660121cdac635167007c2103456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275ac635193687c2102d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4ac635193687c21025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61ac635193687c210228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866ac635193687c21037500441cfb4484da377073459511823b344f1ef0d46bac1efd4c7c466746f666ac6351936854a268\", \"witnessScript\": \"0020a3252a2204813812e990fdb50656dafb15211a68b94aacd76d78c203a6f2994c\" }", "withdraw_public_key": "02743d4f24f88095de7921b8a8486cb46f009b7c034daa931821fb688c9c1e42a2", "withdraw_address": "2MtTPtraZawsvNGc8eCdx98hXbi4gaYy8L6", "valid_from": "2023-03-13T05:36:21", "expires": "2106-02-07T06:28:15" } ``` ``` list_account_balances account01 49999949 TEST 9.99991000 BTC 1000000 PBTC 1000000 PEOS 1000000 PETH ```
vampik commented 2023-03-13 05:46:42 +00:00 (Migrated from gitlab.com)

You need to mine some blocks on Bitcoin in order for the transaction to proceed. After transfer, try to execute this (3-4 times, waiting several seconds between execution):

./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" -generate 6
You need to mine some blocks on Bitcoin in order for the transaction to proceed. After transfer, try to execute this (3-4 times, waiting several seconds between execution): ``` ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" -generate 6 ```
bobinson commented 2023-03-13 08:30:58 +00:00 (Migrated from gitlab.com)

release published.

release published.
bobinson (Migrated from gitlab.com) closed this issue 2023-03-13 08:30:59 +00:00
wsalloum commented 2023-03-13 08:38:45 +00:00 (Migrated from gitlab.com)

It worked after mining

unlocked >>> list_account_balances account01
list_account_balances account01
49999949 TEST
6.99990000 BTC
1000000 PBTC
1000000 PEOS
1000000 PETH

It worked after mining ``` unlocked >>> list_account_balances account01 list_account_balances account01 49999949 TEST 6.99990000 BTC 1000000 PBTC 1000000 PEOS 1000000 PETH ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#517
No description provided.