Skip to content

Instantly share code, notes, and snippets.

Cosmin Nechifor CosminNechifor

Block or report user

Report or block CosminNechifor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View HeapSORTvsQuickSORT_.gitattributes
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
@CosminNechifor
CosminNechifor / geth.txt
Last active Jul 25, 2018
Did anyone experience this?
View geth.txt
ERROR[07-25|11:20:39.202]
########## BAD BLOCK #########
Chain config: {ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 10 EIP158: 10 Byzantium: 1700000 Constantinople: <nil> Engine: ethash}
Number: 3707415
Hash: 0x890dde876f186eb277310bd96304fdbb9cc9d32eb7ff4d0f0e20ff0c9a361aca
Error: invalid chain id for signer
##############################
View FATAL: Settle transaction threw
2018-07-26 14:09:36 [debug ] SEND [raiden.network.transport.matrix] current_user=@0x97a9f9222ba359e5547055500769e5cd662ca0af:transport03.raiden.network data={"type": "RevealSecret", "message_identifier": 17407213538509342488, "secret": "0xb2f0d8aee7d326b313d0b720c3dc39ea21483039eb610857da67f65f3e46620f", "signature": "0xcded04b5b87cc7559e108c0b2f651bba46b466200f7d8f21484ad2f93431e58509ccf0917458ceb9674c78e054d5e36d5a40754ae335f669ea96deba858f52011c"} room=<Room id="!KtyXkdJHZzPOSjvsis:transport03.raiden.network" alias="#raiden_ropsten_0x82641569b2062b545431cf6d7f0a418582865ba7_0x97a9f9222ba359e5547055500769e5cd662ca0af:transport03.raiden.network">
2018-07-26 14:09:36 [warning ] Connection pool is full, discarding connection: transport03.raiden.network [urllib3.connectionpool]
2018-07-26 14:09:36 [warning ] Connection pool is full, discarding connection: transport03.raiden.network [urllib3.connectionpool]
2018-07-26 14:09:36 [warning ] Connection pool is full, discarding conne
View test_echo_node_response
(raiden) ➜ raiden git:(event_api) pytest raiden -xsv -k test_echo_node_response
============================= test session starts ==============================
platform linux -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /home/cosmin/.virtualenvs/raiden/bin/python3
cachedir: .pytest_cache
rootdir: /home/cosmin/Documents/WORK/GITHUB/raiden, inifile: tox.ini
plugins: timeout-1.2.1, random-0.2, cov-2.5.1, flaky-3.4.0
timeout: 540.0s method: signal
collecting 35 items /home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/grequests.py:21: MonkeyPatchWarning: Patching more than once will result in the union of all True parameters being patched
curious_george.patch_all(thread=False, select=False)
collected 347 items / 346 deselected
View gist:d2e55a955c4a35434f9368162893ec90
Traceback (most recent call last):
File "/home/cosmin/.virtualenvs/raiden/bin/raiden", line 11, in <module>
load_entry_point('raiden', 'console_scripts', 'raiden')()
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/__main__.py", line 11, in main
run(auto_envvar_prefix='RAIDEN')
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 1043, in invoke
View differences
(Pdb++) p.pprint(old_version)
[{'block_number': 36,
'event': 'SendRevealSecret',
'message_identifier': 16539989251741823448,
'queue_identifier': QueueIdentifier(recipient=b'co7\xd7\x85%}\x91\x991\xac\xff1\x8fp\xfb}\xa4\xf9\x03', channel_identifier=0),
'recipient': b'co7\xd7\x85%}\x91\x991\xac\xff1\x8fp\xfb}\xa4\xf9\x03',
'secret': b'(z\x8e\xad\xec\xbf\x11\x1d\xaaO\x1c\x05\xdf\x96Gw\x830)\xe5'
b'\x8a\xe5\xdb\x0e\xb5v\x85\xbb\x1cu\xd4\x80',
'secrethash': b'\xf1t\xd0\x10\x1ar\x90\x82\x03\xad\x8f\x90\xe8\x83\x95\x9b'
b'\xe5\xef\xdb\xf2j\xe2\xce\x02\xa9h=o\xc5="\xc7'},
View gist:683eb698c3966144b06a2eadaa7af25a
{
block_number: 3841099,
event: "SendSecretRequest",
recipient: "0x92746ece9d44e9fce1d98947658956554cca452d",
message_identifier: 5753204922884076000,
payment_identifier: 1534325844568,
amount: 1,
secrethash: "0x25dde3951ce62c05f857f23c302fcc047539a456b396f7c3a02716bd8d05d803"
},
{
View parity
(raiden) ➜ raiden_0_5_1 ./raiden-0.5.1-linux --keystore-path ~/.ethereum/testnet/keystore --eth-rpc-endpoint "parity.ropsten.ethnodes.brainbot.com:8545"
Welcome to Raiden, version 0.5.1!
----------------------------------------------------------------------
| This is an Alpha version of experimental open source software |
| released under the MIT license and may contain errors and/or bugs. |
| Use of the software is at your own risk and discretion. No |
| guarantee whatsoever is made regarding its suitability for your |
| intended purposes and its compliance with applicable law and |
| regulations. It is up to the user to determine the software´s |
| quality and suitability and whether its use is compliant with its |
View logging error
--- Logging error ---
Traceback (most recent call last):
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_event_handler.py", line 343, in on_raiden_event
handle_contract_send_channelsettle(raiden, event)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_event_handler.py", line 307, in handle_contract_send_channelsettle
second_locksroot,
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/network/proxies/payment_channel.py", line 201, in settle
partner_locksroot=partner_locksroot,
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/network/proxies/token_network.py", line 912, in settle
raise RaidenRecoverableError('local state can not be used to call settle')
View in the air
7eddd3371135f:transport03.raiden.network data={'type': 'LockedTransfer', 'chain_id': 3, 'message_identifier': 7946758465706352237, 'payment_identifier': 1534943327306, 'nonce': 21, 'token_network_address': '0x9fe1f19d8c0d2591fd01486e575b44f4220ef241', 'token': '0x0f114a1e9db192502e7856309cc899952b3db1ed', 'channel_identifier': 99, 'transferred_amount': 57, 'locked_amount': 1, 'recipient': '0x8a0ce8bda200d64d858957080bf7eddd3371135f', 'locksroot': '0x7a51524fd93b1af5006fc453ca5e7540daaa55cc20d25b1b5cdf2a24eaa4fe1b', 'lock': {'type': 'Lock', 'amount': 1, 'expiration': 3889523, 'secrethash': '0xcc48d2dcf629c69549c3ea6db7403d9917bf1f122c31c93b09f071338623c52b'}, 'target': '0x8a0ce8bda200d64d858957080bf7eddd3371135f', 'initiator': '0x000d91cf263a11f9bfcee3752e5b03fc1196ce98', 'fee': 0, 'signature': '0x8fff617d0977ce209074bcbb9574ec623ab6a566562ef8beafc8748633cb41426cd6b833a8b6bc07c7e88c56ba1d7d8875e2ce1ef81e79b6d5a22779a7ef0da71c'}
2018-08-22 13:08:47 [info ] MESSAGE RECEIVED [raiden.network.tran
You can’t perform that action at this time.