getcanoe / canoed Goto Github PK
View Code? Open in Web Editor NEWDaemon for the Canoe Nano wallet, written in Nodejs
Home Page: https://getcanoe.io
Daemon for the Canoe Nano wallet, written in Nodejs
Home Page: https://getcanoe.io
Some kind of authentication would be great to be able to control who has access to your backend. Maybe just some basic http auth would be enough.
Error when initialising the canoed
[error: Error: Connection refused: Not authorized
at MqttClient._handleConnack (/root/canoed/node_modules/mqtt/lib/client.js:893:15)
at MqttClient._handlePacket (/root/canoed/node_modules/mqtt/lib/client.js:329:12)
at work (/root/canoed/node_modules/mqtt/lib/client.js:271:12)
at Writable.writable._write (/root/canoed/node_modules/mqtt/lib/client.js:281:5)
at doWrite (/root/canoed/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/root/canoed/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Writable.write (/root/canoed/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Socket.ondata (_stream_readable.js:693:20)
at Socket.emit (events.js:197:13)
at addChunk (_stream_readable.js:288:12) ](url)
Here is terminal Script
root@acvd:~/canoed# canoed
info: Connected to Postgres
info: Connecting to Redis ...
info: Http server started on port 8180
info: Connected to Redis
error: Error: Connection refused: Not authorized
at MqttClient._handleConnack (/root/canoed/node_modules/mqtt/lib/client.js:893:15)
at MqttClient._handlePacket (/root/canoed/node_modules/mqtt/lib/client.js:329:12)
at work (/root/canoed/node_modules/mqtt/lib/client.js:271:12)
at Writable.writable._write (/root/canoed/node_modules/mqtt/lib/client.js:281:5)
at doWrite (/root/canoed/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/root/canoed/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Writable.write (/root/canoed/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Socket.ondata (_stream_readable.js:693:20)
at Socket.emit (events.js:197:13)
at addChunk (_stream_readable.js:288:12)
info: Calling exit...
info: Cleaning up...
It might be interesting to add some kind of IP banning to be able to ban people trying to DoS by requesting work over and over again. Maybe some fail2ban setup could also work and automatically ban clients that request too much work.
Setting a default representative via the backend config would be desireable to help dencetralise the network even more. Right now the default rep is hard coded in the client correct?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.