Author Topic: October 5 Test Network  (Read 182654 times)

0 Members and 1 Guest are viewing this topic.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Code: [Select]
rm -Rf witness_node_data_dir/blockchain                       # this is what resync does

that means when we do :
Code: [Select]
--resync-blockchain

we loose also our initial config.ini file with our custom settings and it's replaced with the default config.ini   ???


Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab


There is another error on 'config.minValidAssetPrice'.  It should not be because this variable should be in config.py.  There may be a syntax error in your config.py Have you checked it?  Can you post it here?

I renamed that variable to make clear its in BTC .. please update your config file

I see where is the confusion now.  I made the workaround changes to an older script which is based on this commit 'https://github.com/xeroc/python-graphenelib/commit/11a69e983cdeac16335faba69b4e4251da1be079'.

There are newer codes in your script and this means those witnesses using the latest script would have problem with my modified python script.  I am downloading your latest script and see if I can work something out.

Edit: The latest script is cool!   It has a page of nice stats.  Great work, xeroc!  :)

I apply the same workaround changes to the script and here it is:

http://pastebin.com/vhhXYqjJ

The modified script has the prompt removed.  I need to run it 'automated'. :P

Love it! You guys are great

Code: [Select]
.
+--------+-----------------+-----------------+------------------+-------------------+---------------+-----------------------+---------------------------------+
|  asset |        BTS/base |         my mean | median exchanges | blockchain median | % change (my) | % change (blockchain) |                     last update |
+--------+-----------------+-----------------+------------------+-------------------+---------------+-----------------------+---------------------------------+
|    BTC |  42589.10921864 |  42360.54428105 |   42376.16367255 |    42948.10202889 |       0.62553 |               0.84292 |              0:42:47.235001 ago |
| SILVER |   2737.45746835 |   2723.13484479 |    2723.77018101 |     2750.70000000 |    -100.03653 |               0.48375 | 16718 days, 16:09:17.235794 ago |
|   GOLD | 200435.96318184 | 199387.12877564 |  199433.78336593 |   201405.00000000 |    -100.00050 |               0.48346 | 16718 days, 16:09:17.236788 ago |
|    TRY |     59.45636514 |     59.14678788 |      59.15908331 |       59.75000000 |    -101.68191 |               0.49387 | 16718 days, 16:09:17.237815 ago |
|    SGD |    124.13697894 |    123.48921899 |     123.51629405 |      124.73731343 |    -100.80556 |               0.48361 | 16718 days, 16:09:17.238832 ago |
|    HKD |     22.34259461 |     22.22644861 |      22.23088163 |       22.45135802 |    -104.47576 |               0.48680 | 16718 days, 16:09:17.239849 ago |
|    RUB |      2.80400818 |      2.79099955 |       2.78998814 |        2.82104516 |    -135.66323 |               0.60759 | 16718 days, 16:09:17.241723 ago |
|    SEK |     21.10440258 |     20.99916266 |      20.99888056 |       21.21022727 |    -104.73835 |               0.50143 | 16718 days, 16:09:17.242603 ago |
|    NZD |    115.79657411 |    115.19304310 |     115.21759124 |      116.35312500 |    -100.86358 |               0.48063 | 16718 days, 16:09:17.243549 ago |
|    CNY |     27.28315335 |     27.14237861 |      27.14673758 |       27.94131054 |       0.56690 |               2.41232 |              0:42:47.244503 ago |
|    MXN |     10.53816929 |     10.48552510 |      10.48547844 |       10.59433249 |    -109.48931 |               0.53295 | 16718 days, 16:09:17.245995 ago |
|    CAD |    133.73664451 |    133.03782546 |     133.06796129 |      134.37666667 |    -100.74774 |               0.47857 | 16718 days, 16:09:17.246878 ago |
|    CHF |    179.98646550 |    179.04983277 |     179.08653318 |      180.86818182 |    -100.55560 |               0.48988 | 16718 days, 16:09:17.247826 ago |
|    AUD |    126.97837755 |    126.31701855 |     126.34348567 |      127.59078947 |    -100.78754 |               0.48230 | 16718 days, 16:09:17.248825 ago |
|    GBP |    265.38402236 |    263.99847247 |     264.05710225 |      266.66538462 |    -100.37681 |               0.48283 | 16718 days, 16:09:17.249853 ago |
|    JPY |      1.43889946 |      1.43123981 |       1.43170497 |        1.44557692 |    -169.49756 |               0.46407 | 16718 days, 16:09:17.250834 ago |
|    EUR |    196.67865003 |    195.65458606 |     195.69525678 |      201.85945946 |       0.56754 |               2.63415 |              0:42:47.252809 ago |
|    USD |    173.15588349 |    172.24631374 |     172.29010407 |      177.46909091 |       0.55467 |               2.49094 |              0:42:47.254692 ago |
|    KRW |      0.15203558 |      0.15273384 |       0.15127540 |        0.15306607 |    -757.74077 |               0.67780 | 16718 days, 16:09:17.256245 ago |
+--------+-----------------+-----------------+------------------+-------------------+---------------+-----------------------+---------------------------------+
Feeds for SILVER too old! Force updating!
Update required! Forcing now!
publishing feeds for delegate: bitshares-argentina
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.218', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 8603}, 'base': {'asset_id': '1.3.218', 'amount': 202}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 9033}, 'base': {'asset_id': '1.3.218', 'amount': 202}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f2d8b39ba7f6ec733800ba67a22e0c9876641b6b8cb28eb999eccf05c63559d915c5d7e1567fd40ca59aadac65bcb7fcd1986f32384768afcdb154545f5ee0e17'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.481', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 54749}, 'base': {'asset_id': '1.3.481', 'amount': 2}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 57486}, 'base': {'asset_id': '1.3.481', 'amount': 2}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f3a31b255ea26201fc6a7fb50521f5c66bed7c0fdb68e64cc670c972e953451a80e4fc1410e922fa3fb4aed1c9214b483f460a6f1701da69b3ad1418ae44ff420'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.366', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 60131}, 'base': {'asset_id': '1.3.366', 'amount': 3}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 63137}, 'base': {'asset_id': '1.3.366', 'amount': 3}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f29d9416b8613314cb924d8b11524b7083540e9bf534bb23c6eff3bd1c6a015e928ec09a108f7cfca107bb47df3c762082fac07eac7059311e97df67deeffb024'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.529', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 32701}, 'base': {'asset_id': '1.3.529', 'amount': 55}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 34336}, 'base': {'asset_id': '1.3.529', 'amount': 55}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f40ff4b4d391d7f08ae66f31dd9a552c4905bcac33aeb2920e008eae7181d72a94552c7e3215e5ade062df92ba7a73f041b923fa1f96cb38bbf9454250cf8252c'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.473', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 90620}, 'base': {'asset_id': '1.3.473', 'amount': 73}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 95151}, 'base': {'asset_id': '1.3.473', 'amount': 73}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f04ccc572cfea4d26b7f8af8892340a87f981fc01a1b2d040669045b8a20958cb00818be6a0115a7184d109e457eb59dde38319c6d12ae2f5a5c36d83f92f9da0'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.375', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 12065}, 'base': {'asset_id': '1.3.375', 'amount': 54}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 12668}, 'base': {'asset_id': '1.3.375', 'amount': 54}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['203851c2821e19d75a284b277030778f5f60a6c1fbedff13d2afdc5dacd6e852b6485c1f1319e97b5a880f9df39b61cb46de8a4458391c87c637fa272b52cf5c90'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.468', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 68558}, 'base': {'asset_id': '1.3.468', 'amount': 2445}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 71985}, 'base': {'asset_id': '1.3.468', 'amount': 2445}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['2050ab528c8d465b679c2e268b4ac54e7922649572520d7eef7e293a03abc5944e22a8d6a7b19404aba76fa0d1a57da889f5d00c848d4d0e8f410104ccd013f6d9'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.471', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 33556}, 'base': {'asset_id': '1.3.471', 'amount': 159}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 35233}, 'base': {'asset_id': '1.3.471', 'amount': 159}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f59aaafb37fe11edf75d72652f99274b419ba3f6427bad23d42c97b273bf8a90c72884b5d0dae321bd6c4480c533d5309e9cc52f87503bc9a6a49a3e1046b8e00'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.428', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 33581}, 'base': {'asset_id': '1.3.428', 'amount': 29}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 35260}, 'base': {'asset_id': '1.3.428', 'amount': 29}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['2032d02d8a4dec9ad1b2671af3aa67a9fa9d80d57516481ade99885dc3d4e2dc3e05a63ca6122cebc05a61469bf3df8366fd199b03b7f7258e6dfa957be94f8125'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.285', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 76120}, 'base': {'asset_id': '1.3.285', 'amount': 279}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 79926}, 'base': {'asset_id': '1.3.285', 'amount': 279}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f483c978185f14da3c93322f7e527044aa1684969cd140854383bd028c5475f7f3168d066f78ea7ebb7c080748f7d3a771335c79d1116f5bf792a6eeb9710b164'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.415', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 61016}, 'base': {'asset_id': '1.3.415', 'amount': 579}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 64066}, 'base': {'asset_id': '1.3.415', 'amount': 579}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f608f78785dffd5afb5e0b39d8f921a15ae0e21d0e4854a020a7e6d4945999a53331d28ce49ba4bd1882bbcafab31ee53ebf3809e09b4fb5382f79298b9f605bc'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.261', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 40121}, 'base': {'asset_id': '1.3.261', 'amount': 30}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 42127}, 'base': {'asset_id': '1.3.261', 'amount': 30}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f0934e7574f9f4b77b7b4bbc342bdcc6ba2a77108f61b908892090465efd0f56a14a8380029e7892d75f1ef8b91540d7bd8832a42f9ef932f91f28c5d9fbcf6a7'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.279', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 66595}, 'base': {'asset_id': '1.3.279', 'amount': 37}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 69924}, 'base': {'asset_id': '1.3.279', 'amount': 37}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f503222b179005644d46a860995e6572523d1473d90292036d1962cdf8488db9e3a0579cf1d3e841aa06434456fc8cda38a48e34cd58ef03329546c6aa6012f1f'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.27', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 46982}, 'base': {'asset_id': '1.3.27', 'amount': 37}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 49331}, 'base': {'asset_id': '1.3.27', 'amount': 37}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['202a674bbf7355a9a2fb9928f1f669d92af0a403ad23c9e3ec4456a2b04b3f61ff66a01d96b45eac12e7b98664f51f5c7df8a4763ec5fda72f2f8e4f8e9973a2a3'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.359', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 66346}, 'base': {'asset_id': '1.3.359', 'amount': 25}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 69663}, 'base': {'asset_id': '1.3.359', 'amount': 25}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f1b3fe14cc628c67bf8a3f2af56c965a75b3f478626793e05380760b69c2dfc4e335202e746a73388c45e672b7be3378d9794832dcd935975f737a356d8d3c0bf'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.386', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 14389}, 'base': {'asset_id': '1.3.386', 'amount': 10}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 15108}, 'base': {'asset_id': '1.3.386', 'amount': 10}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['2063f692491a59262fb83d74918ae2d93db87ae99b4002c72f61d6c45c891a7014350d5daad2c71797f215a76318e808b068cb3ec18bcfa1cd50c07d5bcf308bb8'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.330', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 92439}, 'base': {'asset_id': '1.3.330', 'amount': 47}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 97060}, 'base': {'asset_id': '1.3.330', 'amount': 47}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f5bcf9a7e41081ff0fc206205f56047f0fe6bbd906f0ceaecc0f791a4a5ba5fa91d84f705bfe9121a6cea5bc92ee69a03d25eda016a2c20c25fe07a54b2dd1871'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.536', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 58873}, 'base': {'asset_id': '1.3.536', 'amount': 34}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 61816}, 'base': {'asset_id': '1.3.536', 'amount': 34}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f30c4f927ff6d6d743f59e467a714c5134f6d90ae42909023bc69af03b314e1ac669ca74f48132b951964989075ecb41c09e0a0082f53c6fb330c8c7fb31c810a'], 'ref_block_prefix': 3011637927}
Update result: {'ref_block_num': 62884, 'expiration': '2015-10-10T11:09:45', 'operations': [[19, {'fee': {'asset_id': '1.3.0', 'amount': 100000}, 'asset_id': '1.3.390', 'publisher': '1.2.8517', 'feed': {'settlement_price': {'quote': {'asset_id': '1.3.0', 'amount': 54523}, 'base': {'asset_id': '1.3.390', 'amount': 35862}}, 'maximum_short_squeeze_ratio': 1500, 'core_exchange_rate': {'quote': {'asset_id': '1.3.0', 'amount': 57249}, 'base': {'asset_id': '1.3.390', 'amount': 35862}}, 'maintenance_collateral_ratio': 1750}, 'extensions': []}]], 'extensions': [], 'signatures': ['1f56be773befe02fbf2ff807bfa5d207a70affd7ba01d372e4f3fda9f77dc57fc51c12cbd76d6a257847da431bfddb138e76504f28a15e16c784476168ed5dcc93'], 'ref_block_prefix': 3011637927}

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube

just removed InBTC and works great : )

Wonderful!

Regarding the yunbi error, have you tried contacting them to request for an unban of your ip?  Their contact - https://yunbi.com/documents/contact
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 467
    • View Profile
  • BitShares: bhuz
Went in a fork

Code: [Select]
2692190ms th_a       fork_database.cpp:57          push_block           ] Pushing block to fork database that failed to link: 0001f3c7fb5083376d42f2dcb6a073f33601eab2, 127943
2692190ms th_a       fork_database.cpp:58          push_block           ] Head: 127878, 0001f3860c23981bb2f70d2dec46b6d900626c38
2692191ms th_a       application.cpp:430           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:78 _push_block

    {"new_block":{"previous":"0001f3c6779d5dae33e64c0d1a625c957d72c53b","timestamp":"2015-10-10T10:43:51","witness":"1.6.17","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"204bce3ab7b13ba06f1abb0b24fdfd61b0ea542b3c7cbafeab68e0123979225aff3006c975c3523de16a0767123e4b53e47cedcc270269d9280712f10ac7a3c677","transactions":[]}}
    th_a  db_block.cpp:197 _push_block
2692191ms th_a       fork_database.cpp:57          push_block           ] Pushing block to fork database that failed to link: 0001f3c8f86ff14e9935f81721b80339e80e4529, 127944
2692191ms th_a       fork_database.cpp:58          push_block           ] Head: 127878, 0001f3860c23981bb2f70d2dec46b6d900626c38
2692192ms th_a       application.cpp:430           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:78 _push_block

    {"new_block":{"previous":"0001f3c7fb5083376d42f2dcb6a073f33601eab2","timestamp":"2015-10-10T10:43:54","witness":"1.6.41","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f09332976528689bef3d0b1b76fc5edb5b9d0c308ecaea0e2ec96358cf129b83f05cd32ce0d15ef6ca41de0c4e310ba30452c80d4c28e3759e312aea1ed9600a2","transactions":[]}}
    th_a  db_block.cpp:197 _push_block

Now I am back on the main chain, after restarting the witness with --replay-blockchain

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube


There is another error on 'config.minValidAssetPrice'.  It should not be because this variable should be in config.py.  There may be a syntax error in your config.py Have you checked it?  Can you post it here?

I renamed that variable to make clear its in BTC .. please update your config file

I see where is the confusion now.  I made the workaround changes to an older script which is based on this commit 'https://github.com/xeroc/python-graphenelib/commit/11a69e983cdeac16335faba69b4e4251da1be079'.

There are newer codes in your script and this means those witnesses using the latest script would have problem with my modified python script.  I am downloading your latest script and see if I can work something out.

Edit: The latest script is cool!   It has a page of nice stats.  Great work, xeroc!  :)

I apply the same workaround changes to the script and here it is:

http://pastebin.com/vhhXYqjJ

The modified script has the prompt removed.  I need to run it 'automated'. :P
« Last Edit: October 10, 2015, 10:59:03 am by cube »
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab


There is another error on 'config.minValidAssetPrice'.  It should not be because this variable should be in config.py.  There may be a syntax error in your config.py Have you checked it?  Can you post it here?

I renamed that variable to make clear its in BTC .. please update your config file

thank you both. this is my config.py

Code: [Select]
################################################################################
## RPC-client connection information (required)
################################################################################
host   = "localhost"
port   = 8092
user   = ""
passwd = ""
unlock = ""

################################################################################
## Delegate Feed Publish Parameters
################################################################################
delegate_list            = ["bitshares-argentina"]
maxAgeFeedInSeconds      = 60*60 # 1hour

################################################################################
## Fine tuning
################################################################################
discount                 = 0.995
core_exchange_factor     = 1.05 # 5% surplus if paying fees in bitassets

minValidAssetPriceInBTC  = 0.00001
change_min               = 0.5
## trust level for exchanges (if an exception happens and level is 0.8 script
##                            will quit with a failure)
btc38_trust_level        = 0.9
bter_trust_level         = 0.5
poloniex_trust_level     = 1.0
bittrex_trust_level      = 0.5
yunbi_trust_level        = 0.8

just removed InBTC and works great : )

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab


There is another error on 'config.minValidAssetPrice'.  It should not be because this variable should be in config.py.  There may be a syntax error in your config.py Have you checked it?  Can you post it here?

I renamed that variable to make clear its in BTC .. please update your config file

thank you both. this is my config.py

Code: [Select]
################################################################################
## RPC-client connection information (required)
################################################################################
host   = "localhost"
port   = 8092
user   = ""
passwd = ""
unlock = ""

################################################################################
## Delegate Feed Publish Parameters
################################################################################
delegate_list            = ["bitshares-argentina"]
maxAgeFeedInSeconds      = 60*60 # 1hour

################################################################################
## Fine tuning
################################################################################
discount                 = 0.995
core_exchange_factor     = 1.05 # 5% surplus if paying fees in bitassets

minValidAssetPriceInBTC  = 0.00001
change_min               = 0.5
## trust level for exchanges (if an exception happens and level is 0.8 script
##                            will quit with a failure)
btc38_trust_level        = 0.9
bter_trust_level         = 0.5
poloniex_trust_level     = 1.0
bittrex_trust_level      = 0.5
yunbi_trust_level        = 0.8

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab
@cube

I modified the scrupt, and i get this output
Code: [Select]
[Starting Threads]: (poloniex)(yunbi)..Error in asset USD: no median for empty data
Error in asset BTC: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bhuz

But on the cli_wallet side there are no asset_publish_feed_operation in the account history, and the balance is always the same

The changes are not working.  I reverted to the original script and made the following changes instead.  This time it gets through.

You will need to revert to original script and apply the changes below.

Code: [Select]

Only disable bter

 mythreads["yahoo"]    = threading.Thread(target = fetch_from_yahoo)
 mythreads["yunbi"]    = threading.Thread(target = fetch_from_yunbi)
#mythreads["btc38"]    = threading.Thread(target = fetch_from_btc38)
 #mythreads["bter"]     = threading.Thread(target = fetch_from_bter)
 mythreads["poloniex"] = threading.Thread(target = fetch_from_poloniex)
 mythreads["bittrex"]  = threading.Thread(target = fetch_from_bittrex)
 mythreads["btcavg"]   = threading.Thread(target = fetch_bitcoinaverage)


under price feed, swap the lines involving the asset ids

                      "core_exchange_rate": {
                        "quote": {
                          "asset_id": "1.3.0",
                          "amount": int(denominator * 1.05) # 5% extra
                        },
                        "base": {
                          "asset_id": assets[asset]["id"],
                          "amount": numerator
                        }
                      }


I put up the modified copy here - http://pastebin.com/E9d60Htp

had to change delegate_name to delegate_list on config and add brackets.

throws an exception but seems to publish:

Code: [Select]
[Starting Threads]: (yahoo)USDUSD=X,EURUSD=X,CNYUSD=X
(bittrex)(yunbi)(btcavg)(poloniex)USD
1.0
EUR
1.1358
CNY
0.1576
USDEUR=X,EUREUR=X,CNYEUR=X
USD
0.8804
EUR
1.0
CNY
0.1387
USDCNY=X,EURCNY=X,CNYCNY=X
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "pricefeeds.py", line 144, in fetch_from_poloniex
    if float(result["BTC_"+coin]["last"]) > config.minValidAssetPrice:
AttributeError: 'module' object has no attribute 'minValidAssetPrice'

USD
6.3467
EUR
7.2088
CNY
1.0
indices:

..
Error fetching results from yunbi! (HTTPSConnectionPool(host='yunbi.com', port=443): Max retries exceeded with url: /api/v2/tickers.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe7479a8898>: Failed to establish a new connection: [Errno -2] Name or service not known',)))

...Error in this asset CNY: no median for empty data
Error in this asset BTC: no median for empty data
Error in this asset EUR: no median for empty data
Error in this asset USD: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bitshares-argentina

Your output error:

Code: [Select]
"Error fetching results from yunbi! (HTTPSConnectionPool(host='yunbi.com', port=443): Max retries exceeded with url: /api/v2/tickers.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe7479a8898>: Failed to establish a new connection: [Errno -2] Name or service not known',)))"

It seems to be due to yunbi not accepting your IP due to too many retries (ie exceeded the number of connection attempts allowed by yunbi for any IP address).  Please try it after an hour or two so that yunbi allows for connection from your machine's IP.

yep yunbi doesnt like my ip I guess, rejected to fetch their ticker from the first time. waited 2 days removing them from the script but still I'm still banned. I've commented that line again.


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc


There is another error on 'config.minValidAssetPrice'.  It should not be because this variable should be in config.py.  There may be a syntax error in your config.py Have you checked it?  Can you post it here?

I renamed that variable to make clear its in BTC .. please update your config file

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
@cube

I modified the scrupt, and i get this output
Code: [Select]
[Starting Threads]: (poloniex)(yunbi)..Error in asset USD: no median for empty data
Error in asset BTC: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bhuz

But on the cli_wallet side there are no asset_publish_feed_operation in the account history, and the balance is always the same

The changes are not working.  I reverted to the original script and made the following changes instead.  This time it gets through.

You will need to revert to original script and apply the changes below.

Code: [Select]

Only disable bter

 mythreads["yahoo"]    = threading.Thread(target = fetch_from_yahoo)
 mythreads["yunbi"]    = threading.Thread(target = fetch_from_yunbi)
#mythreads["btc38"]    = threading.Thread(target = fetch_from_btc38)
 #mythreads["bter"]     = threading.Thread(target = fetch_from_bter)
 mythreads["poloniex"] = threading.Thread(target = fetch_from_poloniex)
 mythreads["bittrex"]  = threading.Thread(target = fetch_from_bittrex)
 mythreads["btcavg"]   = threading.Thread(target = fetch_bitcoinaverage)


under price feed, swap the lines involving the asset ids

                      "core_exchange_rate": {
                        "quote": {
                          "asset_id": "1.3.0",
                          "amount": int(denominator * 1.05) # 5% extra
                        },
                        "base": {
                          "asset_id": assets[asset]["id"],
                          "amount": numerator
                        }
                      }


I put up the modified copy here - http://pastebin.com/E9d60Htp

had to change delegate_name to delegate_list on config and add brackets.

throws an exception but seems to publish:

Code: [Select]
[Starting Threads]: (yahoo)USDUSD=X,EURUSD=X,CNYUSD=X
(bittrex)(yunbi)(btcavg)(poloniex)USD
1.0
EUR
1.1358
CNY
0.1576
USDEUR=X,EUREUR=X,CNYEUR=X
USD
0.8804
EUR
1.0
CNY
0.1387
USDCNY=X,EURCNY=X,CNYCNY=X
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "pricefeeds.py", line 144, in fetch_from_poloniex
    if float(result["BTC_"+coin]["last"]) > config.minValidAssetPrice:
AttributeError: 'module' object has no attribute 'minValidAssetPrice'

USD
6.3467
EUR
7.2088
CNY
1.0
indices:

..
Error fetching results from yunbi! (HTTPSConnectionPool(host='yunbi.com', port=443): Max retries exceeded with url: /api/v2/tickers.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe7479a8898>: Failed to establish a new connection: [Errno -2] Name or service not known',)))

...Error in this asset CNY: no median for empty data
Error in this asset BTC: no median for empty data
Error in this asset EUR: no median for empty data
Error in this asset USD: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bitshares-argentina

Your output error:

Code: [Select]
"Error fetching results from yunbi! (HTTPSConnectionPool(host='yunbi.com', port=443): Max retries exceeded with url: /api/v2/tickers.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe7479a8898>: Failed to establish a new connection: [Errno -2] Name or service not known',)))"

It seems to be due to yunbi not accepting your IP due to too many retries (ie exceeded the number of connection attempts allowed by yunbi for any IP address).  Please try it after an hour or two so that yunbi allows for connection from your machine's IP.

There is another error on 'config.minValidAssetPrice'.  It should not be because this variable should be in config.py.  There may be a syntax error in your config.py Have you checked it?  Can you post it here?
« Last Edit: October 10, 2015, 10:04:24 am by cube »
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab
@cube

I modified the scrupt, and i get this output
Code: [Select]
[Starting Threads]: (poloniex)(yunbi)..Error in asset USD: no median for empty data
Error in asset BTC: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bhuz

But on the cli_wallet side there are no asset_publish_feed_operation in the account history, and the balance is always the same

The changes are not working.  I reverted to the original script and made the following changes instead.  This time it gets through.

You will need to revert to original script and apply the changes below.

Code: [Select]

Only disable bter

 mythreads["yahoo"]    = threading.Thread(target = fetch_from_yahoo)
 mythreads["yunbi"]    = threading.Thread(target = fetch_from_yunbi)
#mythreads["btc38"]    = threading.Thread(target = fetch_from_btc38)
 #mythreads["bter"]     = threading.Thread(target = fetch_from_bter)
 mythreads["poloniex"] = threading.Thread(target = fetch_from_poloniex)
 mythreads["bittrex"]  = threading.Thread(target = fetch_from_bittrex)
 mythreads["btcavg"]   = threading.Thread(target = fetch_bitcoinaverage)


under price feed, swap the lines involving the asset ids

                      "core_exchange_rate": {
                        "quote": {
                          "asset_id": "1.3.0",
                          "amount": int(denominator * 1.05) # 5% extra
                        },
                        "base": {
                          "asset_id": assets[asset]["id"],
                          "amount": numerator
                        }
                      }


I put up the modified copy here - http://pastebin.com/E9d60Htp

had to change delegate_name to delegate_list on config and add brackets.

throws an exception but seems to publish:

Code: [Select]
[Starting Threads]: (yahoo)USDUSD=X,EURUSD=X,CNYUSD=X
(bittrex)(yunbi)(btcavg)(poloniex)USD
1.0
EUR
1.1358
CNY
0.1576
USDEUR=X,EUREUR=X,CNYEUR=X
USD
0.8804
EUR
1.0
CNY
0.1387
USDCNY=X,EURCNY=X,CNYCNY=X
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "pricefeeds.py", line 144, in fetch_from_poloniex
    if float(result["BTC_"+coin]["last"]) > config.minValidAssetPrice:
AttributeError: 'module' object has no attribute 'minValidAssetPrice'

USD
6.3467
EUR
7.2088
CNY
1.0
indices:

..
Error fetching results from yunbi! (HTTPSConnectionPool(host='yunbi.com', port=443): Max retries exceeded with url: /api/v2/tickers.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe7479a8898>: Failed to establish a new connection: [Errno -2] Name or service not known',)))

...Error in this asset CNY: no median for empty data
Error in this asset BTC: no median for empty data
Error in this asset EUR: no median for empty data
Error in this asset USD: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bitshares-argentina



Offline triox

  • Full Member
  • ***
  • Posts: 170
    • View Profile
  • BitShares: triox
You are 11 commits behind last master. Can't say if that's related with your witness not recovering from a fork.

You can look inside your datadir/logs/p2p/p2p.log.20151010T040000
maybe searching for block 120718 can help to see if there's a relation, that's where the webwallet node got stuck.

Or see if there's any error message near 2015-10-10T04:24:15

I still understand just a fraction of what logs say but this might help devs to debug this issue.

That's more than I do. The file's in here:
https://s3.amazonaws.com/logsharebucket/p2p.log.20151010T040000
if anyone wants to have a look.

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 467
    • View Profile
  • BitShares: bhuz
Working great, thanks cube

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
@cube

I modified the scrupt, and i get this output
Code: [Select]
[Starting Threads]: (poloniex)(yunbi)..Error in asset USD: no median for empty data
Error in asset BTC: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bhuz

But on the cli_wallet side there are no asset_publish_feed_operation in the account history, and the balance is always the same

The changes are not working.  I reverted to the original script and made the following changes instead.  This time it gets through.

You will need to revert to original script and apply the changes below.

Code: [Select]

Only disable bter

 mythreads["yahoo"]    = threading.Thread(target = fetch_from_yahoo)
 mythreads["yunbi"]    = threading.Thread(target = fetch_from_yunbi)
#mythreads["btc38"]    = threading.Thread(target = fetch_from_btc38)
 #mythreads["bter"]     = threading.Thread(target = fetch_from_bter)
 mythreads["poloniex"] = threading.Thread(target = fetch_from_poloniex)
 mythreads["bittrex"]  = threading.Thread(target = fetch_from_bittrex)
 mythreads["btcavg"]   = threading.Thread(target = fetch_bitcoinaverage)


under price feed, swap the lines involving the asset ids

                      "core_exchange_rate": {
                        "quote": {
                          "asset_id": "1.3.0",
                          "amount": int(denominator * 1.05) # 5% extra
                        },
                        "base": {
                          "asset_id": assets[asset]["id"],
                          "amount": numerator
                        }
                      }


I put up the modified copy here - http://pastebin.com/E9d60Htp
« Last Edit: October 10, 2015, 09:28:37 am by cube »
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 467
    • View Profile
  • BitShares: bhuz
@cube

I modified the scrupt, and i get this output
Code: [Select]
[Starting Threads]: (poloniex)(yunbi)..Error in asset USD: no median for empty data
Error in asset BTC: no median for empty data
Update required! Forcing now!
publishing feeds for delegate: bhuz

But on the cli_wallet side there are no asset_publish_feed_operation in the account history, and the balance is always the same