Bitcoin Forum
June 22, 2024, 06:54:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 [236] 237 238 239 240 241 242 243 244 245 246 247 248 »
4701  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] sgminer v5 - new unified multi-algorithm on-the-fly kernel switching miner on: July 01, 2014, 09:51:01 AM
what happens to the X11/X13 markets ?
mining with my 8x7950 just make the electricity back in dollars  Sad
Is GPU mining rally dead ?

unless you pay 0.1 or less per KW/H, it's been dead for a while now.
4702  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, 50% POS Active on: July 01, 2014, 09:49:18 AM
New clean block chain is available at

Code:
ftp://diamond.danbo.bg/dmdchain20140701.zip

It is almost twice less in size than the previous one provided, which was bloated with more than one copy of the same block.

As discussed earlier, it was created by connecting to a known good node (one running current software) ONLY, disabling IRC learning of peers, incoming connections and removing peers.dat. Anyone can create such a distilled blockchain -- we do this all the time to test the new client functions normally, this one is provided just for your convenience.

Small note. The directory unpacks as a hidden folder on MAC.

Yes... it unpacks as the .Diamond folder, which is the appropriate name under all UNIX (except OS X). It is hidden in OS X and Windows, because of the dot.

Maybe, a better idea is to unpack as Diamond folder, which would work in both OS X and Windows. What do you think?
The primary reason I did not do it that was is that on my development computers, Diamond is the directory where the git sources come. I could have inadvertently created a mess. But maybe good idea to change it, as for other OSes it's inconvenience.

By the way, HTTP download links are here:

Diamond Block chain http://diamond.danbo.bg/downloads/dmdchain20140701.zip
Diamond Windows Wallet http://diamond.danbo.bg/downloads/diamond-qt-2.0.2.2.exe
Diamond OS X Wallet http://diamond.danbo.bg/downloads/diamond-qt-2.0.2.2.dmg



well, actually it is hidden on unix/linux as well (if you don't specify "-a" to ls).
I think the best way is to unpack to a directory named "dmd blockchain" which contains a README file which explains how to use it, depending on the OS you have.
4703  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, 50% POS Active on: June 30, 2014, 03:53:26 PM
@danbi

Is your pool website down? I'm unable to connect to http://dmdpool.digsys.bg/.
Is mining in the pool working or not?

I occasionally experienced a similar problem: stratum is always working fine, but the web site times out.
When that happens, wait some minutes and it's back.
Looks like some kind of dns problem, danbi are you using some dynaminc dns service on the website?
4704  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, 50% POS Active on: June 30, 2014, 12:03:51 PM
Code is already on github, but I forgot my portable build environment, so it will have to wait for the evening (EU time).

Can I already compile the headless wallet or should I wait?
4705  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 28, 2014, 08:57:10 PM
I have 3 "generate" transactions in my wallet, two negative and one positive, whose sum is exactly zero.
What does it means?

Got it. The pos reward is in the fees. They go into the default account.
4706  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 28, 2014, 06:42:45 PM
I have 3 "generate" transactions in my wallet, two negative and one positive, whose sum is exactly zero.
What does it means?
4707  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 18, 2014, 11:00:41 AM
This is a known corruption of the block index database, for which we have not yet found a solution. The easiest way to fix it is to load the blocks from the block chain you already have, effectively rebuilding the index. You can do this by removing blkindex.dat first and then running

diamondd -loadblock=blk0001.dat

This will go like downloading the block chain from the network, only much faster and will result in clean block index.

For some reason, on my qnap, using this method is slower than redownloading the blockchain from scratch: after a night of indexing, it is still at block 95000.
Now I'll restart with the blockchain from the OP and reconpile with the suggested flags, and report back.

-fsanitize is not supported by the compiler.
the other two flags are accepted but produce a binary which just segfaults when started.

gcc -v:

Target: arm-none-linux-gnueabi
Configured with: ../gcc-4.2/configure --build=i386-pc-linux-gnu --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/opt --disable-nls --disable-static --with-as=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-as --with-ld=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-ld --enable-languages=c,c++ --disable-multilib --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --enable-shared --enable-symvers=gnu --enable-__cxa_atexit
Thread model: posix
gcc version 4.2.3
4708  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 18, 2014, 07:41:46 AM
This is a known corruption of the block index database, for which we have not yet found a solution. The easiest way to fix it is to load the blocks from the block chain you already have, effectively rebuilding the index. You can do this by removing blkindex.dat first and then running

diamondd -loadblock=blk0001.dat

This will go like downloading the block chain from the network, only much faster and will result in clean block index.

For some reason, on my qnap, using this method is slower than redownloading the blockchain from scratch: after a night of indexing, it is still at block 95000.
Now I'll restart with the blockchain from the OP and reconpile with the suggested flags, and report back.
4709  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 17, 2014, 09:08:27 PM
The full error message:

diamondd: kernel.cpp:412: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.

Happened again today when I stopped and restarted the wallet daemon.

One idea how to fix it: since it happens more frequently with your installation (perhaps because it's slower to stop), could you please try adding this to CFLAGS:

-fsanitize=thread -pie -fPIC

This, after recreating blkindex.dat (and saving a copy of the whole dir just in case) Smiley

My theory here is that threads are destroyed asynchronously and the locking thread exits before the block index writer actually exists. A dirty fix, but might work.

Note, might not work on older gcc versions. Hope, we will know more from this tool.

I will try this tomorrow, thanks.
"restart too early" can't be the cause in my case, because the wallet has been stopped for about one hour.
Meanwhile it's slowly syncing, it will probably need at least the whole night. Developing on such a slow device can be painful :-)
4710  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 17, 2014, 08:07:33 PM
The full error message:

diamondd: kernel.cpp:412: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.

Happened again today when I stopped and restarted the wallet daemon.
4711  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 17, 2014, 01:46:17 PM
danbi, will the changes needed to compile on arm be included in the official git?
just wanted to know if they must be included in a "compile on arm" document (or "use the latest source with arm support" instead).
4712  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN][Groestl] Optimized OpenCL kernel Groestlcoin/Diamondcoin miner on: June 16, 2014, 09:27:10 AM
srcxxx, may I suggest you remove the thread concurrency (and lookup gap, and vectors...) from the filename, so the files are ok for everyone, regardless?
I did this myself in sph-sgminer in the past, it's much convenient. The only downside is it's not compatible with scrypt.
I can provide details if you wish.
4713  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 16, 2014, 09:17:18 AM
About the need to re-download block chain, could you send me the complete error so that we investigate why it is happening. You should also verify that your wallet is functioning properly by downloading the complete block chain from scratch. This is the ultimate test.

Can you prepare two text documents for inclusion in the Diamond code? Such as how to build on ARM and how to build on QNAP. Add your copyright there, and make sure it's compatible with the general Diamond copyright.

About the blockchain problem: I built the 2.0.1 client before and downloaded the whole blockchain with it, then compiled the new client which failed on catching up (unfortunately I haven't kept the full error message, only the start, which is shown in the "guide"). This error might be only for those who had the old wallet (so myself only).
Than I got the blockchain from the OP and it synced fine (even if I had to restart the wallet because it initially got stuck at around block 38000).
If you think it's useful, I will redownload the whole blockchain with the latest client, only problem is that it takes more than a whole day, making the NAS very slow! Smiley

About the two documents, I'll soon be on vacancy so it'll not be right now, but I'll do ASAP.

And thanks to popshot for the donation, really appreciated!
4714  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 13, 2014, 08:26:40 PM
BUILDING THE HEADLESS WALLET ON A QNAP ARM NAS
----------------------------------------------

CHANGES TO THE WALLET SOURCES:

- mkdir src/obj
- makefile.unix sets -msse2 flag that obviously doesn't work for arm

- makefile.unix: missing scrypt-arm.S (I got it from hobonickels github: download and put into src/)

   @@ -135,7 +135,8 @@ OBJS= \
     obj/pbkdf2.o \
     obj/scrypt_mine.o \
     obj/scrypt-x86.o \
-    obj/scrypt-x86_64.o
+    obj/scrypt-x86_64.o \
+    obj/scrypt-arm.o
 
 all: diamondd
@@ -158,6 +159,9 @@ obj/scrypt-x86.o: scrypt-x86.S
 obj/scrypt-x86_64.o: scrypt-x86_64.S
    $(CXX) -c $(xCXXFLAGS) -MMD -o $@ $<
 
+obj/scrypt-arm.o: scrypt-arm.S
+   $(CXX) -c $(xCXXFLAGS) -MMD -o $@ $<
+
 obj/%.o: %.cpp
    $(CXX) -c $(xCXXFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $<
    @cp $(@:%.o=%.d) $(@:%.o=%.P); \

- scrypt_mine.cpp: need to "else" instead of "elseif" or arm wouldn't get the declarations:

index afca59d..4fa1426 100644
--- a/src/scrypt_mine.cpp
+++ b/src/scrypt_mine.cpp
@@ -54,7 +54,8 @@ extern "C" void scrypt_core(uint32_t *X, uint32_t *V);
 extern "C" void scrypt_core_2way(uint32_t *X, uint32_t *Y, uint32_t *V);
 extern "C" void scrypt_core_3way(uint32_t *X, uint32_t *Y, uint32_t *Z, uint32_t *V);
 
-#elif defined(__i386__)
+#else

- main.cpp: ambiguous call to random(), need to specify it's the boost version:

index 1e40a7e..3a513e1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -947,8 +947,8 @@ uint256 WantedByOrphan(const CBlock* pblockOrphan)
 
 int generateMTRandom(unsigned int s, int range)
 {
-    random::mt19937 gen(s);
-    random::uniform_int_distribution<> dist(1, range);
+    boost::random::mt19937 gen(s);
+    boost::random::uniform_int_distribution<> dist(1, range);
     return dist(gen);
 }

QNAP NAS specific:

- first of all install "ipkg" from the application center, open a terminal and install the build environment (TODO provide "ipkg install" command)
- don't compile into admin's home, it's too small: use another user or move to another directory
- for the same reason, don't do "make install", or do it but changing the prefix to /opt instead of /usr/local
- compile your own berkeleydb 4.8, boost library and, if you need it, miniupnpc too (see their documentation and read doc/build-unix.txt of any bitcoin-derived wallet)
- consider it may take a while: on my nas the boost library took a whole night to fully compile
- make with: CXXFLAGS='-DHAVE_CXX_STDHEADERS' BDB_INCLUDE_PATH='~/BerkeleyDB.4.8/include' BDB_LIB_PATH='~/BerkeleyDB.4.8/lib' \
   BOOST_INCLUDE_PATH='~/boost_1_55_0' BOOST_LIB_PATH='~/boost_1_55_0/stage/lib' make -f makefile.unix
- remember to run ldconfig on the two new lib paths and/or add to /etc/ld.so.conf
- because of some locale issue, "export LC_ALL=C" is needed before running the wallet
- strip debug info from the executable in order to save ram (we have little on a NAS): "strip diamondd"
- if you get "diamondd: kernel.cpp:412: unsigned int GetStakeModifierChecksum..." try downloading blockchain from OP.

Donations (DMD): dVrz69vZFrxJRH9AnKyHim7Hd3PhY3w9NQ
4715  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 13, 2014, 07:37:09 AM
Excellent!
Solo mining with 21 MHs and happily finding blocks (about 10 per day)  Smiley

Does anyone have the Diamond.cl kernel, I am running groestl.cl currently and would like to try --algo diamond.

there is no difference between the two opencl kernels (groestlcoin.cl and diamond.cl)
4716  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [GRS] GroestlCoin: First Grøstl | PoW/PoS | Democratizing Mining | AES acc on: June 12, 2014, 09:43:02 AM
where is child_arnold? I miss his positive posts! ;-)
4717  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 12, 2014, 07:57:41 AM
I think you should list the pools in the OP in ascending hashrate order, so new miners will more likely come to the smaller ones, resulting in a better hashrate distribution.
4718  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][ATH] ATHEISTCOIN | DGW3 | GROESTL-based on: June 11, 2014, 03:37:34 PM
you can make an fpga for every algo.
this doesn't mean it's available to the public nor power efficient.
4719  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 11, 2014, 01:26:28 PM
I've succesfully compiled the headless wallet on my QNAP NAS (arm processor).
It wasn't trivial, the wallet code assumes x86 in some places.
Devs let me know if you are interested in which changes I made for arm compatibility.

i think its not only interesting for dev but anyone who try achieve that or a similar goal
i suggest once new source is released and u repeat that

u supply a "howto compile diamondDD on QNAP NAS" which we add to our github as a guide

thx for your effort to explore new possible plattforms to run diamond onto


I think the changes should be partly incorporated into the main source three: there are needed changes in the makefile, a couple cpp files and an additional asm file for scrypt arm (+ all the qnap specific things).
when the new sources are available, I'll redo the same, but this time keeping track of all the changes ;-)
4720  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Diamond (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS on: June 11, 2014, 12:42:42 PM
I've succesfully compiled the headless wallet on my QNAP NAS (arm processor).
It wasn't trivial, the wallet code assumes x86 in some places.
Devs let me know if you are interested in which changes I made for arm compatibility.
Pages: « 1 ... 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 [236] 237 238 239 240 241 242 243 244 245 246 247 248 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!