gottstech / grinrelay Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vault713/grinbox
:closed_lock_with_key: Transaction Relay service for Grin Wallet, with Base32/Bech32 address :golf:
License: Apache License 2.0
This project forked from vault713/grinbox
:closed_lock_with_key: Transaction Relay service for Grin Wallet, with Base32/Bech32 address :golf:
License: Apache License 2.0
Please read the Grin Relay Address Scheme, we have the 6th part as the checksum for the Grin Relay address.
For example, in address tn1-qvgsq0kd-7gvgqksg58fkqm9-ms5cplcllev4fnw-svevuqs2jukrtrc-guuvze
, the last part guuvze
is the so-called 6-code
checksum.
For the convenience of the user, we can provide a Quick Search
service: user can input the last 6-code
part to launch a searching on Grin Relay server, and the Grin Relay server can return the complete address (or more than one in some rare cases), and use can confirm or pick one as the receiver address.
This feature will be useful for the case which need use manually input the receiver's address and release the pain of this long address format.
Note:
service exit on the following error:
[2019-07-28T02:10:43Z INFO grinrelay::server] [a1156714-38df-419e-b787-ce015eca77bf] connection established
[2019-07-28T02:10:44Z INFO grinrelay::server] [a1156714-38df-419e-b787-ce015eca77bf] -> Subscribe to tn1-qvgsq0kd-7gvgqksg58fkqm9-ms5cplcllev4fnw-svevuqs2jukrtrc-guuvze
[2019-07-28T02:10:44Z ERROR grinrelay::broker::rabbit_broker] session error event: ERROR
message:not_found
content-type:text/plain
version:1.0,1.1,1.2
content-length:104
NOT_FOUND - no queue 'tn1-qvgsq0kd-7gvgqksg58fkqm9-ms5cplcllev4fnw-svevuqs2jukrtrc-guuvze' in vhost '/'
[2019-07-28T02:10:44Z INFO grinrelay::broker::stomp::session] Disconnected.
[2019-07-28T02:10:44Z INFO grinrelay::server] [a1156714-38df-419e-b787-ce015eca77bf] <- Ok
[2019-07-28T02:10:44Z WARN grinrelay::broker::rabbit_broker] session [0] disconnected due to [ClosedByOtherSide]
[2019-07-28T02:10:44Z ERROR grinrelay::broker::rabbit_broker] broker thread ending!
Network partition detected
Mnesia reports that this RabbitMQ cluster has experienced a network partition. There is a risk of losing data. Please read RabbitMQ documentation about network partitions and the possible solutions.
Node | Was partitioned from |
---|---|
eua | sga, usa |
hk | sga, usa |
sga | eua, hk, usa |
usa | eua, hk, sga |
While running in this partitioned state, changes (such as queue or exchange declaration and binding) which take place in one partition will not be visible to other partition(s). Other behaviour is not guaranteed.
Send Cancelled because of risk for abbreviated address conflict.
Please use the full address instead of the short abbr addr
2 addresses matched the same abbreviation address:
[
"tn1-qw34997h-mxxrc4gx32a7l2u-65d8cuv2f3kvqdg-32243sszlpfnxzv-ckxgak",
"tn1-qw34997h-mxxrc4gx32a7l2u-65d8cuv2f3kvqdg-32243sszlpfnxzv-ckxgak"
]
A client which was connected on usa
relay server is connecting the hk
relay server, but it cause the hk
relay sever quit and restart:
[2019-10-15T06:33:49Z ERROR grinrelay::broker::rabbit_broker] session error event: ERROR
message:not_found
content-type:text/plain
version:1.0,1.1,1.2
content-length:174
NOT_FOUND - home node '[email protected]' of durable queue 'tn1-qw3x5lvq-zu4mx5dzdr483hy-allyv00r0yualjs-y8vjqqpff730w8z-h7cwu3' in vhost '/' is down or inaccessible
[2019-10-15T06:33:49Z INFO grinrelay::broker::stomp::session] Disconnected.
[2019-10-15T06:33:49Z WARN grinrelay::broker::rabbit_broker] session [0] disconnected due to [ClosedByOtherSide]
[2019-10-15T06:33:49Z ERROR grinrelay::broker::rabbit_broker] broker thread ending!
[2019-10-15T06:33:50Z INFO grinrelay] This is Grin version 1.0.5 (git v1.0.5-7-gfe1b913), built for x86_64-unknown-linux-gnu by rustc 1.36.0 (a53f9df32 2019-07-03).
[2019-10-15T06:33:51Z INFO grinrelay] 5rq8yz: tn1-q00k34d9-n2s6zy2snu24rrj-xdcram4dhp02kgm-5zrye7c9yxfxq2u-5rq8yz
[2019-10-15T06:33:51Z INFO grinrelay] 3ugsve: gn1-qtrf9grd-7uu2egndqshvkkd-8x7nj8kmuvnwqeu-awkr4y4gl7kxc4j-3ugsve
[2019-10-15T06:33:51Z INFO grinrelay] notify: sga.relay.grin.icu-5a744842-cd4f-480a-b8dd-8ea7b54ae0dd-consumer-notify
[2019-10-15T06:33:51Z INFO grinrelay] rabbit_consumer_monitor start
[2019-10-15T06:33:51Z INFO amqp::session] Session initialized
[2019-10-15T06:33:51Z INFO grinrelay] Opened channel: 1
[2019-10-15T06:33:52Z INFO grinrelay] Queue declared: DeclareOk { queue: "hk.relay.grin.icu-9f830990-44d2-462a-b6a7-dad553e56d5a-consumer-notify", message_count: 0, consumer_count: 0 }
[2019-10-15T06:33:54Z INFO grinrelay] queue bind successfully
[2019-10-15T06:33:54Z INFO grinrelay] Starting consumer Ok("amq.ctag-bz3cgT5hgmbdneD2KKDUaw")
[2019-10-15T06:33:54Z INFO grinrelay] Broker URI: 127.0.0.1:61613
[2019-10-15T06:33:54Z INFO grinrelay] Bind address: 0.0.0.0:3418
[2019-10-15T06:33:54Z INFO grinrelay::server] broker handler started
[2019-10-15T06:33:54Z INFO ws] Listening for new connections on 0.0.0.0:3418.
[2019-10-15T06:33:54Z INFO grinrelay::broker::rabbit_broker] established broker session
[2019-10-15T06:33:56Z INFO ws::io] Accepted a new tcp connection from 18.162.90.21:51754.
[2019-10-15T06:33:56Z INFO grinrelay::server] [7ca81f8e-8f95-4e8d-b170-045192337687] connection established
[2019-10-15T06:33:56Z INFO grinrelay::server] [7ca81f8e-8f95-4e8d-b170-045192337687] -> Subscribe to tn1-q05y5n9x-67cec43ngu3ppfa-448sj75u36przms-zw6elmauj7q4dl7-xsfvx9
[2019-10-15T06:33:56Z INFO grinrelay::server] [7ca81f8e-8f95-4e8d-b170-045192337687] <- Ok
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.