Pages:
Author

Topic: [OSC]OpenSourcecoin Mandatory Update 7/1/14 - page 36. (Read 153348 times)

hero member
Activity: 686
Merit: 504
always the student, never the master.
September 11, 2013, 04:50:02 PM
Unfortunately not. Those lines were already commented out. I tried removing them anyway but still no cigar i'm afraid. Would love to get on this while you can still solo mine too Smiley

i feel your pain bro, im trying to get this compiled last day but nada. it seems author forgot that Unix is case sensitive. even after i manualy fix those Ocoin*.h and .pro still throwing error.

this is last error i get.


[ 1477s] build/ocoin.o: In function `main':
[ 1477s] ocoin.cpp:(.text.startup+0x227): undefined reference to `qInitResources_Ocoin()'
[ 1477s] collect2: error: ld returned 1 exit status
[ 1477s] make: *** [Ocoin-qt] Error 1

yeah, you need to do a make clean.

qmake && make clean
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 11, 2013, 04:47:11 PM
So 'OpenSource' coin is only available as a windows binary, or a zip file on google docs... you should seriously chuck this up on a git repo or similar. For sake of the name alone!

As it much less accessable without a source repo, (simple 'git clone ' VS... open web browser just to click through google docs script/gui to fund link to actual zip file download, browse to download dir, extract archive to source dir.
Zip likely destroyed file permissions/lastmodified , cant check recent changes/edits to the filess i guess, no modifydate on files and no versioning repo.

And if i find bug in code then theres no way for me submit patch without having to post code blocks on forum, too hard.
Etc etc.

Just pointing out that 'OpenSource' Coin is a lot less open (its barely open at all) than any of the projects its code is forked from are. Would be better named potato coin, now that would be a good coin for sure!

The worse crime here is that my simple shell script  to do all that for (clone, build, copy bin, copy config template, altcoin all setup and ready to go) wont work without source repo, and i cant be bothered myself.
My time is much better spent trolling the forum thread instead!


Sorry, rant over.



my friend ahmed has put it on github for us all. big props to ahmed. https://github.com/ahmedbodi/Ocoin
newbie
Activity: 29
Merit: 0
September 11, 2013, 08:24:40 AM
So 'OpenSource' coin is only available as a windows binary, or a zip file on google docs... you should seriously chuck this up on a git repo or similar. For sake of the name alone!

As it much less accessable without a source repo, (simple 'git clone ' VS... open web browser just to click through google docs script/gui to fund link to actual zip file download, browse to download dir, extract archive to source dir.
Zip likely destroyed file permissions/lastmodified , cant check recent changes/edits to the filess i guess, no modifydate on files and no versioning repo.

And if i find bug in code then theres no way for me submit patch without having to post code blocks on forum, too hard.
Etc etc.

Just pointing out that 'OpenSource' Coin is a lot less open (its barely open at all) than any of the projects its code is forked from are. Would be better named potato coin, now that would be a good coin for sure!

The worse crime here is that my simple shell script  to do all that for (clone, build, copy bin, copy config template, altcoin all setup and ready to go) wont work without source repo, and i cant be bothered myself.
My time is much better spent trolling the forum thread instead!


Sorry, rant over.

sr. member
Activity: 308
Merit: 250
onore dikeido
September 11, 2013, 07:34:42 AM
Unfortunately not. Those lines were already commented out. I tried removing them anyway but still no cigar i'm afraid. Would love to get on this while you can still solo mine too Smiley

i feel your pain bro, im trying to get this compiled last day but nada. it seems author forgot that Unix is case sensitive. even after i manualy fix those Ocoin*.h and .pro still throwing error.

this is last error i get.


[ 1477s] build/ocoin.o: In function `main':
[ 1477s] ocoin.cpp:(.text.startup+0x227): undefined reference to `qInitResources_Ocoin()'
[ 1477s] collect2: error: ld returned 1 exit status
[ 1477s] make: *** [Ocoin-qt] Error 1
hero member
Activity: 615
Merit: 500
September 11, 2013, 02:03:46 AM
nope that still craps out. Went through the code and fixed the capital letters but at the end I'm getting a heap of "undefined reference to 'boost::this_thread::hidden::sleep_until...'

Dont think that's my system. I've got boost installed and have compiled heaps of wallets so i'm not sure....

Cheers

shit, i have no idea. worked fine on windows. i will have to confer with shakezula on this one.

EDIT: i conferred with shakezula, and here is the fix.

1. open Ocoin.pro

2. comment out the lines 8-22 until it looks like this, save and exit your text editor.

Code:
# UNCOMMENT THIS SECTION TO BUILD ON WINDOWS
#windows:LIBS += -lshlwapi
#LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
#LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
#windows:LIBS += -lws2_32 -lole32 -loleaut32 -luuid -lgdi32
#LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
#BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53
#BOOST_INCLUDE_PATH=C:/deps/boost
#BOOST_LIB_PATH=C:/deps/boost/stage/lib
#BDB_INCLUDE_PATH=c:/deps/db/build_unix
#BDB_LIB_PATH=c:/deps/db/build_unix
#OPENSSL_INCLUDE_PATH=c:/deps/ssl/include
#OPENSSL_LIB_PATH=c:/deps/ssl
#MINIUPNPC_LIB_PATH=c:/deps/miniupnpc
#MINIUPNPC_INCLUDE_PATH=c:/deps

3. report back with results. optionally you can try deleting line 8-22 altogether.

Unfortunately not. Those lines were already commented out. I tried removing them anyway but still no cigar i'm afraid. Would love to get on this while you can still solo mine too Smiley
newbie
Activity: 18
Merit: 0
September 11, 2013, 01:28:47 AM
Just a quick heads up, the website listed in your copyright page (www.ocoin.com) is a Chinese (literally) silver coin sales website? Just a heads up, if you do have or are setting up a domain, might want to fix that or say something else in that line of your copyright notice.
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 11, 2013, 12:24:37 AM
i've rand the numbers again and 100 coins per block for a 128,000 block period is way to deflationary. instead the following is my proposed solution. the block rewards prior to block 128,000 will not be effected in this change.

coins produced prior to block 128,000        = 972,283.6511 block reward varied period length 89 days

coins produced block 128,000-256,000       = 2,560,000       block reward 20 period length 89 days

coins produced block 256,000-400,000       = 3,600,000       block reward 25 period length 140 days

coins produced block 400,000-800,000       = 5,000,000       block reward 12.5 period length 278 days

coins produced block 800,000-1,200,000    = 2,500,000       block reward 6.25 period length 278 days

coins produced block 1,200,000-1,600,000 = 1,250,000       block reward 3.125 period length 278 days

coins produced block 1,600,000-2,000,000 = 625,000          block reward 1.5625 period length 278 days

coins produced block 2,000,000-2,400,000 = 312,500       block reward  0.78125 period length 278 days
-----------------------------------------------------------------------------------------------------------------------
totals:                              coins produced  16,819,383.6511                                  period of time: 4.68 years, or 1708 days
newbie
Activity: 18
Merit: 0
September 11, 2013, 12:03:30 AM
Well if it doesn't affect my hash, and gets the coin up to where it should be per the original release info, it seems like it would make sense IMHO, though I'm fairly a noob when it comes to this whole "startup of an alt coin thing". I'll just keep hashing.
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 11, 2013, 12:00:44 AM
Ok, so i've just crunched the numbers(thanks to a tip from Giskard) and by the time the first subsidy is halved at block 400,000 there will only be 1,716,283.6511. this number is fairly accurate, however it does not account for each block in between each transitional nHeight statement. these transition blocks render only 1 coin, the fall back of the block reward schematic.

In light of this blunder i have a proposition. instead of the reward of 3 coins per block from block 128000 to block 256000, i propose a reward of 100 coins per block. likewise, block 256000 to 400000 would render 50 coins per block. finally block 400000-800000 would render 25 coins per block, and the rewards would have out from there just as bitcoin does. i would like to hear your opinion on this and if you approve of this change before i go forth in making it.

So what does this mean for the average shmo whose mining? Does everything reset or do I just need to download a new wallet if this occurs?

you would just need to download a new wallet. the 120,000 block will not occur for atleast 80 more days assuming 1 minute block targets. the formula i used to arrive at this conclusion is
Code:
120000/(60*24)

60*24=1440

12000/1440 = 83.3~
newbie
Activity: 18
Merit: 0
September 10, 2013, 11:55:42 PM
Ok, so i've just crunched the numbers(thanks to a tip from Giskard) and by the time the first subsidy is halved at block 400,000 there will only be 1,716,283.6511. this number is fairly accurate, however it does not account for each block in between each transitional nHeight statement. these transition blocks render only 1 coin, the fall back of the block reward schematic.

In light of this blunder i have a proposition. instead of the reward of 3 coins per block from block 128000 to block 256000, i propose a reward of 100 coins per block. likewise, block 256000 to 400000 would render 50 coins per block. finally block 400000-800000 would render 25 coins per block, and the rewards would have out from there just as bitcoin does. i would like to hear your opinion on this and if you approve of this change before i go forth in making it.

So what does this mean for the average shmo whose mining? Does everything reset or do I just need to download a new wallet if this occurs?
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 10, 2013, 11:49:51 PM
Ok, so i've just crunched the numbers(thanks to a tip from Giskard) and by the time the first subsidy is halved at block 400,000 there will only be 1,716,283.6511. this number is fairly accurate, however it does not account for each block in between each transitional nHeight statement. these transition blocks render only 1 coin, the fall back of the block reward schematic.

In light of this blunder i have a proposition. instead of the reward of 3 coins per block from block 128000 to block 256000, i propose a reward of 100 coins per block. likewise, block 256000 to 400000 would render 50 coins per block. finally block 400000-800000 would render 25 coins per block, and the rewards would have out from there just as bitcoin does. i would like to hear your opinion on this and if you approve of this change before i go forth in making it.
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 10, 2013, 11:23:54 PM
So I mined 3 blocks, and confirmed 3 blocks. Its saying my wallet now has a balance of 3 OSC? So is the block reward 1 coin per block?

yes it is currently 1 coin per block until block 4000 iirc
newbie
Activity: 18
Merit: 0
September 10, 2013, 11:20:22 PM
So I mined 3 blocks, and confirmed 3 blocks. Its saying my wallet now has a balance of 3 OSC? So is the block reward 1 coin per block?
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 10, 2013, 11:12:47 PM
nope that still craps out. Went through the code and fixed the capital letters but at the end I'm getting a heap of "undefined reference to 'boost::this_thread::hidden::sleep_until...'

Dont think that's my system. I've got boost installed and have compiled heaps of wallets so i'm not sure....

Cheers

shit, i have no idea. worked fine on windows. i will have to confer with shakezula on this one.

EDIT: i conferred with shakezula, and here is the fix.

1. open Ocoin.pro

2. comment out the lines 8-22 until it looks like this, save and exit your text editor.

Code:
# UNCOMMENT THIS SECTION TO BUILD ON WINDOWS
#windows:LIBS += -lshlwapi
#LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
#LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
#windows:LIBS += -lws2_32 -lole32 -loleaut32 -luuid -lgdi32
#LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
#BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53
#BOOST_INCLUDE_PATH=C:/deps/boost
#BOOST_LIB_PATH=C:/deps/boost/stage/lib
#BDB_INCLUDE_PATH=c:/deps/db/build_unix
#BDB_LIB_PATH=c:/deps/db/build_unix
#OPENSSL_INCLUDE_PATH=c:/deps/ssl/include
#OPENSSL_LIB_PATH=c:/deps/ssl
#MINIUPNPC_LIB_PATH=c:/deps/miniupnpc
#MINIUPNPC_INCLUDE_PATH=c:/deps

3. report back with results. optionally you can try deleting line 8-22 altogether.
newbie
Activity: 18
Merit: 0
September 10, 2013, 10:59:11 PM
#99
Woot 2 blocks! They show as "Immature". How cute lol.
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 10, 2013, 10:57:09 PM
#98
So I'm rather used to doing pool mining vs local mining. Finally figured out I needed to move the ocoin.conf file to my appdata/roaming/ocoin directory, changed rpc port, user, pass. got cgminer to connect to it and start hashing. However, I'm not seeing any "accepted" work units, and I have 528 Getworks. Seeing an avg new block of 0.8 min. I'm hashing at about 2.7Gh, so am I just hashing too slow? Just don't want to leave this hashing overnight when I could be hashing with an objective elsewhere.

i can't answer that question objectively. i'm hashing at 1.0003 gh/s and i get a block every hour or so. in the end if you want to go else where i certainly understand. its hard to mine right now without a pool if you are a small miner. i've spoken with both ahmed bodhi and jude austin who are working on pools

Ahh ok, well if you're rolling at 1 and getting a block an hour, if I'm rolling at 2 I should get a block every 30 or so I'd guess. So I'll let it cruise for a couple hours and see how it goes. I presume it'll show the coins in the local wallet right? Or do I have to go into a log somewhere?

some people have reported them showing up 10 minutes late in their wallet, some people have reported them showing up and dissapearing(this is known as an orphan), but for me it usually shows up in my wallet in a minute or two after cgminer announces i found a block. hope this helps
newbie
Activity: 18
Merit: 0
September 10, 2013, 10:50:31 PM
#97
So I'm rather used to doing pool mining vs local mining. Finally figured out I needed to move the ocoin.conf file to my appdata/roaming/ocoin directory, changed rpc port, user, pass. got cgminer to connect to it and start hashing. However, I'm not seeing any "accepted" work units, and I have 528 Getworks. Seeing an avg new block of 0.8 min. I'm hashing at about 2.7Gh, so am I just hashing too slow? Just don't want to leave this hashing overnight when I could be hashing with an objective elsewhere.

i can't answer that question objectively. i'm hashing at 1.0003 gh/s and i get a block every hour or so. in the end if you want to go else where i certainly understand. its hard to mine right now without a pool if you are a small miner. i've spoken with both ahmed bodhi and jude austin who are working on pools

Ahh ok, well if you're rolling at 1 and getting a block an hour, if I'm rolling at 2 I should get a block every 30 or so I'd guess. So I'll let it cruise for a couple hours and see how it goes. I presume it'll show the coins in the local wallet right? Or do I have to go into a log somewhere?
hero member
Activity: 686
Merit: 504
always the student, never the master.
September 10, 2013, 10:44:37 PM
#96
So I'm rather used to doing pool mining vs local mining. Finally figured out I needed to move the ocoin.conf file to my appdata/roaming/ocoin directory, changed rpc port, user, pass. got cgminer to connect to it and start hashing. However, I'm not seeing any "accepted" work units, and I have 528 Getworks. Seeing an avg new block of 0.8 min. I'm hashing at about 2.7Gh, so am I just hashing too slow? Just don't want to leave this hashing overnight when I could be hashing with an objective elsewhere.

i can't answer that question objectively. i'm hashing at 1.0003 gh/s and i get a block every hour or so. in the end if you want to go else where i certainly understand. its hard to mine right now without a pool if you are a small miner. i've spoken with both ahmed bodhi and jude austin who are working on pools
newbie
Activity: 18
Merit: 0
September 10, 2013, 10:39:00 PM
#95
So I'm rather used to doing pool mining vs local mining. Finally figured out I needed to move the ocoin.conf file to my appdata/roaming/ocoin directory, changed rpc port, user, pass. got cgminer to connect to it and start hashing. However, I'm not seeing any "accepted" work units, and I have 528 Getworks. Seeing an avg new block of 0.8 min. I'm hashing at about 2.7Gh, so am I just hashing too slow? Just don't want to leave this hashing overnight when I could be hashing with an objective elsewhere.
hero member
Activity: 615
Merit: 500
September 10, 2013, 10:34:11 PM
#94
nope that still craps out. Went through the code and fixed the capital letters but at the end I'm getting a heap of "undefined reference to 'boost::this_thread::hidden::sleep_until...'

Dont think that's my system. I've got boost installed and have compiled heaps of wallets so i'm not sure....

Cheers
Pages:
Jump to: