Bitcoin Forum
May 12, 2024, 12:17:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 »
601  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 25, 2016, 04:37:55 AM
07:55:38: delay rpc_call coind:3070 getblocktemplate in 2057 ms
07:55:38: *** ACCEPTED Phoenixcoin 912122
07:55:38: --------------------------------------------------------------
07:55:38: hash1 a0955803273dbb89ae34036aebf5a96d22e057feb3e519cc407edd919a591274
07:55:38: hash2 000000074fa2b41019ae42ff6a5846bb491c70ffad7025d37963cf6d6164dc6b

everything else I run gets a proper gbt output...

Could you try HAL? It has no TX messaging, otherwise quite similar to ORB in what comes to NeoScrypt. Block hash is also BLAKE2s while PXC employs SHA-256d, though I doubt it matters in this case.

I'll give it A try too and let you know.

HAL works,  www.zpool.ca/site/block?id=500

so now.... back to ORB... any ideas?

I don't see much difference in the GBT code apart of TXDB vs. UTXO and some cosmetics which is unrelated. This code fails in your case:

Code:
    std::string strMode = "template";
    if (params.size() > 0)
    {
        const Object& oparam = params[0].get_obj();
        const Value& modeval = find_value(oparam, "mode");
        if (modeval.type() == str_type)
            strMode = modeval.get_str();
        else if (modeval.type() == null_type)
        {
            /* Do nothing */
        }
        else
            throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");
    }

    if (strMode != "template")
        throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");

So, what JSON data do you submit in case of ORB and HAL?


I think these would be the relevant parts... though its out of my realm...

https://github.com/tpruvot/yiimp/blob/yiimp/stratum/client_submit.cpp#L128

https://github.com/tpruvot/yiimp/blob/yiimp/stratum/coind_submit.cpp

It describes submitting through RPC submitblock or RPC getblocktemplate mode submit on the pool's side. That's fine. It seems your pool attempts to submit incompatible data. Maybe it has something to do with TX messages. Do you add any of them to coin base? A JSON dump of what your pool sends to the daemon before receiving this invalid mode error would make it clear.
602  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.1: The Fastest NeoScrypt GPU Miner on: January 25, 2016, 04:20:02 AM
In future you should advice these coin devs on their algos cuz quite often they fail on their own.

A memory intensive algo being compute strained lol  Roll Eyes
Quoted for emphasis. With all those rounds of salsa/chacha no idea how they managed to get different expectations... scrypt was already compute bound with GAP 2 and NeoScrypt is ~4 times more intensive!

However Scrypt wasn't compute bound without gapping, was it?

are there any plans on an nvidia ( cuda ) based miner? ...

just asking out of curiosity ...

#crysx

I'd like to return the question. If NSGminer with OpenCL starts to offer comparable performance to ccminer some day, will be a direct CUDA support necessary?
603  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 25, 2016, 03:52:02 AM
07:55:38: delay rpc_call coind:3070 getblocktemplate in 2057 ms
07:55:38: *** ACCEPTED Phoenixcoin 912122
07:55:38: --------------------------------------------------------------
07:55:38: hash1 a0955803273dbb89ae34036aebf5a96d22e057feb3e519cc407edd919a591274
07:55:38: hash2 000000074fa2b41019ae42ff6a5846bb491c70ffad7025d37963cf6d6164dc6b

everything else I run gets a proper gbt output...

Could you try HAL? It has no TX messaging, otherwise quite similar to ORB in what comes to NeoScrypt. Block hash is also BLAKE2s while PXC employs SHA-256d, though I doubt it matters in this case.

I'll give it A try too and let you know.

HAL works,  www.zpool.ca/site/block?id=500

so now.... back to ORB... any ideas?

I don't see much difference in the GBT code apart of TXDB vs. UTXO and some cosmetics which is unrelated. This code fails in your case:

Code:
    std::string strMode = "template";
    if (params.size() > 0)
    {
        const Object& oparam = params[0].get_obj();
        const Value& modeval = find_value(oparam, "mode");
        if (modeval.type() == str_type)
            strMode = modeval.get_str();
        else if (modeval.type() == null_type)
        {
            /* Do nothing */
        }
        else
            throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");
    }

    if (strMode != "template")
        throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");

So, what JSON data do you submit in case of ORB and HAL?
604  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 24, 2016, 04:35:20 AM
07:55:38: delay rpc_call coind:3070 getblocktemplate in 2057 ms
07:55:38: *** ACCEPTED Phoenixcoin 912122
07:55:38: --------------------------------------------------------------
07:55:38: hash1 a0955803273dbb89ae34036aebf5a96d22e057feb3e519cc407edd919a591274
07:55:38: hash2 000000074fa2b41019ae42ff6a5846bb491c70ffad7025d37963cf6d6164dc6b

everything else I run gets a proper gbt output...

Could you try HAL? It has no TX messaging, otherwise quite similar to ORB in what comes to NeoScrypt. Block hash is also BLAKE2s while PXC employs SHA-256d, though I doubt it matters in this case.
605  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 24, 2016, 03:00:29 AM
orbitcoind -debug

01/24/16 01:11:15 ThreadRPCServer method=getinfo
01/24/16 01:11:15 keypool return 3
01/24/16 01:11:15 ThreadRPCServer method=getdifficulty
01/24/16 01:11:16 ThreadRPCServer method=getinfo
01/24/16 01:11:16 keypool return 3
01/24/16 01:11:17 ThreadRPCServer method=getinfo
01/24/16 01:11:17 keypool return 3
01/24/16 01:11:17 ThreadRPCServer method=listtransactions
01/24/16 01:11:47 ThreadRPCServer method=getinfo
01/24/16 01:11:47 keypool return 3
01/24/16 01:11:47 ThreadRPCServer method=listtransactions
01/24/16 01:12:17 ThreadRPCServer method=getinfo
01/24/16 01:12:17 keypool return 3
01/24/16 01:12:17 ThreadRPCServer method=listtransactions
01/24/16 01:12:48 ThreadRPCServer method=getinfo
01/24/16 01:12:48 keypool return 3
01/24/16 01:12:48 ThreadRPCServer method=listtransactions
01/24/16 01:13:15 ThreadRPCServer method=getinfo
01/24/16 01:13:15 keypool return 3
01/24/16 01:13:15 ThreadRPCServer method=getdifficulty
01/24/16 01:13:19 ThreadRPCServer method=getinfo
01/24/16 01:13:19 keypool return 3
01/24/16 01:13:19 ThreadRPCServer method=listtransactions

There are getinfo, getdifficulty and listtransactions. Where are getblocktemplate or submitblock? If the daemon doesn't report them in debug.log, must be something wrong with the call syntax or endianness. Your pool also reports invalid mode. If it works for PXC which has no TX messages, disable them.
606  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 24, 2016, 02:28:01 AM
ghost read this
https://github.com/luke-jr/bitcoin/commit/8d3a84c242598ef3cdc733e99dddebfecdad84a6
edit: https://bitco.in/forum/threads/buip015-decentralize-mining-with-the-fair-pow-algorithm-and-an-user-configurable-pow-setting.809/

edit: https://github.com/bitcoinclassic/bitcoinclassic/pull/6 "This solves mining centralisation by enabling GPU miners to be the leading-edge again. (Hopefully the next generation of ASIC miners will have learned their lesson, so we don't need to do this again.)" Grin

so why not neoscrypt?

I guess Luke is trolling them with this PoW change patch. There is no chance those people behind Classic approve something like this. However if their fork succeeds which is possible, Luke may re-use this patch for Core Smiley
607  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 22, 2016, 02:40:55 PM
Don't use submitblock. It wasn't tested while hard forking to NeoScrypt a year ago. Use getblocktemplate mode submit instead.


should tx msg be on or off?

Transaction messages are for users. Turn them off for coin base.


No dice, it reports now:

22:15:47: ERROR: rpc_do_call: coind:5790 500
22:15:47: ERROR Orbit Invalid mode
22:15:47: *** REJECTED Sad Orbit 1618389
22:15:47: block 02000000c617c2bc0ec1bb9a8be935fe1e4944201f5bd7d1397498caa6aef1439c1f1bb567ee964 becef00374c327500fcf9b3d420502130fee74c9051f29b127ee20ab6d1fb9e562113021d02650b 000102000000d1fb9e5601000000000000000000000000000000000000000000000000000000000 0000000ffffffff2303d5b118062f503253482f04d4fb9e5608810019680f0000007961616d702e 636f6d00000000000140420f0000000000232102a868858ac666d0d02fcba277924d6e16adf6c7d 6aae8f7d03db76ecd079e8e36ac0000000000
22:15:47: --------------------------------------------------------------

Must be a misconfiguration. Could you ask other pool ops?


Haven't any replies from the only known pool with it listed and working.

Could you experiment with the testnet? It's less expensive than to mine blocks on the livenet which get rejected for some reason. There are two active testnet nodes at seed1.orbitcoin.org:25298 and seed2.orbitcoin.org:25298

Start the daemon with debugging on and look at debug.log to see why it rejects them actually.
608  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 22, 2016, 02:01:56 PM
any chance of getting orb on poloniex?

If many people write or tweet them. They want to see a strong community support.
609  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 20, 2016, 01:45:27 PM
Don't use submitblock. It wasn't tested while hard forking to NeoScrypt a year ago. Use getblocktemplate mode submit instead.


should tx msg be on or off?

Transaction messages are for users. Turn them off for coin base.


No dice, it reports now:

22:15:47: ERROR: rpc_do_call: coind:5790 500
22:15:47: ERROR Orbit Invalid mode
22:15:47: *** REJECTED Sad Orbit 1618389
22:15:47: block 02000000c617c2bc0ec1bb9a8be935fe1e4944201f5bd7d1397498caa6aef1439c1f1bb567ee964 becef00374c327500fcf9b3d420502130fee74c9051f29b127ee20ab6d1fb9e562113021d02650b 000102000000d1fb9e5601000000000000000000000000000000000000000000000000000000000 0000000ffffffff2303d5b118062f503253482f04d4fb9e5608810019680f0000007961616d702e 636f6d00000000000140420f0000000000232102a868858ac666d0d02fcba277924d6e16adf6c7d 6aae8f7d03db76ecd079e8e36ac0000000000
22:15:47: --------------------------------------------------------------

Must be a misconfiguration. Could you ask other pool ops?
610  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.1: The Fastest NeoScrypt GPU Miner on: January 20, 2016, 01:06:13 PM
In future you should advice these coin devs on their algos cuz quite often they fail on their own.

A memory intensive algo being compute strained lol  Roll Eyes
Quoted for emphasis. With all those rounds of salsa/chacha no idea how they managed to get different expectations... scrypt was already compute bound with GAP 2 and NeoScrypt is ~4 times more intensive!

However Scrypt wasn't compute bound without gapping, was it?
611  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 20, 2016, 01:43:40 AM
Don't use submitblock. It wasn't tested while hard forking to NeoScrypt a year ago. Use getblocktemplate mode submit instead.


should tx msg be on or off?

Transaction messages are for users. Turn them off for coin base.
612  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 20, 2016, 01:09:40 AM
Don't use submitblock. It wasn't tested while hard forking to NeoScrypt a year ago. Use getblocktemplate mode submit instead.
613  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]pledge for the release of 100% faster cuda 7.5 nvidia miner for neoscrypt on: January 20, 2016, 12:56:37 AM
around 1.2-1.3MHASH

http://hashpower.co/site/mining  is currently paying 4BTC for 1 GHASH Day of neoscrypt.

With a 25% gain NVIDIA miners will get an advantage

I don't think there will be any advantage. If a GTX 980 outputs 800KH/s, my downvolted and downclocked HD7990 does the same with a comparable or lower power consumption. I call it a fair competition.



I thought you read the thread and would realize that I lost .4BTC on Cryptsy (which is quite substantial to a small miner) and that the price of FTC is in the shitter because of it, making this pointless to purchase. Neoscrypt will have a tough time recovering unless Cryptsy comes back. Believe it or not, that .4BTC had plans, which included paying my bills and purchasing the miner from you to make more money. You don't see me dragging my ass around the ground trying to guilt people into giving me free things though.

Also when Neoscrypt goes in the shitter, the people mining are bots. Neoscrypt has always had problems with botnets mining with the CPU miner. No legitimate GPU miner mines off of Nicehash for FTC as the profits are much less.

Cryptsy's demise has been expected, though it was a bit surprising to see so much drama and bull shit. There are many people out there who have lost (or about to lose) much more than you. Yet I see no connection between the future of NeoScrypt and whatever happens to Cryptsy. There were hundreds of coins traded featuring various algos. What you say NeoScrypt has problems with CPU botnets, it's a key design feature actually. They are worse than huge ASIC farms.
614  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 20, 2016, 12:35:14 AM
NSGminer v0.9.1 released with my NeoScrypt OpenCL kernel v6. Should be compatible with the latest AMD Catalyst drivers. Also delivers a little performance improvement over the previous release.

Big thanks for that! I wish I could use it with my nvidia gt730, but I would just burn electricity... Can you consider making one for nvidia? (I know you don't like them from previous posts)

I haven't tested it myself on NVIDIA, though the kernel configures itself for all scalar code in their case, so it may work actually. There is no hardware monitoring available for NVIDIA, but this something I can add in the near future.

If anyone here wants to see a high performance NVIDIA OpenCL support in NSGminer, join a crowdfunding campaign in the NSGminer thread. You know, I cannot get it off the ground without a modern GPU like 750 Ti or so.
615  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 20, 2016, 12:29:55 AM
My PC crashed with an OrbitCoin wallet open. Now the wallet gives an error at startup and refers to the debug.log file.

In there the last line says:

"ERROR: LoadBlockIndexDB() : hashBestChain not loaded"

What should I do now to get this fixed ?

Thanks in advance for the help!

Looks like an unrecoverable DB error. Restore from a back-up, bootstrap or redownload.
616  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.1: The Fastest NeoScrypt GPU Miner on: January 20, 2016, 12:06:56 AM
Well, with 7950 at 435kh/s and 280X at 500kh/s, it seems my Neoscrypt is straight up compute dependent, as that's very close to the same percentage increase as the CU count... the wall I'm running into is compute, then, not memory. Damn.

500KH/s on a reference R9 280X is nearly what I get now by optimising my v6 kernel. I think it can do more. That's for vector Salsa, ChaCha and BLAKE2s. Scalar are -10KH/s.



EDIT: Updated the screen shot with a longer run time.

ANN: If anyone wants NVIDIA OpenCL support in NSGminer with optimisations and hardware monitoring, donate to the addresses in the OP and post to this thread. The target is 0.5 BTC to cover the hardware cost at least.
617  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.1: The Fastest NeoScrypt GPU Miner on: January 18, 2016, 01:19:28 AM
Looks very good. Have you tweaked the kernel settings or left the defaults there?

I actually rewrote most of it:

- Chacha and Salsa are now done vectorized on GCN. Unroll level is still three for both.
- Blake2S is done parallel, too
- Your bytewise copies were left for now - the bytewise XORs are now done by uints
- Removed your little AND operation on bufptr
- Replaced your if/else structure for creating the output with a single loop doing a bytewise XOR (yes, it works in 100% of cases)
- Created a BlkMix() function for cleanliness
- Split the work over several kernels
- Added ScratchpadLoad/ScratchpadStore/ScratchpadMix functions for cleanliness and a better striped access pattern in memory
- Parallelized the SMix() calls
- Abused the TMTO vulnerability, and made it configurable in the miner
- Shrunk code size by a lot

Well, we can make a much better progress if you upload your work somewhere to take a closer look. I'm very flexible on NSGminer and can do things SGminer will not in order to keep compatibility with their bunch of various algos and kernels. NSGminer isn't my private project, you can also commit your changes.

While optimising for GCN, I also try not to break support for VLIW. For example, this kernel is about 2x faster than yours on the VLIW5 & VLIW4 hardware. I admit most miners are on GCN now, but it's a good thing to keep the older hardware useful.

BLAKE2S_COMPACT just butchered the hashrate. About the miner, though... one thing bugs me. I know it's based on BFGMiner, but it terminates my X server with *extreme* prejudice - killing it and then NSGMiner dies in an uncontrolled fashion. I can tell because of the error from the X server dumped right before NSGMiner dies without taking care of ncurses, meaning I can't see what I type in that shell until I do a reset of the shell, reboot, etc.

Well, BLAKE2S_COMPACT is just an option which doesn't do any good now apart of reducing compiled kernel size. NSGminer is a fork of BFGminer v2.10.14 last updated 2 years ago. Although there was no ASIC related code which I would have to remove otherwise. There are also a few good things not found in CGminer/SGminer. I have rewritten many parts anyway to make it really work rather than just work. For example, SGminer displays incorrect block hashes, bogus network diff and the best share, share diff is inflated by 16, maybe solo mining is still broken. diff1 for NeoScrypt (and Scrypt, too) is 0.00024414 of the BTC diff1, that's nBits = 0x1E0FFFF0 big endian which gets decompressed to this uint256 target:

0000000000000000000000000000000000000000000000000000000FFFF00000x0

SGminer lost one most significant zero for some arcane reason. I guess it was also bad in the initial CGminer port to NeoScrypt. Divide this by a share hash/target to get the share diff. That's why all share diffs are 16x higher than actual.

I run NSGminer in lxterminal usually with a cron powered watchdog script, though I don't recall it crashing. Maybe it needs an update in this area to make X happy.
618  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Orbitcoin v1.5.0.0 ~ NeoScrypt ~ Green Stake on: January 17, 2016, 11:42:22 PM
NSGminer v0.9.1 released with my NeoScrypt OpenCL kernel v6. Should be compatible with the latest AMD Catalyst drivers. Also delivers a little performance improvement over the previous release.

Big thanks for that! I wish I could use it with my nvidia gt730, but I would just burn electricity... Can you consider making one for nvidia? (I know you don't like them from previous posts)

I haven't tested it myself on NVIDIA, though the kernel configures itself for all scalar code in their case, so it may work actually. There is no hardware monitoring available for NVIDIA, but this something I can add in the near future.
619  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.1: The Fastest NeoScrypt GPU Miner on: January 17, 2016, 05:41:24 PM
Looks very good. Have you tweaked the kernel settings or left the defaults there?

I actually rewrote most of it:

- Chacha and Salsa are now done vectorized on GCN. Unroll level is still three for both.
- Blake2S is done parallel, too
- Your bytewise copies were left for now - the bytewise XORs are now done by uints
- Removed your little AND operation on bufptr
- Replaced your if/else structure for creating the output with a single loop doing a bytewise XOR (yes, it works in 100% of cases)
- Created a BlkMix() function for cleanliness
- Split the work over several kernels
- Added ScratchpadLoad/ScratchpadStore/ScratchpadMix functions for cleanliness and a better striped access pattern in memory
- Parallelized the SMix() calls
- Abused the TMTO vulnerability, and made it configurable in the miner
- Shrunk code size by a lot

Well, we can make a much better progress if you upload your work somewhere to take a closer look. I'm very flexible on NSGminer and can do things SGminer will not in order to keep compatibility with their bunch of various algos and kernels. NSGminer isn't my private project, you can also commit your changes.

While optimising for GCN, I also try not to break support for VLIW. For example, this kernel is about 2x faster than yours on the VLIW5 & VLIW4 hardware. I admit most miners are on GCN now, but it's a good thing to keep the older hardware useful.
620  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.1: The Fastest NeoScrypt GPU Miner on: January 17, 2016, 05:24:31 PM
I haven't seen any real improvement on vector BLAKE2s, though I have added it as a feature.

Yeah, that makes sense.  Lot's of ways to represent success.  

Could you switch to vector code for Salsa and ChaCha to see if it makes a positive difference on GCN with the 15.x drivers?

Code:
#elif (__Tahiti__) || (__Pitcairn__) || (__Capeverde__) || \
(__Oland__) || (__Hainan__) || \
(__Hawaii__) || (__Bonaire__) || \
(__Kalindi__) || (__Mullins__) || (__Spectre__) || (__Spooky__) || \
(__Tonga__) || (__Iceland__)
#define SALSA_SCALAR 0
#define CHACHA_SCALAR 0
#define BLAKE2S_SCALAR 1
#define FASTKDF_SCALAR 0

FASTKDF_COMPACT 1 also seems to improve performance a little on GCN. Maybe SALSA_UNROLL_LEVEL and CHACHA_UNROLL_LEVEL are better if set to 3 like previously instead of 4.
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!