Bitcoin Forum
November 04, 2024, 04:00:35 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 ... 385 »
  Print  
Author Topic: Nexus - Pure SHA3 + CPU/GPU + nPoS + 15 Active Innovations + More to Come  (Read 785522 times)
KryptoKash (OP)
Sr. Member
****
Offline Offline

Activity: 518
Merit: 275


If you fail...just dont fail again


View Profile
September 23, 2014, 12:57:54 AM
 #461

Website has been updated. Homepage is better organized : http://coinshield.io   Smiley

Please register if you have not done so: http://CoinShieldTalk.com

There are new petitions which require votes.

If you are holding a coin you believe to be shit please submit a petition to have us open an exchange channel for it. This will help you get into the green when you're in the red. The days of backing shitcoins (coins that you deem shit) to try to recover some of your losses are finally over.

Additionally you can now protect the source code of non shitcoins. If you believe a coin is not a shitcoin please submit a petition to get it Coinshield verified. When a coin becomes Coinshield verified the Coinshield community will help keep the value of any clone down to a minimum. No more profits for developers who only copy and paste code together.

Please help spread the word about us.

Thanks,
KryptoKash

...
merc84
Hero Member
*****
Offline Offline

Activity: 799
Merit: 1000


View Profile
September 23, 2014, 02:06:34 AM
 #462

Trying to compile on ubuntu 13.10 (its been a while i'm very rusty)
hash/skein.cpp:752:5: fatal error: opening dependency file build/skein.d: No such file or directory
already installed skein package via "apt-get install libghc-skein-dev"
any help appreciated.
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 02:12:51 AM
 #463

Trying to compile on ubuntu 13.10 (its been a while i'm very rusty)
hash/skein.cpp:752:5: fatal error: opening dependency file build/skein.d: No such file or directory
already installed skein package via "apt-get install libghc-skein-dev"
any help appreciated.

You don't need the Skein package from Ubuntu, it is included in src/hash.

Add the folder build in the directory of makefile.unix, make sure you have openssl and boost installed. The problem I am seeing is that the folder build is not being created. I will fix that, thank you for letting me know.

Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
merc84
Hero Member
*****
Offline Offline

Activity: 799
Merit: 1000


View Profile
September 23, 2014, 05:35:52 AM
 #464

Trying to compile on ubuntu 13.10 (its been a while i'm very rusty)
hash/skein.cpp:752:5: fatal error: opening dependency file build/skein.d: No such file or directory
already installed skein package via "apt-get install libghc-skein-dev"
any help appreciated.

You don't need the Skein package from Ubuntu, it is included in src/hash.

Add the folder build in the directory of makefile.unix, make sure you have openssl and boost installed. The problem I am seeing is that the folder build is not being created. I will fix that, thank you for letting me know.

Viz.

/usr/bin/ld: cannot find -lboost_system
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_program_options
/usr/bin/ld: cannot find -lboost_thread
collect2: error: ld returned 1 exit status
make: *** [coinshield_prime] Error 1

ubuntu@ubuntu:~$ sudo apt-get install libboost-dev-all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libboost-dev-all

I install libbost-dev but it is perhaps missing needed packages?

Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 05:45:44 AM
 #465


Everyone,

I'm going to run a couple small tests tonight before I release the Launch Binaries. I will post them tomorrow morning as soon as I wake up.
I'm breaking the Launch into 3 phases, one for each Channel.

Phase 1: CPU Channel Activation:  9/23/2014 12:00:00 GMT - 6
Unix Timestamp: 1411495200

Phase 2: GPU Channel Activation:  10/7/2014 12:00:00 GMT - 6
Unix Timestamp: 1412704800

Phase 3: POS Channel Activation: 10/21/2014 12:00:00 GMT - 6
Unix Timestamp: 1413914400

This will allow more stimulation in development for the GPU Miner, hopefully we can get some people together to get a stable AMD and NVIDIA miner. There will be bounties available to go directly to GPU Miner development. Bitslapper and I will be working on the AMD version while I am hoping to get some people to help build the NVIDIA version.

Please contact me if you have any experience / desire to help in the Coinshield Revolution.

--------------------

merc84,

Try this command to install boost 1.54:
sudo apt-get install libboost-all-dev

Make sure you have the compiler installed as well:
sudo apt-get install build-essential

And for OpenSSL:
sudo apt-get install libssl-dev

Let me know if this works   Smiley

Viz.


[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
merc84
Hero Member
*****
Offline Offline

Activity: 799
Merit: 1000


View Profile
September 23, 2014, 05:53:14 AM
 #466

seems i'm turning dyslexic had the all-dev around the wrong way.

Edit: compiled fine after that Smiley

Thanks!
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 05:56:38 AM
 #467

Well, you said you haven't compiled for a long time, so don't be too hard on yourself  Smiley

Viz.

edit: Great to hear! To start it you'll need commandline arguments, I usually use alias miner='/home/viz/coinshield-cpuminer/coinshield_prime 127.0.0.1 4447' if you want to control the threads and timeout yourself the next two arguments would be that such as 127.0.0.1 4447 3 10 which would be 3 threads, and 10 second timeout.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
September 23, 2014, 06:17:22 AM
 #468

Testing out the miner on ubuntu 14.  It ran for about 30 seconds, found 3 blocks, and then core dumped...

[MASTER] Prime Cluster of Difficulty 2.751979 Found on Thread 1

fb2c2f81e09ddc5950b6aa22d78ba21bfbd303605e84e7bfe452db177e5d9bd216375d992f1b8f7 c1aff7353833a321a53a9b38889d1294b82a34fb67e2ba7eeb4641bc34d7a02558bd5cb676b1dd5 29edc3f4eba0b7b346b739ea6402263026da0dccc925fff43a996d82bf3c026da92bc443e343dda 11e32b815b92ec2aff0

[MASTER] Block Accepted By Coinshield Network.
[MASTER] Coinshield Network: New Block 18653
[METERS] 13502.666667 SPS | 20.333333 PPS | Height = 18653
[METERS] 19279.333333 SPS | 29.500000 PPS | Height = 18653
[METERS] 19146.333333 SPS | 29.666667 PPS | Height = 18653
Segmentation fault (core dumped)

It was built from source.


Viz, Technical question for you, (and probably a glaringly obvious answer too), I'm looking through the primeminer source and I can't see where each thread is doing different work to the next.  Or where any element of randomness comes in??

Thanks
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 06:41:57 AM
 #469

paulthetafy,

The reasons for this segmentation fault is that I am modifying the Block pointer each thread contains by the connection thread, and sometimes they go out of sync. This can be fixed with a faster autoptr or even using more sophisticated locks than my boolean flags.

I'll get to fixing this, I'm thinking for now I'll just release another code base that has one connection per thread, which would eliminate this issue. The Mining LLP can definitely handle it.

As to your question, you'll see in the main function when the Server Connection is declared, it has an argument for how many threads. The Mining Thread class is then instantiated in a vector to the quantity you declare with the commandline arguments that is passed into the Server Connection class constructor. The connection class [with a bound thread] then handles each of the mining threads, modifying the flags if a new block is found on the network, or submitting blocks if the thread sets its fBlockFound flag. This is the optimal way I would like to do it, but will take a little more time with the proper locking techniques to eliminate the segmentation fault [which comes from accessing a memory location not allocated by the operating system for that specified process].

Thank You,
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
September 23, 2014, 06:56:02 AM
 #470

paulthetafy,

The reasons for this segmentation fault is that I am modifying the Block pointer each thread contains by the connection thread, and sometimes they go out of sync. This can be fixed with a faster autoptr or even using more sophisticated locks than my boolean flags.

I'll get to fixing this, I'm thinking for now I'll just release another code base that has one connection per thread, which would eliminate this issue. The Mining LLP can definitely handle it.

As to your question, you'll see in the main function when the Server Connection is declared, it has an argument for how many threads. The Mining Thread class is then instantiated in a vector to the quantity you declare with the commandline arguments that is passed into the Server Connection class constructor. The connection class [with a bound thread] then handles each of the mining threads, modifying the flags if a new block is found on the network, or submitting blocks if the thread sets its fBlockFound flag. This is the optimal way I would like to do it, but will take a little more time with the proper locking techniques to eliminate the segmentation fault [which comes from accessing a memory location not allocated by the operating system for that specified process].

Thank You,
Viz.


Thanks Viz, I'll see if I can put a simple mutex in to synchronize access to the BLOCK between the threads.  If I get that working I'll shoot you the update. 

Still not sure I understand how each thread is not doing the same "work" though.  Are they looking for different nonce's??
KryptoKash (OP)
Sr. Member
****
Offline Offline

Activity: 518
Merit: 275


If you fail...just dont fail again


View Profile
September 23, 2014, 07:24:18 AM
 #471

The following was added to the OP:

Launch Dates:
Phase 1: CPU Channel Activation:  9/23/2014 12:00:00 GMT - 6
Unix Timestamp: 1411495200

Phase 2: GPU Channel Activation:  10/7/2014 12:00:00 GMT - 6
Unix Timestamp: 1412704800

Phase 3: POS Channel Activation:
10/21/2014 12:00:00 GMT - 6
Unix Timestamp: 1413914400

...
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 07:28:18 AM
 #472

paulthetafy,

They are looking for the same block at given height, which is linked from uint1024 hashPrevBlock and unsigned int nHeight.

The variation of each block is of the merkle root, you'll see this if you print out the block values as it is received. It is looking for a prime cluster from the SK1024 hash from nVersion to nBits. The nNonce is then used as an offset to the prime cluster to be verified by the network.

The hash is produced from nVersion, hashPrevBlock, hashMerkleRoot, nChannel, nHeight, and nBits which is the fingerprint to that given block in the binary tree [blockchain] which will allow each thread to independently search for a prime cluster from different starting values, but not allow someone to forge a block and try to submit it at a given height. This also prevents any duplicate proof of work to be generated at whim, for in order to generate a proper proof of work block they would need all the values that match for the next block in the Coinshield Network.

Thank you for your willingness to help!  Smiley

Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
September 23, 2014, 10:37:32 AM
 #473

the windows miner will crash in no more than 30 minutes, how do you set 7 threads running while you got 8 ? -t 7 does not work i tried
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 11:11:23 AM
 #474

jorneyflair,

Try this batch script, it will automatically restart the miner if it crashes [with 7 threads as per your request].

:BEGIN
miner.exe 127.0.0.1 4447 7
GOTO BEGIN


The commandline arguments are IP PORT THREADS TIMEOUT.
The issue with the miner is an access violation [segmentation fault]. This will be fixed soon, currently making sure the Coinshield Core is tuned properly before launch above fixing that issue.

Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
September 23, 2014, 11:24:07 AM
 #475

jorneyflair,

Try this batch script, it will automatically restart the miner if it crashes [with 7 threads as per your request].

:BEGIN
miner.exe 127.0.0.1 4447 7
GOTO BEGIN


The commandline arguments are IP PORT THREADS TIMEOUT.
The issue with the miner is an access violation [segmentation fault]. This will be fixed soon, currently making sure the Coinshield Core is tuned properly before launch above fixing that issue.

Viz.
Thanks dude , i would help to the nvminer code if i were not at the last year in college.
wish you a success Wink
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 11:33:45 AM
Last edit: September 23, 2014, 12:01:42 PM by Videlicet
 #476

jorneyflair,

Thank You  Smiley
And hey, just don't ever give up and you'll be able to do anything.  Wink

Viz.

edit: I made some minor tweaks to the miner attempting to weed out the segmentation fault, binary is Here. Let me know if you have better results with this version. I also pushed this version to my Github for Linux users.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
September 23, 2014, 12:17:06 PM
 #477

jorneyflair,

Thank You  Smiley
And hey, just don't ever give up and you'll be able to do anything.  Wink

Viz.

edit: I made some minor tweaks to the miner attempting to weed out the segmentation fault, binary is Here. Let me know if you have better results with this version. I also pushed this version to my Github for Linux users.
a bit better but still appcrashed , the exact same situation like former one while Linux is OK , you did it with Mingw?
billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
September 23, 2014, 12:18:41 PM
 #478

Holy shit is this really going to launch?

I know what I am doing today...

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
September 23, 2014, 12:28:50 PM
 #479

a bit better but still appcrashed , the exact same situation like former one while Linux is OK , you did it with Mingw?

Interesting, because I have the reverse: Linux crashes, Windows works. I'll keep getting to the bottom of this, at least that check is off the list. Thank you for your results.

Holy shit is this really going to launch?

Yes it is, running my final tests before Main Net launch [guess there's time later to sleep]  Wink
Activation Timestamp is: 1411495200

Viz.


[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
September 23, 2014, 12:35:31 PM
 #480

a bit better but still appcrashed , the exact same situation like former one while Linux is OK , you did it with Mingw?

Interesting, because I have the reverse: Linux crashes, Windows works. I'll keep getting to the bottom of this, at least that check is off the list. Thank you for your results.

Holy shit is this really going to launch?

Yes it is, running my final tests before Main Net launch [guess there's time later to sleep]  Wink
Activation Timestamp is: 1411495200

Viz.


Im currently using ubuntu 14.04 more often than windows but i think most of people here(except coder) are using windows 7/8 , so the win-miner is also important for launch thongh its time to abandon the microsoft in my opinion , long live the OpenSource! Grin
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 ... 385 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!