Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rnglab

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12
76
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 15, 2015, 01:37:01 pm »
I've switched witness account from  "1.6.33"  "bts-bitshares-argentina" to "1.6.45" "rnglab"

Please downvote bts-bitshares-argentina and vote for rnglab. Thanks

{
  "id": "1.6.45",
  "witness_account": "1.2.31810",
  "last_aslot": 0,
  "signing_key": "BTS6zwC6qHhk19WBkEBT5YWAvWXjALnSTyTRTBXvSAZujckX2JSaZ",
  "vote_id": "1:56",
  "total_votes": 0,
  "url": "",
  "total_missed": 0,
  "last_confirmed_block_num": 0
}

77
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 15, 2015, 01:29:48 pm »
witness "1.6.33" is back, sorry for the delay

Update: failover script based on update_witness didn't work because witness_node process died on both servers after the fork. Checking logs now

My newest version of failover script should restart witness_node and cli_wallet in case of crash, or witness production falling below 50%.  Unlock the wallet, and switch signing keys if blocks are missed.  The first 3 times it restarts it will attempt a --replay-blockchain to get back on a majority fork.  If that doesn't work it will try a --resync-blockchain.

At least thats what I expect it to do.  I still need to test it a bit more.

great puppies! that's what we need. I can help testing if you want.

78
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 15, 2015, 11:03:42 am »
Both witness nodes crashed around 10 minutes after the fork. Seednode also crashed a few minutes later. Each on a different VPS.

Code: [Select]
{"new_block":{"previous":"000084897bc808eea0f1911cac37901486b5f7c6","timestamp":"2015-10-14T19:36:06","witness":"1.6.19","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f162b264a288624d187a02dc21655a3d99add519670b6f094807e873a3c879bca61fb02066f730b8ecaba18ccf01c08e848e5a5f0617c125c6981c31e3c1dfbf3","transactions":[]}}
th_a  db_block.cpp:191 _push_block
2317366ms th_a       fork_database.cpp:51          push_block           ] Pushing block to fork database that failed to link: 0000848b0cb606ed5d3eb45e250db0169efe761e, 33931
2317366ms th_a       fork_database.cpp:52          push_block           ] Head: 33855, 0000843f85f188ee02afcd6bda5e224429c59d5d
2317367ms th_a       application.cpp:477           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
{}
th_a  fork_database.cpp:72 _push_block

{"new_block":{"previous":"0000848a85dd34c82612e01f4544b0ff2a93b00a","timestamp":"2015-10-14T19:36:12","witness":"1.6.1","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f74f7f59213b1a5309d9062f5d5885a0f6d0ab78993acdc3db79eafaa5c423e783e5239ebf0ac8f8f99670e2cdd1240d820ec7e85ee1fc779882612810ee1ad3f","transactions":[]}}
th_a  db_block.cpp:191 _push_block
witness_node: /home/failover/bitshares-2/libraries/net/node.cpp:1605: void graphene::net::detail::node_impl::schedule_peer_for_deletion(const peer_connection_ptr&): Assertion `_closing_connections.find(peer_to_delete) == _closing_connections.end()' failed.
Aborted (core dumped)

ulimit set to 0 by default, no core files were saved.





79
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 15, 2015, 02:38:57 am »
witness "1.6.33" is back, sorry for the delay

Update: failover script based on update_witness didn't work because witness_node process died on both servers after the fork. Checking logs now

80
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 13, 2015, 10:48:41 pm »
I would just like to say spectacular job Dan, and all other devs.  Very nice product.
+2.0%

+100% (participation rate!)
my admiration for this project and its people is always growing.

dedicated seed node ready at 159.203.101.205:1777

witness producing blocks and feeds, bter excluded.

just my two CORE

81
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 13, 2015, 09:40:04 pm »
witness bts-bitshares-argentina is ready

{
  "id": "1.6.33",
  "witness_account": "1.2.89292",
  "last_aslot": 0,
  "signing_key": "BTS7vyDvX1dxcPvXs63A4cctf8ZFRcb7a3QGWoQYdX6ckuKJonbyx",
  "vote_id": "1:43",
  "total_votes": 0,
  "url": "",
  "total_missed": 0,
  "last_confirmed_block_num": 0
}

I think I'll change that name to witness.rnglab sometime soon. My other (funded) keys are still being imported. Using that account now because it was already lifetime member.

I had to find that I needed to add the prefix to the account name inside the json file =/

82
General Discussion / Re: Looking for BTS 2.0 Seed Node Operators
« on: October 13, 2015, 08:53:59 am »
dedicated seed node:

159.203.101.205:1777

83
I started on the light wallet's translation , but I I need to be able to see the words in the context . Some of them might sound ridiculous when translated out of context.   Is there any way to see the results - like a preview mode. thanks

Hi @bitsacer you mean the web wallet?  graphene-ui project on transifex? If thats you, great work : )
I've reviewed Turkish translation and created a pull request on github, we should see Turkish languate on graphene.bitshares.org on next update (you might have to clear your browser cache to see it)

As for being able to see the words in context, I could fork graphene-ui with transifex translations included, and deploy it on a vps running a local testnet. But I think I can use those resources and time on other tasks because graphene-ui development is going pretty fast and we will see Turkish language on graphene.bitshares.org pretty soon. Then you check your translation in context and modify whatever you want on transifex to be applied on the  next update. That's how I'm doing the Spanish translation.

Let me know if I can help you.
Hi , yes that's me . An update would be really great, then I can go over it and check it once more to make sure everything sounds right. Thanks

Hey @bitsacer, your translation is already available on graphene.bitshares.org, you can see it in context now.

Also new strings have been added to the interface and automatically updated on transifex. You can find new strings on transifex applying the finter "Text - Translated - No" in the search box, and see them in context by switching to Turkish on graphene-ui, they're displayed as Missing Translation followed by a key name that you can find on transifex to identify which is which.

I'll publish your bitshares.org and docs.bitshares.eu translations too when I have the time to review them.  Great work : )


84
General Discussion / Re: Beyond Bitcoin Worker Proposal? (Poll)
« on: October 11, 2015, 12:23:00 pm »
I see a number of initiatives around Bitshares having a consistency that I could only explain by the fact of having strong ideas and principles in common, in many cases even beyond profit expectations.
I think feeding back that trust is where a creation of intrinsic value begins.
An outstanding consensus platform potentates that value and makes it exchangeable.

We are tired of non consensual value and I think one of Bitshares core strengths is to be an authentic alternative.
With marketing as one of the main ways for imposing value, using (only) the same old strategies,without special cares, could be a double-edged sword in this fast evolving scenario.

I agree in that a flood of marketing worker proposals won't be beneficial, but having our major promoters approved and rewarded by stakeholders/community might ensure a strong and honest message, one that should become a referent for new external marketers and a shadow against cheap opportunistic spammers.

(Off topic: I see a huge potential in the overall worker system. I'd love to see it growing into a full decentralized job marketplace sone day.) (How's DPOShub going by the way?)

85
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 11:24:36 am »

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

I will do that, and also ask for their api call limits so we are all aware. Thank you for the advise.

86
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 11:10:53 am »


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}

87
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 10:27:08 am »


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 : )

88
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 10:24:30 am »


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

89
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 10:22:38 am »
@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.


90
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 09:39:06 am »
@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



Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12