Giter Club home page Giter Club logo

team-exor / eiquidus Goto Github PK

View Code? Open in Web Editor NEW
85.0 85.0 178.0 6.63 MB

Feature-rich open-source altcoin block explorer. Regular Updates ~ Platform Independent ~ Mobile Friendly ~ Supports Themes, Markets, Charts, Claiming Addresses, Public API's, Custom RPC Cmds, Bitcoin, Heavycoin, zk-SNARKs ~ List Masternodes, Network Peers, Top 100 Wallets ~ Built-in Update Script ~ Highly Customizable

Home Page: https://explorer.exor.io

License: BSD 3-Clause "New" or "Revised" License

JavaScript 54.44% Pug 24.60% SCSS 20.96%
altcoins blockchain blockchain-explorer blockexplorer cryptocurrency

eiquidus's People

Contributors

gdiscord avatar joeuhren avatar sudormdir avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eiquidus's Issues

Burned coins vs. circulating supply

Bug report (of sorts???): When adding a burn address to settings.json, it does in fact create the "Burned Coins" category in the Wealth Distribution table as expected. It does not, however, remove the coins in that address from the quantity reported in the coin_supply_panel. I imagine this is by design, but would like to open a discussion at least to suggest that burned coins should be subtracted from circulating supply so long as they continue to be categorized as burned (i.e., COINBASE [in our case] minus "Burned Coins").

If somehow they get spent through hack or crack, they will wind up in some other address. And since the explorer depends on address to determine burn status, they will re-enter circulating supply automatically once a richlist-reindex is done, no? I just feel like while they are burnt, they should not count towards circulating supply. Thoughts?

added new market not working

Have tried to add tradeogre market but it's not functioning correctly.

This is what was done so far:

add tradeogre.js to .lib/markets
edit settings.json to include tradeogre to the "exchanges" section
edit .lib/settings.js to include tradeogre.

The one thing missed out is how to construct the image_logo field in tradeogre.js.

Can you please shed light on the required steps to get this market successfully added?

Many thanks in advance.

API listed local IP address

#10

Hi,

I found this issue was reported just over two years ago (#10); tried to reopen it but there seems to be no option to. Therefore I'm creating a new request instead.

I changed the base_server in lib/explorer.js to the domain name, and the linking works fine when clicked - the user is taken to the correct page on the domain. However, the display label on the api info page still displays as 127.0.0.1 instead of the domain name the user will be taken to.

Have gone through view/info.pug and I see it is supposed to be captured in #{address}, but not sure where the runtime value is coming from.

Can you please give some pointers.

explorer not executing the /etc/getlasttxs/0 command after loading the main index page

I setup the explorer, got the chain fully sync'd. The index page loads but just sits there with processing on the screen. I see in the console that it never runs the /ext/getlastaxs that it should be running according to index.pug. I have setup several iquidus explorers before and hadn't run into this so hopefully you can help guide me.

All other pages seem operational, it can get blocks/transactions/show peers/richlist...

The addnodes doesn't seem to work either thou...

ubuntu 22.04
nodejs 20.1
mongodb 6.0.5

rock'n'rain coin- pos

Sync issue with coin Social Send

This coin has a current explorer running on the code base of iquidus. Don't know any of their specifics. I just downloaded the code in
the past week, will run an update real quick as well.

I can provide a bootstrap if needed, it's about 2.25gb... the blocks count is up to 3.2m...

Thanks

edit: https://github.com/SocialSend/SocialSend

edit 2: updated explorer.js file but still same error as the 2nd one

Error during initial sync:

'npm run reindex'

84165: c287f659ea6268aab3eeb957c1a6529fa2fda732eab71f6ca48f350dedacce9d
84165: 4bd23d3e93efa9b62de37b1a64fed141e82141be068a01ef2dfa4be1cad5d66c
/root/sendexplorer/lib/explorer.js:1088
    module.exports.syncLoop(array.length, function (loop) {
                                                   ^

RangeError: Maximum call stack size exceeded
    at /root/sendexplorer/lib/explorer.js:1088:52
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)

Node.js v20.5.1
root@shawnvpslenexa241:~/sendexplorer# 

And after running npm run sync-blocks

root@shawnvpslenexa241:~/sendexplorer# npm run sync-blocks
Script launched with pid: 2358412
Syncing blocks.. Please wait..
/root/sendexplorer/lib/explorer.js:823
        if (done) {
        ^

RangeError: Maximum call stack size exceeded
    at Object.next (/root/sendexplorer/lib/explorer.js:823:9)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at /root/sendexplorer/lib/explorer.js:1097:14
    at Object.next (/root/sendexplorer/lib/explorer.js:846:13)
    at Object.syncLoop (/root/sendexplorer/lib/explorer.js:871:10)

Node.js v20.5.1
root@shawnvpslenexa241:~/sendexplorer# 

Altmarkets No data to display

AltMarkets Error!
This market has no data to display.

The sync succeeds and the database does appear to have the data.

trying to add pairs

 "altmarkets": {
        // enabled: Enable/disable the altmarkets exchange (true/false)
        //          If set to false, the altmarkets page will be completely inaccessible and no market data will be downloaded for this exchange
        "enabled": true,
        // trading_pairs: An array of market trading pair symbols
        //                You can add as many trading pairs as necessary
        //                All entries must specify your coins symbol as it is displayed on the exchange, followed by a slash (/) and ending with the symbol of the market or asset that is being traded against
        //                Ex: "LTC/BTC", "LTC/USDT", "LTC/ETH"
        "trading_pairs": [ "LDOGE/DOGE",  "LDOGE/LTC", "LDOGE/ETH" ]
      }

enable ssl without reverse proxy or lets encrypt

have my own ssl certificate to use (not from lets encrypt), uploaded the files and updated settings.json as below, then restarted the explorer, but only http requests are served. https requests return "Server timeout" error.

"webserver": {
"port": 80,
"tls": {
"enabled": true,
"port": 443,
"cert_file": "/etc/explorer_node/mydomain.com/mydomain.com.crt",
"chain_file": "/etc/explorer_node/mydomain.com/mydomain.com_chain.crt",
"key_file": "/etc/explorer_node/mydomain.com/mydomain.com.key"
}

Must Nginx and letsencrypt be used in order for ssl to work?

Masternode list

Hello, first i want to thank you for such a great explorer code.

Our community forked and we are learning core basics on our community project.

As explorer is operational, it can show masternodes count, but it cannot show masternode list.

I edited rpc command that suits our coin, as it is "masternode list"

and it return like this from daemon

"a37cf00ba91169f7255c586fecdfcfd5864e928cfdc02293c78a3a93ab49dfb9-1": {
"proTxHash": "b68873007e51424aaff99c8bebf0b44cfe8a9ff0f3fb3c92cee5d73a917a7fff",
"address": "161.35.16.51:23506",
"payee": "RRWunLwWsx19FqhWoDHxgfkXKCAQwZsMf2",
"status": "ENABLED",
"lastpaidtime": 1619832967,
"lastpaidblock": 55728,
"owneraddress": "RPQGRDFU994MHAjk9xNfyKN1ZZtp4HLddn",
"votingaddress": "RUUsqu2o2hJmKApEGUVWFxX7dBEbeRddHC",
"collateraladdress": "RCFT8EDcHKddnwJzhdThjKshr4FRg7xskM",
"pubkeyoperator": "846ff01786639b32faec708ece0380e1cf9ac9c63cf05f6697c17104eaadadacbf55af867b71860ed8a6e8556eb129ea"
},

Can you point us what could be the problem that Masternode link wont show masternodes?

explorer is on https://rxcinfo.crypto.ba

Thank you!

Syncings by Cron dont work

Hi team, i have started an explorer and it works very well but it doesnt sync via cron.
Here is my cron text:
*/1 * * * * cd explorer && npm run sync-blocks > /dev/null 2>&1
*/5 * * * * cd explorer && npm run sync-markets > /dev/null 2>&1
*/5 * * * * cd explorer && npm run sync-peers > /dev/null 2>&1
*/5 * * * * cd explorer && npm run sync-masternodes > /dev/null 2>&1

if i go to explorer directory and run "npm run sync-blocks > /dev/null 2>&1" it works.
Can you give me any help? Thank you in advance!

[Feature Request] Extending the current api explorer to support light wallets up to trezor codebook v2.

Here is a practically working web wallet https://github.com/PIVX-Labs/MyPIVXWallet.git.
It works on the principle of MyEtherWallet. Unlike electrum, this pivx wallet does not use an additional network of electrumx servers.
For its work, you only need an explorer with trezor/codebook/api/v2/
I don't see the point in moving to trezor/codebook, go language and another database.
So I'm currently working on api extension (/ext/ or ext/v2/ )for equidus 1.99. A few features are missing for a quick start.
The main function is /api/v2/utxo. I started modify the code. To receive and send coins, it is enough to add one function /ext/utxo/addr|xpub. Other features: the launch of the masternode and the cold staking wallet can be disabled, commented out.
If you take care of the missing api functions, then other pivx-based projects can quickly adopt this lightweight wallet and your explorer will become even more popular. It can be converted into an apk container.

Addresses from xpub maked.
https://stackoverflow.com/questions/66391617/how-can-i-derive-btc-m44-addresses-from-xpub maked
Mypivxwallet: // If the user creates more than ${MAX_ACCOUNT_GAP} empty wallets we will not be able to sync them! MAX_ACCOUNT_GAP=20

/ext/getaddresstxs/
[{"timestamp":,"txid":"b0bb...","sent":800000,"received":0,"balance":}, send and recive must be swapped, added vout and etp

For pubx (recive>sent or tx.vin=[]) :
[{"address":"1", "path":"m/44/xx/0/1", "timestamp":,"txid":"b0bb...","value":800000, vout: 1", height: xxxxx, confirm: xxxx},
{"address":"1", "path":"","timestamp":,"txid":"b0bb...","value":90000000, vout: 2", height: xxxxx, confirm: xxxx},
{"address":"1", "path":"", "timestamp":,"txid":"b0bb...","value":800000, vout: 3", height: xxxxx, confirm: xxxx},
]

Coin Supply issue

Coin Supply keeps 0.
How I can fix it. It is PoW+PoS coin.
Blackcoin fork.

masternode not showing

Script launched with pid: 80838
Syncing masternodes.. Please wait..
Masternode sync complete

but masternode not showing in MN page and not show in title

API listed local IP address

Hi,

what do I have to change so that the local IP address no longer appears under api, but the test.xyz instead?

Call to /api/getdifficulty comes up with error

explorer-out.log
attached is my log file for explorer

I get the same error which ever api i call i make from browser, also difficulty and network hash rate do not show values on explorer page and im assuming this could be to do with this error too.

the graphs also are not showing data

edit :
i also get this error when trying to reindex from CLI -
Error: Unable to connect to explorer API

i was using npm run reindex when this happened

anyone got any ideas how to fix?

thankyou

RangeError: Maximum call stack size exceeded

Hitting this error at specific block height when trying to setup the browser for PIVX blockchain.
The block height is 631919.

Looking at the crytoid explorer it shows this particular block has a huge number of utxos -
see

https://chainz.cryptoid.info/pivx/block.dws?e901a42fe4e3840cf4a90711c4ae0000df3f266087bb2cc9fbcd6ee68d1ffb1c.htm

Could you please give some pointers on how to fix the error?

Below is the error.

function processVoutAddresses(address_list, vout_value, arr_vout, cb) {
^

RangeError: Maximum call stack size exceeded
at processVoutAddresses (/PIVX/explorer/lib/explorer.js:80:30)
at /PIVX/explorer/lib/explorer.js:1143:13
at Object.next (/PIVX/explorer/lib/explorer.js:806:13)
at /PIVX/explorer/lib/explorer.js:1147:20
at /PIVX/explorer/lib/explorer.js:103:18
at Object.convert_to_satoshi (/PIVX/explorer/lib/explorer.js:141:12)
at /PIVX/explorer/lib/explorer.js:100:24
at /PIVX/explorer/lib/explorer.js:1059:14
at Object.next (/PIVX/explorer/lib/explorer.js:786:13)
at /PIVX/explorer/lib/explorer.js:1055:14
at Object.next (/PIVX/explorer/lib/explorer.js:806:13)
at Object.syncLoop (/PIVX/explorer/lib/explorer.js:831:10)
at Object.is_unique (/PIVX/explorer/lib/explorer.js:1048:20)
at processVoutAddresses (/PIVX/explorer/lib/explorer.js:90:20)
at /PIVX/explorer/lib/explorer.js:1143:13
at Object.next (/PIVX/explorer/lib/explorer.js:806:13)

Node.js v20.10.0

install question

hi all ,

i do know node and mongodb and did setup geth as well , but i dont know whats the use of coin daemon , and how to setup , is there any more explanation or tutorial ?

thanks

sync-masternodes error

Is the eIquidus masternode functionality compatible with older (i.e., pre-Evo) Dash codebases that use calls such as masternode count instead of getmasternodecount and masternode list instead of getmasternodelist? These changes have been made in the api_cmds section of settings.json, but I imagine it is looking for different array outputs than the older commands are generating, perhaps? This is the result, for instance, of running sync.js masternodes:

Syncing masternodes.. Please wait..
Masternode update error: Tx Hash is missing
Error: Cannot save masternode [address redacted].```

Unable to start explorer NPM server

Getting this over and over again after trying npm start on GCP: what am I missing? nothing else is using port 80. where is the bind address set??

Cluster restarting...
Initializing database.. Please wait...
Database initialization complete
node:events:491
throw er; // Unhandled 'error' event
^

Error: bind EACCES :::80
at listenOnPrimaryHandle (node:net:1500:18)
at rr (node:internal/cluster/child:159:12)
at Worker. (node:internal/cluster/child:109:7)
at process.onInternalMessage (node:internal/cluster/utils:49:5)
at process.emit (node:events:525:35)
at emit (node:internal/child_process:939:14)
at processTicksAndRejections (node:internal/process/task_queues:84:21)
Emitted 'error' event on Server instance at:
at listenOnPrimaryHandle (node:net:1501:21)
at rr (node:internal/cluster/child:159:12)
[... lines matching original stack trace ...]
at processTicksAndRejections (node:internal/process/task_queues:84:21) {
errno: -13,
code: 'EACCES',
syscall: 'bind',
address: '::',
port: 80

error on running

Mongodb 5.x

depan

all settings is fine but after run become like that.

unspent utxo

Hi,
Does it support querying the unspent utxo list of any address?

Not accepted mined blocks are not hidden nor marked

Dear eIquidus team,

what I discovered is, that my eIquidus explorer shows POS-mined blocks, which were mined but not accepted by the chain, together with normally mined and accepted blocks (just showing "-1" confirmations within the transaction). For this reason, the balance on a staking address does not correspond to the balance of the node wallet.

How can we solve this? Is there a setting, where I can prevent eIquidus from showing not accepted blocks and also not include them in the address - balance?

Pls. let me have a fast feedback, as I already get inquiries from stakers all over the world.

Thank you very much in advance.

Best,
Johannes
PUT-Admin

Empty pages for transcations

pagetranserr1
Hi, we face a lot of empty transaction-pages on our Scrypt 2.13 Coins eIquidus Explorer v1.99.0 at the very start of the pages (pages 42493 to 4xxxx). We found out about this, as we wanted to view the very first transation.

Not sure what does cause this problem. Can you help?

Double balance

Hello, anyone else facing issue with double balance for each user?

Tried to clean the cache, delete user and rebuild the whole thing on several servers, the problem remains.

The coin is a fork of Reet, also a fork of Blackcoin-More (a POW/POS Scrypt coin)

But also happens for coins with POW type of chain, also on SCRYPT algo, and SHA-256 algo

Saving addresses as base58 vs Bech32

We have been using eiquidus explorer and love it however recently ran into an issue when upgrading our core to a new hd wallet that can uses segwit. After the node update eiquidus now saves utex addresses in mongod as Bench32 (starts with the number 3) instead of the legacy address that is base58. This is an interesting issue and wasn't sure if there was a simple update to convert the Bench32 to base58 before saving into mongod db.

Help to add a new exchange file in the system

Hello good afternoon, I don't have much knowledge in programming but I asked the Dev of Xeggex Exchange to make a market configuration file and I would like to know how I can add it to the system, or if someone could do that, because then I'll pass it on file to configure

Explorer shows a line for POS difficulty when it's a POW coin

I have the settings.json set to difficulty="POW" yet it still shows a difficulty for POS in the chart. I even tried using npm run reindex but it didn't fix the problem. I looked at the MongoDB and saw that in db.networkhistories a value is set for difficulty_pos for every object. The first value is equal to what the difficulty_pow should be, probably because I didn't change the difficulty until after I already ran the program a few times, but it's 0 for every subsequent object and the difficulty_pow displays the real difficulty. How can I make sure the chart doesn't show the POS difficulty?
Running on Ubuntu 22.04.3 LTS

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.