Bitcoin Forum
June 24, 2024, 09:40:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
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 »
  Print  
Author Topic: [OSC]OpenSourcecoin Mandatory Update 7/1/14  (Read 153272 times)
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 10, 2013, 07:10:12 AM
 #81

Code:
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{

static const int64 nMinimumCoin = 0.0777 * COIN;

int64 nSubsidy = 0.0777 * COIN;                                                                         //genesis

if (nHeight > 0 && nHeight < 7) {nSubsidy = 0 * COIN;}                                                // zero
else if (nHeight == 7) {nSubsidy = 177777 * COIN;}                                                   // Premine
else if (nHeight > 7 && nHeight < 1000) {nSubsidy = (2.5 * COIN;}                                   // IRC Launch
else if (nHeight > 1000 && nHeight < 1337) {nSubsidy = (0.0777 * COIN;}                            // low instamine official launch
else if (nHeight == 1337) {nSubsidy = 1337 * COIN;}                                               //L33T
else if (nHeight > 1337 && nHeight < 4000) {nSubsidy = 1 * COIN;}                                //final launch period
else if (nHeight > 4000 && nHeight < 8000) {nSubsidy = 22.5 * COIN;}                        // 22.5 coin
else if (nHeight > 8000 && nHeight < 16000) {nSubsidy = 15 * COIN;}                            // 15 coins per block
else if (nHeight > 16000 && nHeight < 32000) {nSubsidy = 7.5 * COIN;}                         // 7.5 coins per block
else if (nHeight > 32000 && nHeight < 64000) {nSubsidy = 6 * COIN;}                          // 6 coins per block
else if (nHeight > 64000 && nHeight < 77777) {nSubsidy = 4 * COIN;}                         // 4 coins
else if (nHeight == 77777) {nSubsidy = 10000 * COIN;}                                      // bonus reward
else if (nHeight > 77777 && nHeight < 128000) {nSubsidy = 4 * COIN;}                      // 4 coins
else if (nHeight > 128000 && nHeight < 256000) {nSubsidy = 3 * COIN;}                    // 3 coins
else if (nHeight > 256000 && nHeight < 400000) {nSubsidy = 2.5 * COIN;}                 // 2.5 coins
else {nSubsidy = 1 * COIN;}              

If I'm reading this source right, blocks 1000, 4000, 8000, 16000, 32000, 64000, 128000 and 256000 will be a reward of only (1 * COIN), because these blocks fail all conditional tests. Is this intentional?
no that was just an oversight on my part, however the purpos of the following line is a fallback for a block that doesn't meet the conditional requirements based on nHeight.
Code:
else {nSubsidy = 1 * COIN;}

 nMinCoin(0.0777) is meant to stop the block rewards from dividing to a ridiculously small amount.

you seem to pay very close attention to detail. down the road if i needed to add some features outside of the normal features, would you be qualified to take on such a project?

My negative trust rating is reflective of a personal vendetta by someone on default trust.
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 10, 2013, 11:47:11 AM
 #82

bump  Cheesy

My negative trust rating is reflective of a personal vendetta by someone on default trust.
Hydroponica
Full Member
***
Offline Offline

Activity: 182
Merit: 100


fml


View Profile
September 10, 2013, 01:28:22 PM
 #83

We need a POOL!!!!

Vakhen
Newbie
*
Offline Offline

Activity: 18
Merit: 0



View Profile
September 10, 2013, 02:00:36 PM
 #84

We need a POOL!!!!

Exactly...
TheSpiral
Full Member
***
Offline Offline

Activity: 322
Merit: 113


Sinbad Mixer: Mix Your BTC Quickly


View Profile
September 10, 2013, 02:09:25 PM
 #85

Have found several blocks already, but giveaways and bounties are worth way way more than just mining at this point.
Maybe once we get past block 4000, it'll be much more worthwhile.
stas
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
September 10, 2013, 02:20:21 PM
 #86

can't sync

stas
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
September 10, 2013, 02:45:04 PM
 #87

no active connections

Su100
Full Member
***
Offline Offline

Activity: 135
Merit: 100

Business models change. Its the mindset that stays


View Profile
September 10, 2013, 04:43:27 PM
 #88

Solo mining works fine now:)
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 11, 2013, 12:01:48 AM
 #89

updated remaining premine balance. there are still lots of bounties available. and there are still many more coins to be given away in the giveaway post.

there is another giveaway that has been started on cryptocointalk

https://cryptocointalk.com/topic/1182-ocoin-giveaway/


no active connections

Patently false.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
cshelswell
Hero Member
*****
Offline Offline

Activity: 615
Merit: 500


View Profile WWW
September 11, 2013, 02:26:14 AM
 #90

Hi this doesn't compile for me on linux. I'm getting a "fatal error: Ocoingui.h: No such file or directory" I also had to rename the icons in res/icons with an upper case O

Anyone else got this compiled on Linux?

Also what's the rpcport for the conf?

Cheers

r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 11, 2013, 02:39:09 AM
 #91

Hi this doesn't compile for me on linux. I'm getting a "fatal error: Ocoingui.h: No such file or directory" I also had to rename the icons in res/icons with an upper case O

Anyone else got this compiled on Linux?

Also what's the rpcport for the conf?

Cheers


@linux issue. let me look at the source and see what i can determine.

@rpcport. default rpc port is 38532, however in the windows installer the pregenerated conf file sets it to 80 assuming that noobs will not be able to open non standard ports in their router.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
cshelswell
Hero Member
*****
Offline Offline

Activity: 615
Merit: 500


View Profile WWW
September 11, 2013, 02:50:42 AM
 #92

great thanks. If i can get it going I'll have a wee shot at mining it Smiley

r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 11, 2013, 03:08:18 AM
 #93

great thanks. If i can get it going I'll have a wee shot at mining it Smiley

ok, after a brief look through the source its just standard debug stuff. you can do a find and replace using a text editor and replace
Quote
Ocoin
with
Quote
ocoin(all lowercase)
and it should compile just fine.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
cshelswell
Hero Member
*****
Offline Offline

Activity: 615
Merit: 500


View Profile WWW
September 11, 2013, 03:34:11 AM
 #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

Vakhen
Newbie
*
Offline Offline

Activity: 18
Merit: 0



View Profile
September 11, 2013, 03:39:00 AM
 #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.
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 11, 2013, 03:44:37 AM
 #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

My negative trust rating is reflective of a personal vendetta by someone on default trust.
Vakhen
Newbie
*
Offline Offline

Activity: 18
Merit: 0



View Profile
September 11, 2013, 03:50:31 AM
 #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?
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 11, 2013, 03:57:09 AM
 #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

My negative trust rating is reflective of a personal vendetta by someone on default trust.
Vakhen
Newbie
*
Offline Offline

Activity: 18
Merit: 0



View Profile
September 11, 2013, 03:59:11 AM
 #99

Woot 2 blocks! They show as "Immature". How cute lol.
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
September 11, 2013, 04:12:47 AM
 #100

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.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
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 »
  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!