Author

Topic: [ANN] [XMG] MAGI | CPU mining | mPoW | mPoS | [MagiPay] - page 372. (Read 2375631 times)

legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
Is this still where we are?

Why not a diff adjustment like DigiShield or DGW (Dark Gravity Wave), everything slows down as hashrate rises, a vice versa, and let it be?

Yes, trying on the diff adjustment that would be ideal as solution in part to the issue.
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
The source code for test is updated here:

https://github.com/magi-project/magi/tree/v1.4.3-test

I have to rebuild the chain which has been taking one day long; as soon as I get the chain, I'll post a link for download and then we can start the test.

At this time, this test takes care of 1) and 2). Depending on the time available, we'll see when 3) is to be merged.


This is just for testing, right? The main chain still operates with the "old" rules (plain v1.4.3)...

Yes, it's on a test, no touch of the main chain. Once we confirm no forks, we'll migrate to main chain.
newbie
Activity: 11
Merit: 0
xmgpool i lost 24 coins from your pool...what i need do?

PM your username, wallet address, let me check.
i lost more tan 700, and i cant see my historic transactions, you clean the Database ?
how can i get my coins back ?
full member
Activity: 276
Merit: 100
Correct,
isn't working yet
sr. member
Activity: 476
Merit: 250
Already 18 minutes no pow blocks found...

PoW blocks are coming in, but that wallet I helped you to compile is only for testing and not stable?

full member
Activity: 276
Merit: 100
Already 18 minutes no pow blocks found...
legendary
Activity: 1484
Merit: 1029
Good news about the test build - I'll update cryptopia, they'll wan't know an ETA of live - is there a rough estimate?
sr. member
Activity: 476
Merit: 250
Sounds great! Can't wait to test it out. Already compiled the test wallet Smiley

For whatever reason, I just can't compile it on Ubuntu 16... downgraded to Openssl1.0.2g but always fails on bignum errors...
Will await build versions and just extract.

Thanks Joe for all work.
- snip -

Worked like a charm, many thanks.

No worries, glad to help out Smiley
full member
Activity: 276
Merit: 100
Sounds great! Can't wait to test it out. Already compiled the test wallet Smiley

For whatever reason, I just can't compile it on Ubuntu 16... downgraded to Openssl1.0.2g but always fails on bignum errors...
Will await build versions and just extract.

Thanks Joe for all work.

I Get that too but on Manjaro dist. If you really want to compile but get bugnum errors like these.
Code:
error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*

This is how I fixed it, I compiled a standalone OpenSSL that works besides the systems Openssl libs

This is only for when you compile m-wallet and on a linux system
If you do not feel comfortable doing these steps, don't do it.
I make no guarantee that this will work and / or not break your system, use caution.

This is for Linux only

Goto https://www.openssl.org/source/ and download openssl-1.0.2l.tar.gz
Extract the files from the tar.gz

Configure OpenSSL with the following
I'm using the path /opt/openssl-1.0.2l as the example here (Also the same on how I installed it on my system)

Code:
./config --prefix=/opt/openssl-1.0.2l --openssldir=/opt/openssl-1.0.2l -static
--prefix and --openssldir needs to be the same location, you can change location as you wish but I recommend that you place it where you can find  easy it and where it will not overwrite systems OpenSSL (Caution! Overwrite system OpenSSL might break the system)

After the config is complete you need to compile and test it with the folloing commands
Code:
make
make test

When that's completed we need to install it to the directory that you configured with --prefix
Code:
make install

After that is completed you can verify it with this command
Code:
/opt/openssl-1.0.2l/bin/openssl version
And you should see something like this
Code:
OpenSSL 1.0.2l  25 May 2017

Now that you have a nice standalone version of Openssl besides you now you need to tell qmake to user this version of OpenSSL instead of system default

Then it's time to compile the wallet, I'm using Qt5 and qmake-qt5 in this example
Code:
qmake-qt5 m-wallet.pro OPENSSL_LIB_PATH=/opt/openssl-1.0.2l/lib OPENSSL_INCLUDE_PATH=/opt/openssl-1.0.2l/include
make

And after that you should have a nice compiled version of m-wallet with openssl-1.0.2l instead of the system default



Worked like a charm, many thanks.
HR
legendary
Activity: 1176
Merit: 1011
Transparency & Integrity
How exactly is pow exploited ? I'm new to this coin.

XMG POW is unique in the idea that high network hashrate generate less POW blockreward

the origin of that idea was to remove a arms race in mining gear and allow each normal dude with a single CPU in his PC take part in mining

but clever people found out that there is a timewindow in the diff ajusting mining reward adjusting waves
where diff is high and rewards are high too

thats because the adjusting algorhytm of mining rewards reduction have a delay

so what happens is big miners with botnets or access to company unused CPU capacity or even private GPU miners
mine fast a few blocks with high rewards until rewards adjusting kicks in start to decrease the rewards
then stop mining and the normal 24/7 miners have to mine the high diff low reward blocks

this leads to a big share of POW coin rollout goes into hands of few who mine in waves
and the many 24/7 miners have to mine the low reward high diff blocks alone

i trust in joes abilities to fix POW and come closer to the original vision


Is this still where we are?

Why not a diff adjustment like DigiShield or DGW (Dark Gravity Wave), everything slows down as hashrate rises, a vice versa, and let it be?
HR
legendary
Activity: 1176
Merit: 1011
Transparency & Integrity
AFAIK, it is not possible for the network, to distinguish a pool from a solo miner.

Especially if we're talking about a botnet!  Cheesy
full member
Activity: 196
Merit: 100
Bitcoin is growing because hashrate and difficulty are growing. This way magi hashrate and diff could grow too.

I don't agree.
This results in only people with big, bigger, biggest hashrate could mine XMG coin.
That's absolutely not the way.

Indeed, the limit would punish everyone just because a few people would be mining with their botnets. A few botnets or farms start mining, the limit is reached, PoW is disabled, the smaller miners are prevented from mining. This idea gives control to the botnets.
newbie
Activity: 28
Merit: 0
Thanks for the test update !
sr. member
Activity: 476
Merit: 250
The source code for test is updated here:

https://github.com/magi-project/magi/tree/v1.4.3-test

I have to rebuild the chain which has been taking one day long; as soon as I get the chain, I'll post a link for download and then we can start the test.

At this time, this test takes care of 1) and 2). Depending on the time available, we'll see when 3) is to be merged.


This is just for testing, right? The main chain still operates with the "old" rules (plain v1.4.3)...

Correct, that is only for testing.
sr. member
Activity: 490
Merit: 256
The source code for test is updated here:

https://github.com/magi-project/magi/tree/v1.4.3-test

I have to rebuild the chain which has been taking one day long; as soon as I get the chain, I'll post a link for download and then we can start the test.

At this time, this test takes care of 1) and 2). Depending on the time available, we'll see when 3) is to be merged.


This is just for testing, right? The main chain still operates with the "old" rules (plain v1.4.3)...
full member
Activity: 276
Merit: 100
Great info. Many thanks
sr. member
Activity: 476
Merit: 250
Sounds great! Can't wait to test it out. Already compiled the test wallet Smiley

For whatever reason, I just can't compile it on Ubuntu 16... downgraded to Openssl1.0.2g but always fails on bignum errors...
Will await build versions and just extract.

Thanks Joe for all work.

I Get that too but on Manjaro dist. If you really want to compile but get bugnum errors like these.
Code:
error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*

This is how I fixed it, I compiled a standalone OpenSSL that works besides the systems Openssl libs

This is only for when you compile m-wallet and on a linux system
If you do not feel comfortable doing these steps, don't do it.
I make no guarantee that this will work and / or not break your system, use caution.

This is for Linux only

Goto https://www.openssl.org/source/ and download openssl-1.0.2l.tar.gz
Extract the files from the tar.gz

Configure OpenSSL with the following
I'm using the path /opt/openssl-1.0.2l as the example here (Also the same on how I installed it on my system)

Code:
./config --prefix=/opt/openssl-1.0.2l --openssldir=/opt/openssl-1.0.2l -static
--prefix and --openssldir needs to be the same location, you can change location as you wish but I recommend that you place it where you can find  easy it and where it will not overwrite systems OpenSSL (Caution! Overwrite system OpenSSL might break the system)

After the config is complete you need to compile and test it with the folloing commands
Code:
make
make test

When that's completed we need to install it to the directory that you configured with --prefix
Code:
make install

After that is completed you can verify it with this command
Code:
/opt/openssl-1.0.2l/bin/openssl version
And you should see something like this
Code:
OpenSSL 1.0.2l  25 May 2017

Now that you have a nice standalone version of Openssl besides you now you need to tell qmake to user this version of OpenSSL instead of system default

Then it's time to compile the wallet, I'm using Qt5 and qmake-qt5 in this example
Code:
qmake-qt5 m-wallet.pro OPENSSL_LIB_PATH=/opt/openssl-1.0.2l/lib OPENSSL_INCLUDE_PATH=/opt/openssl-1.0.2l/include
make

And after that you should have a nice compiled version of m-wallet with openssl-1.0.2l instead of the system default

full member
Activity: 616
Merit: 100
Thank you for the update Joe. Happy that the forking problem is solved. If the test is going well can we expect for a release early next week?
full member
Activity: 276
Merit: 100
Sounds great! Can't wait to test it out. Already compiled the test wallet Smiley

For whatever reason, I just can't compile it on Ubuntu 16... downgraded to Openssl1.0.2g but always fails on bignum errors...
Will await build versions and just extract.

Thanks Joe for all work.
sr. member
Activity: 476
Merit: 250
The source code for test is updated here:

https://github.com/magi-project/magi/tree/v1.4.3-test

I have to rebuild the chain which has been taking one day long; as soon as I get the chain, I'll post a link for download and then we can start the test.

At this time, this test takes care of 1) and 2). Depending on the time available, we'll see when 3) is to be merged.


Sounds great! Can't wait to test it out. Already compiled the test wallet Smiley
Jump to: