meshbits / khoji Goto Github PK
View Code? Open in Web Editor NEWBlockchain Explorer for Veruscoin and it's PBaaS chains
License: MIT License
Blockchain Explorer for Veruscoin and it's PBaaS chains
License: MIT License
At the moment, the balance of VRSC
blockchain doesn't show correct in VRSCTEST
network, mostly because of needing to do some extra code conditions which are specific to Verus's DeFi features.
I need help fixing this issue, if anyone can offer that help please.
If you follow the install instructions from the ReadMe file, and start VRSCTEST to sync with the blockchain database, and query balance for some addresses, it will not match with the balance shown in the Verus Desktop or VRSC test explorers for example: https://vrsctest.techloverhd.com/ or https://testex.veruscoin.io/
I'll be happy to pay bounty if anyone solves this issue.
Hi, im working on Verus DeFi support for the Wordpress shop payment plugin. Ill be working out the API commands and responses to for example pay with VRSC and the shop auto convert to Veth. or other token on Verus.
Obviously this is similar to the explorer api calls
https://github.com/VerusCoin/VerusPay.
Verus pay uses an inbetween php middleman script to take an api call then pass it it to any compatible daemon. so it can be the basis of a generic API that takes commands from any coin KMD, BTC, ZCASH.. AND ALSO can handle e..g VRSC.Veth . etc.
it also has a pass through mode so if you dont want to use simipfied API calls that get translated into the correct Daemon RPC request. you can use it just for https tunnel . to connect to multiple wallets.
https://github.com/VerusCoin/VerusChainTools/blob/master/index.php
i think i am going to re-write it as it is not readable.
regards
Chris
when using a negative page index khoji will crash
How to reproduce:
make GET request on api/v1/identities/-1
error
2022/03/22 00:13:21 Failed to get identities info from DB: rethinkdb: Cannot use a negative left index on a stream. in:
r.DB("vrsctest").Table("identities").OrderBy("blockheight").Slice(-10, 0)
panic: Failed to get identities info from DB: rethinkdb: Cannot use a negative left index on a stream. in:
r.DB("vrsctest").Table("identities").OrderBy("blockheight").Slice(-10, 0)
goroutine 11 [running]:
log.Panicf({0x92c446?, 0x5?}, {0xc0000d17e0?, 0x0?, 0x0?})
/usr/lib/go-1.18/src/log/log.go:392 +0x67
github.com/Meshbits/khoji/http.getIdentitiesSlice(0xc000284000)
/root/khoji/http/http_routes.go:314 +0x4f8
github.com/Meshbits/khoji/http.setResponseHeader.func1(0xc000284000)
/root/khoji/http/http_routes.go:58 +0x5b
github.com/fasthttp/router.(*Router).Handler(0xc00012bc70, 0xc000284000)
/root/go/pkg/mod/github.com/fasthttp/[email protected]/router.go:414 +0x46a
github.com/valyala/fasthttp.(*Server).serveConn(0xc0000e0fc0, {0x9e47d8?, 0xc000010430})
/root/go/pkg/mod/github.com/valyala/[email protected]/server.go:2328 +0x12c8
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0000bd2c0, 0xc000062960)
/root/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223 +0xa9
github.com/valyala/fasthttp.(*workerPool).getCh.func1()
/root/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x38
created by github.com/valyala/fasthttp.(*workerPool).getCh
/root/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:194 +0x1b0
The url:
insight-api-komodo/tx/send
Param:
{'rawtx': 'signedtx'}
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.