Giter Site home page Giter Site logo

ecchat's People

Contributors

henryyoung42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ecchat's Issues

eccoind (daemon) - crash on start

After the last chat session i blieved my node ist running smoothly, but the daemon keeps crashing when i start.

debug.log:

2021-04-25 17:51:28 Activating best chain...
2021-04-25 17:51:28 mapBlockIndex.size() = 2512802
2021-04-25 17:51:28 nBestHeight = 2512162
2021-04-25 17:51:28 setKeyPool.size() = 1000
2021-04-25 17:51:28 mapWallet.size() = 119040
2021-04-25 17:51:28 mapAddressBook.size() = 12
2021-04-25 17:51:28 AddLocal(173.249.10.194:19118,1)
2021-04-25 17:51:28 Discover: IPv4 eth0: 173.249.10.194
2021-04-25 17:51:28 Generating random routing id...
2021-04-25 17:51:28


EXCEPTION: St13runtime_error
CDB: Error 22, can't open database
eccoin in AppInit()

2021-04-25 17:51:28 tor: Thread interrupt
2021-04-25 17:51:28 Shutdown: In progress...
2021-04-25 17:51:36 No valid UPnP IGDs found
2021-04-25 17:51:37 Shutdown: done

Filter out spam messages

Currently all messages received from any routing tag are output in the message window tagged with the nickname of the person you think you are chatting with. This means someone other than the person you are chatting to can send you a message which will look like it's from the person you think you're chatting to.

Add exception handler for "Invalid amount" for /send & /swap

Reported by N00BonICE:

/send 0.00000001 caused a crash:

Traceback (most recent call last):
File "ecchat.py", line 1230, in
main()
File "ecchat.py", line 1222, in main
app.run()
File "ecchat.py", line 1173, in run
self.loop.run()
File "/home/N00BonICE/.local/lib/python3.6/site-packages/urwid/main_loop.py", line 287, in run
self._run()
File "/home/N00BonICE/.local/lib/python3.6/site-packages/urwid/main_loop.py", line 385, in _run
self.event_loop.run()
File "/home/N00BonICE/eccoin/ecchat-master/zmqeventloop.py", line 174, in run
self._loop()
File "/home/N00BonICE/eccoin/ecchat-master/zmqeventloop.py", line 236, in _loop
self._queue_callbacksqueue # Call for zmq queue
File "ecchat.py", line 1084, in zmqHandler
self.complete_send(data['addr'])
File "ecchat.py", line 304, in complete_send
self.txid = coins[self.send_index].send_to_address(address, str(self.send_amount), "ecchat")
File "/home/N00BonICE/eccoin/ecchat-master/cryptonode.py", line 246, in send_to_address
return self.proxy.sendtoaddress(address, amount, comment)
File "/home/N00BonICE/eccoin/ecchat-master/slickrpc/rpc.py", line 75, in call
raise RpcException(resp['error'], method, params)
slickrpc.exc.RpcTypeError: sendtoaddress: Invalid amount (code -3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.