Pages:
Author

Topic: [ANN][MIN] Minerals - POS | Developing own anon solution | - page 14. (Read 742176 times)

sr. member
Activity: 411
Merit: 252
Can anyone tell me why my wallet won't sync it the one downloaded from the op?Huh

v1.0.0.0

is there a config file?
thnx
Add this to Minerals.conf in ~/.Minerals (Linux) or %AppData%\Roaming\Minerals on Windows

Code:
addnode=54.76.249.21:33442
addnode=178.62.10.91:33442
addnode=192.99.9.229:33442
addnode=198.100.146.163:33442
addnode=23.92.53.139:33442
addnode=192.241.188.47:33442
addnode=[2607:5300:100:100::b4]:33442
addnode=178.221.235.61:33442
addnode=77.120.190.129:33442
addnode=94.180.58.239:33442

I've installed the block explorer on the AWS EC2 server.
It runs Ubuntu Server 14.04 LTS, same distribution that I used for testing & development (or hacking if you prefer) on VMWare Workstation. It currently synchronizes with the block chain (20% done)
sr. member
Activity: 1274
Merit: 265
Can anyone tell me why my wallet won't sync it the one downloaded from the op?Huh

v1.0.0.0

is there a config file?
thnx
sr. member
Activity: 411
Merit: 252
If it works as intended , yes , publish it as beta .

I think it's good to go for a bèta version.

Here is my wallet mining a stake of 0.25093548 MIN or minting 0.25093548 MIN if you prefer:


This looks like this in the block explorer:


And in JSON format from the query result:

Code:
{
    "hash" : "a6d17726f3bbd3716ab3a633c04f4787d8e62d698b5b124d3073f77fb0a436f0",
    "confirmations" : 184226,
    "size" : 860,
    "height" : 91710,
    "version" : 6,
    "merkleroot" : "26ce8dfaf283cb4cb595be2373af0ec24e594dd87dcfb7f1203c0facbf966e3a",
    "mint" : 0.25083548,
    "time" : 1405027595,
    "nonce" : 0,
    "bits" : "1e01c225",
    "difficulty" : 0.00222147,
    "blocktrust" : "9196bb",
    "chaintrust" : "1de675706366a5",
    "previousblockhash" : "61fd2260defd13ed32c078f8b3a85c108a7258eb0e2258900733fe06f0dc9056",
    "nextblockhash" : "027eddaa33fa6d4cf257ccbbc02638bb8c567b306952ad25e8ef811c53d34658",
    "flags" : "proof-of-stake",
    "proofhash" : "00015a90ed54c44c5ed373402a8470e441b7764b979a3147ec135aa37f017deb",
    "entropybit" : 0,
    "modifier" : "241a87685f9416a1",
    "modifierchecksum" : "c217bdc3",
    "tx" : [
        "ca8d451cebc0a55ba70070a953dc86d4f99004779448b544f9c65ce7d32e2f59",
        "6deca74a482157d2a8cdb14cd6c2350ff9febdd390cc714cd87e16dcab817a56",
        "7ce3b1bf8633c09497032fd72bc321d974cae0bb9200f9ba934e4c2a363e2a25"
    ],
    "signature" : "304502210089ca3fb85d0a165f45dcec6e1bd774050b63219041b7639c81473edf4889ee2c0220029a2678c786dbb80587dba59623cee5da3460708ca4dc175886b8f984721dc0"
}

Meaning that what is shown by the QT wallet and the "mint"-field when querying the wallet, is the correct reward and my assumption from yesterday seems to be correct with the block view. In this case: Transaction Fees: -[-0.25082548] + 0.00001 = 0.25083548. This is somewhat confusing. When you query the transaction itself by it's hash in the explorer, the "fee" corresponds to the amount of reward you minted.
I'll start looking into making this kind of information visible and understandable once it's all up & running.

If you do not mind this for a while, I can start seriously searching for a VPS provider that will host this. Eventually getting Kimsufi dedicated hosting?
I decided to go for Amazon's AWS solution. It's a completely scalable and customizable solution. It will start with a tiny t2.micro. It it's not sufficient, we can upscale, clone, load balance, etc. It can also provider the whole infrastructure for dnsseeds, website, etc. Too bad I didn't know about it a few months ago, or I'd host morningminerals there too :p

Don't expect the block explorer tomorrow. At latest this weekend in its current ugly form. It's CentOS-based and it's a little different from Ubuntu, which I used to test in my VM, in what concerns the configuration files I need to create: different locations, structure for apache2 files for example.
sr. member
Activity: 269
Merit: 252
If it works as intended , yes , publish it as beta .
sr. member
Activity: 411
Merit: 252
Status Report Grin

I haven't spent hours in a row on the block explorer today. Got back to work: meetings & stuff >> late at home.
To have a check everything is correct, I wanted to look for a POS block with more than 2 transactions and got one with five transactions. It's like searching for a needle in a haystack: there are currently over 500000 blocks and counting, but for testing, I have loaded the first 290000 blocks.

So it's time to compare this to what the actual block looks like.

Let's start with the wallet data. I queried Block N° 52855 by issuing the command:

~/Wallets/Minerals/Mineralsd getblock 82b31e41cff8016ae0b5dff2ec4b855a776c43c994b9785cc8f084ed89dfc2ed

The data my query returned is this:

Code:
{
    "hash" : "82b31e41cff8016ae0b5dff2ec4b855a776c43c994b9785cc8f084ed89dfc2ed",
    "confirmations" : 223081,
    "size" : 1235,
    "height" : 52855,
    "version" : 6,
    "merkleroot" : "de6eb3060082101c5b44c2565e17635c5c9712adaa53ea5543e5fc54d6da8861",
    "mint" : 0.27414167,
    "time" : 1403983515,
    "nonce" : 0,
    "bits" : "1d5023cc",
    "difficulty" : 0.01247800,
    "blocktrust" : "331c547",
    "chaintrust" : "1de5887ba500b8",
    "previousblockhash" : "bd204633cee3b3db7fcecb225f06a53f6974a78080a88316321682e17f55478a",
    "nextblockhash" : "1c56453a637b894cf706e8e51bf7590865eb23c61994ad0a5f13ca2320bf4168",
    "flags" : "proof-of-stake",
    "proofhash" : "00006405c8cbbcf0434732d1157ba7006ecac41fb2ae3fbd39e94e7ab4b1b052",
    "entropybit" : 1,
    "modifier" : "bea0d591cefe4188",
    "modifierchecksum" : "d1fab31b",
    "tx" : [
        "67d084892eda4e0d6e4a98446a8c9fd80175106f9d92fde2b37381c140505bf1",
        "e42d4e3607c929db4bb4bbf6e131bda10e103ac9ea8c9d0e11f44035cbf38959",
        "4fe0591dbe459c408bb72934bc1f1e3b60649dd54bd2fdf54c7e6f80aba91f27",
        "e3b996388e726ecd059ff3956634a4a8065e1d50420bb1826ec063a05cb60d47",
        "04bb6573b3035d3d099e291b379b3a35556bbab39f29081ca6d1aeaf471ab877"
    ],
    "signature" : "30440220769282ac17a1822a56ee9e1c3b45bbee2f09c10537da2f2320f803b37e351c690220455fc0fcad68bc2a4cf61ebb7efed309bd24aa53330a9a167c823c7caf6a4237"
}


As you can see, the data shown by the block explorer corresponds to the data returned by querying the wallet.
However, a few thing are not clear yet and it needs some modifications to the python code for improved understanding:

  • Clearly show the type of block: Proof-Of-Work or Proof-Of-Stake
  • Clearly show the amount of mined or minted minerals. This is currently shown as value out, but it is the sum of everything.
    In this case, the amount of minted Minerals is 0.27414167 MIN. It is the sum of the the transaction fee of 0.27411167 MIN and the transaction fees of 0.00001 MIN, equaling the amount of the "mint"-field.
    I think this is not clear what exactly is the the stake you earned and what is part of other transaction that do not neccessarily belong to your addresses in the current version of ABE, especially when it's only transactions with fractions of a Mineral.

At this moment, I do not know yet if it is just a matter of a few python statements with the data returned by the SQL query run against the DB or if it's stored this way in the DB.
Whatever it is, it needs some work to be done, with taking care of not destroying functionality for other currencies.

If you run:

~/Wallets/Minerals/Mineralsd getblock 82b31e41cff8016ae0b5dff2ec4b855a776c43c994b9785cc8f084ed89dfc2ed true

You will get a detailed report of the block, where each individual transaction is reported with its value, pubKey, sequence, checksig, etc...

Another example of a less complex PoS Block N° 66666:

Code:
{
    "hash" : "6a9c6b57a11754b45785c8803ba68fc57b162b385aa17d8200c85de82c7a5589",
    "confirmations" : 209270,
    "size" : 444,
    "height" : 66666,
    "version" : 6,
    "merkleroot" : "c3182ca67f0d98a8f711a65770f1b8ab3d0bc3f082e2253a7b8de05dcee3815a",
    "mint" : 0.19776375,
    "time" : 1404361681,
    "nonce" : 0,
    "bits" : "1e008c13",
    "difficulty" : 0.00713896,
    "blocktrust" : "1d3ddc2",
    "chaintrust" : "1de610f2ff5927",
    "previousblockhash" : "4df7baee846ee3592f2397bc165a8d8681e21ca08202b3cbb93ef24b3572bc04",
    "nextblockhash" : "6d1b1df951520020f65abb23c76f2daa838fa6b5edcfdf01650837c8bccc8bd6",
    "flags" : "proof-of-stake",
    "proofhash" : "0000966a553d6f2ad59e406c3bcb5c04bce22bcb70da17b069aa5d77e84716f7",                                                                          
    "entropybit" : 1,
    "modifier" : "1694610e309c0d17",
    "modifierchecksum" : "eb932dde",
    "tx" : [
        "760b082666bbe09a0bb6c21752c1a30363f53ca5bf4c9652f20ff8303a307f18",
        "72bffff3b652b3d563d198a5f24e6e36230b813f7daac86cf51a4c51017117ee"
    ],
    "signature" : "3044022075931f06c075b11011b9db103c7a77b293aced676e47dc10dd66857bbd469aa302200b56b4974496595e39878c1e42d59e017222aaed58fd8ec3d026a8999a7aab44"
}

The fee is the amount corresponding to the amount in the "mint"-field.


And a PoW Block N° 7777:

Code:
{
    "hash" : "00000000015ba0e4d68479a77a2cd3197137fb524e9a1755dc3ca32a6e9c78f1",
    "confirmations" : 268159,
    "size" : 225,
    "height" : 7777,
    "version" : 6,
    "merkleroot" : "055b71deebb46554394cf584d2485f87e31e1a4c5963910c7892bcbd4ba89437",
    "mint" : 1500.00000000,
    "time" : 1402823369,
    "nonce" : 35211134,
    "bits" : "1c031282",
    "difficulty" : 83.32402928,
    "blocktrust" : "535346e88c",
    "chaintrust" : "fc6d677cfeea0",
    "previousblockhash" : "0000000001ff2e7214eae45e187edf929cad1075279687b410352dedaa862dd3",
    "nextblockhash" : "000000000298b5a296b18881e236f61895bcd7632bca8d52ab4fc30f84e2351c",
    "flags" : "proof-of-work",
    "proofhash" : "00000000015ba0e4d68479a77a2cd3197137fb524e9a1755dc3ca32a6e9c78f1",
    "entropybit" : 1,
    "modifier" : "29c2e5810fc8ae18",
    "modifierchecksum" : "696ac327",
    "tx" : [
        "055b71deebb46554394cf584d2485f87e31e1a4c5963910c7892bcbd4ba89437"
    ]
}

The "mint"-field reports the block reward for PoW-mining: 1500 MIN.


I will build Minerals-qt too, to check certain of my own transactions and verify the correct amount of interest/stake you mint received and reported by wallet.

Good...

Do you think it's workable if I already deploy this as our first basic block explorer?
I hope to be able to improve it over time.
hero member
Activity: 585
Merit: 500
@Mumuk: only the OP can do that and since he's the dev than ran away, nothing can be done.

And concerning the block explorer. Almost done Smiley
It's a matter of:

  • Comparing & verifying transactions and blocks from the explorer with the data I get from querying the wallet itself.
    I did a few spot checks already and it looked okay.
  • Configuring two instances of the explorer. One being the front-end you can use, the other being a background service loading the blocks into the explorer's DB
    I need to test and decide what's better: from file or from rpc.
  • Get a VPS to host it. 1 GB won't do it, certainly not if many if you and outside this community will start using it.
    I was thinking about the Level 1 here https://www.strato.nl/vps-linux/ (Dutch) or option 2 here https://www.ovh.co.uk/vps/vps-classic.xml ?
    If you've any suggestions... The Dutch one apparently comes with 4GB RAM O_O and would cost a little over 100 EUR for a whole year.

When it's setup & running, I'll try getting down to making ABE look prettier :3 I still think it's f***ing ugly, yet very functional once it's setup correctly ^^'

So... what do you think?

Looking good - if you want a quick responsive site look at using the twitter bootstrap Wink

I think the ovh system runs on proxmox...
sr. member
Activity: 411
Merit: 252
@Mumuk: only the OP can do that and since he's the dev than ran away, nothing can be done.

And concerning the block explorer. Almost done Smiley
It's a matter of:

  • Comparing & verifying transactions and blocks from the explorer with the data I get from querying the wallet itself.
    I did a few spot checks already and it looked okay.
  • Configuring two instances of the explorer. One being the front-end you can use, the other being a background service loading the blocks into the explorer's DB
    I need to test and decide what's better: from file or from rpc.
  • Get a VPS to host it. 1 GB won't do it, certainly not if many if you and outside this community will start using it.
    I was thinking about the Level 1 here https://www.strato.nl/vps-linux/ (Dutch) or option 2 here https://www.ovh.co.uk/vps/vps-classic.xml ?
    If you've any suggestions... The Dutch one apparently comes with 4GB RAM O_O and would cost a little over 100 EUR for a whole year.

When it's setup & running, I'll try getting down to making ABE look prettier :3 I still think it's f***ing ugly, yet very functional once it's setup correctly ^^'

So... what do you think?
full member
Activity: 224
Merit: 100
here for a while
Can anyone change or edit the OP?
sr. member
Activity: 411
Merit: 252
Who is the DEV here now?
There is no one yet. We're trying to get basic infrastructure up & running. Then we'll see for the dev Smiley
full member
Activity: 224
Merit: 100
here for a while
Who is the DEV here now?
sr. member
Activity: 411
Merit: 252
any news?

BTW i give 5000 Min For developer. how do i do?
I'm back on track with the block explorer. I had to fight and defeat the dragons and monstrosities of Apache configurations and directives Wink
Gonna check if I can give the site a nicer look & feel and it should be ready to go Smiley

newbie
Activity: 4
Merit: 0
any news?

BTW i give 5000 Min For developer. how do i do?
hero member
Activity: 585
Merit: 500
Minerals dev should donate domain, he is an investor now... but, don't think he will show up

I think we can safely assume that he will not be giving anything to the community...

Priorities now muct be to get the blockchain explorerer and seeder working - which will in turn need a new wallet - i think for the time being we should leave the e-betting & annon alone until the coin has the basics back up and running.
hero member
Activity: 784
Merit: 1000
Minerals dev should donate domain, he is an investor now... but, don't think he will show up
I'm uninstalling that piece of bugfest and look for other virtualisation software... Sorry for the delay Sad

Have you got an x64 system? Take a look at www.proxmox.com - its a very powerful hypervisor - its what i use Wink
It looks like a very interesting product Shocked

I'm afraid to be hopelessly outdated for system requirements, believe it or not, but the Celeron G1610 in my gpu is the most advanced CPU I own :')
My desktop too is quite old: it used to be state of the art: an AMD Opteron 185 with 4GB RAM and 750GB in RAID 5 (hw controller), but nowadays?

I've resumed research with Vmware Workstation and managed to rewrite that Minerals.py file and modifications to DataStore.py for accepting Minerals.
It's insanely faster than Virtualbox: already loaded 200000/290000 blocks of blockchain that the copy of the .Minerals directory contains, while it took me more than a day with Virtualbox. Same kind of guest on the same Opteron 185 host. Most impressive :-)

whilst looking into the bitcoin-seeder info i found this guide: https://bitcointa.lk/threads/a-basic-guide-tutorial-for-creating-dns-seeders.310718/

We're going to need to get a new minerals domain... any suggestions - unless we can get the minerals.pro domain back that is...
I can be anything.
Popular minerals.* domains are most often already taken or you'd have to buy it over from Minerals(PR)? But at what price >_>

hero member
Activity: 553
Merit: 500
I had so high hopes and investment for this coin.  What a amateur let down. 
sr. member
Activity: 411
Merit: 252
I'm uninstalling that piece of bugfest and look for other virtualisation software... Sorry for the delay Sad

Have you got an x64 system? Take a look at www.proxmox.com - its a very powerful hypervisor - its what i use Wink
It looks like a very interesting product Shocked

I'm afraid to be hopelessly outdated for system requirements, believe it or not, but the Celeron G1610 in my gpu is the most advanced CPU I own :')
My desktop too is quite old: it used to be state of the art: an AMD Opteron 185 with 4GB RAM and 750GB in RAID 5 (hw controller), but nowadays?

I've resumed research with Vmware Workstation and managed to rewrite that Minerals.py file and modifications to DataStore.py for accepting Minerals.
It's insanely faster than Virtualbox: already loaded 200000/290000 blocks of blockchain that the copy of the .Minerals directory contains, while it took me more than a day with Virtualbox. Same kind of guest on the same Opteron 185 host. Most impressive :-)

whilst looking into the bitcoin-seeder info i found this guide: https://bitcointa.lk/threads/a-basic-guide-tutorial-for-creating-dns-seeders.310718/

We're going to need to get a new minerals domain... any suggestions - unless we can get the minerals.pro domain back that is...
I can be anything.
Popular minerals.* domains are most often already taken or you'd have to buy it over from Minerals(PR)? But at what price >_>
hero member
Activity: 585
Merit: 500
I'm uninstalling that piece of bugfest and look for other virtualisation software... Sorry for the delay Sad

Have you got an x64 system? Take a look at www.proxmox.com - its a very powerful hypervisor - its what i use Wink
hero member
Activity: 585
Merit: 500
whilst looking into the bitcoin-seeder info i found this guide: https://bitcointa.lk/threads/a-basic-guide-tutorial-for-creating-dns-seeders.310718/

We're going to need to get a new minerals domain... any suggestions - unless we can get the minerals.pro domain back that is...
sr. member
Activity: 411
Merit: 252
I thought it was about time to write a small resume of what has happened since dev and Pavel abandoned Minerals: http://www.morningminerals.com/?p=548
If there are any mistakes in it, please let me know.

Update: Oracle's Virtualbox trashed my VM snapshots while reverting to another fork to view the content of a file. Now I've nothing left D:
- No bitcoin-ABE snapshots with new .py files that worked like a charm for Minerals: gone forever
- No blkchain snapshots
- No insight snapshots

I'm uninstalling that piece of bugfest and look for other virtualisation software... Sorry for the delay Sad
newbie
Activity: 58
Merit: 0
So, how can I help? Smiley
Pages:
Jump to: