Bitcoin Forum
May 12, 2024, 08:32:32 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 153266 times)
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 26, 2013, 11:23:03 PM
 #241

please visit http://opensourcecoin.org to get the latest client update, which fixes an issue with block rewards @ block height 400,000.

thanks!

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

Posts: 1715545952

View Profile Personal Message (Offline)

Ignore
1715545952
Reply with quote  #2

1715545952
Report to moderator
1715545952
Hero Member
*
Offline Offline

Posts: 1715545952

View Profile Personal Message (Offline)

Ignore
1715545952
Reply with quote  #2

1715545952
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715545952
Hero Member
*
Offline Offline

Posts: 1715545952

View Profile Personal Message (Offline)

Ignore
1715545952
Reply with quote  #2

1715545952
Report to moderator
like
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
October 27, 2013, 01:30:19 AM
 #242

你这个骗子,操你全家,还在骗人吗,你妈被人操烂了。

calm down like. we need you to post your Nanotoken address in the nanotoken thread. no one decieved you, you are mad because of what happened, i would be to, but remember i'm trying to help you. I should be ignoring you by now, but i'm giving you the benefit of the doubt. i'd be mad if i invested 20 bitcoins in a coin and it died too. so go back to the nanotoken thread, post a picture of your balance, and how many coins you were supposed to have, and we will pay you the difference, ok? and don't worry, Nanotoken is fixed now. as support picks up, its possible the exchange will pick it back up and you can recoup your investment. i need you to calm down and play ball with me if you want your investment back. i would buy your nanotokens off of you just to shut you up if i had the money, but i don't so these are your options.
不要找任何理由,如果你和C网赔偿我的损失,这就是你们的诚信,你以后发行的硬币会有很多人支持的,不然你就是臭名远播!
broketech
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
October 27, 2013, 07:13:11 AM
 #243

R3wt,

Got a testnet going, let me know if you want the diffs for the files I changed, or if you want me to walk you through making the genesis block build and recompiling. 

Sysadmin - Troubleshooter - Armchair Debugger
BTC: 1PCocLTxLJP4L1d1Gigjhxoy2WypifA4Cy - UN: uQAR2PhjtdvNvbbh4JC4wJdx3SCh2W4xB4 - SKC: SR81M5iqLkRB6PjZgkpNkpz1G7KmY3zceL
broketech
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
October 27, 2013, 08:20:55 AM
 #244

To test the testnet,  make the changes in the code in the diffs below, then compile on a couple different nodes.  Tested on 32 and 64 bit mintbuntu. 

Don't forget to make a testnet.conf somewhere and use -conf= on the command line. You might need to addnode= in the config to reach your other testnet nodes. 

This might be kind of vague, so if you have any questions, let me know. It's late for me, long day.  I'm going to reproduce how I did the genesis block in the morning and do a write up here.

Edit: in the diff, lines pointing left are original file from latest release, and lines pointing right are the changes.

Edit Edit:  I took down my nodes, so if you roll with these changes it should start work from block 0 on the testnet.


Code:
~/test/OSC-master/src $ diff --normal ./main.cpp ~/OSC-master/src/main.cpp
49c49
< const int64 nTestNetStartTime = nChainStartTime; // 2013-08-03 18:00:00 GMT
---
> const int64 nTestNetStartTime = 1382854856; // 2013-08-03 18:00:00 GMT
2576c2576
<         const char* pszTimestamp = "God IS L33T-- 08/02/2013 @ 2:33am";
---
>         const char* pszTimestamp = "sat oct 26th 2013 ~23:13 pst";
2592,2594c2592,2594
<         block.nTime    = 1376591211;
<         block.nBits    = bnProofOfWorkLimit.GetCompact();
<         block.nNonce   = 1355283799;
---
>         block.nTime    = 1382854856;
>         block.nBits    = 520159231;
>         block.nNonce   = 13623;
2626c2626
<         assert(block.hashMerkleRoot == uint256("0x184c70772fd0640c08b123b7b59f06f69442c88b29fb167d48e82e73bd1a9a01"));
---
>         assert(block.hashMerkleRoot == uint256("0x756a8646ad666f501ac21f4e40aec9f9136f982b469e78901ca39c2227e7957b"));

~/test/OSC-master/src $ diff --normal ./main.h ~/OSC-master/src/main.h
51c51,52
< static const uint256 hashGenesisBlockTestNet("0x");
---
> static const uint256 hashGenesisBlockTestNet("0x00007b4731dca3876ce1a526d370c93ce15d834e60c43f01b5c3c6838a7d40e4");
>

Sysadmin - Troubleshooter - Armchair Debugger
BTC: 1PCocLTxLJP4L1d1Gigjhxoy2WypifA4Cy - UN: uQAR2PhjtdvNvbbh4JC4wJdx3SCh2W4xB4 - SKC: SR81M5iqLkRB6PjZgkpNkpz1G7KmY3zceL
captainfuture
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
October 27, 2013, 09:59:50 AM
 #245

CoinEX updated

https://coinex.pw/trade/osc_btc

https://coinex.pw/mining/pools/OSC
broketech
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
October 27, 2013, 08:38:35 PM
Last edit: October 28, 2013, 05:18:43 AM by broketech
 #246

I think I fixed the testnet.  My OSC address is 2C9X2eEBLdJx1aTpea6w6iwbP3krNT9zGj .  Bounty delivered. Thanks r3wt, glad to help.

The main error is the assert at line 2628 main.cpp:
Code:
~/test/OSC-master/src $ ./Ocoind --testnet
Ocoind: main.cpp:2628: bool LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.
Aborted

In a previous post I provided a hard coded diff to help get the testnet working.  In this post I'll try to explain how to prep the testnet for a new genesis block.  This is a unix command line walk through.  It assumes that you have the source zip and already unpacked it.

Firstly,  make sure you are working from a fresh testnet dir.  OSC is coded for testnet2.

Code:
$cd .Ocoin/testnet2
$rm -rf database
$rm blkindex.dat
$rm .lock
$cd

Next go to main.cpp and make the following changes:
Code:
~/test/OSC-master/src $ diff --normal ~/OSC-master/src/main.cpp ./main.cpp
20c20
< const bool IsCalculatingGenesisBlockHash = false;
---
> const bool IsCalculatingGenesisBlockHash = true;
49c49
< const int64 nTestNetStartTime = nChainStartTime; // 2013-08-03 18:00:00 GMT
---
> const int64 nTestNetStartTime = GetAdjustedTime(); // 2013-08-03 18:00:00 GMT
2576c2576
<         const char* pszTimestamp = "God IS L33T-- 08/02/2013 @ 2:33am";
---
>         const char* pszTimestamp = "Testnet reproduction, sat 27th oct 2013";
2592c2592
<         block.nTime    = 1376591211;
---
>         block.nTime    = GetAdjustedTime();
2594c2594
<         block.nNonce   = 1355283799;
---
>         block.nNonce   = 0;

Compile:
Code:
~/test/OSC-master/src $ make -f makefile.unix USE_UPNP=- all

Run testnet for genesis block.  Run from source dir because we will have to edit the source and compile again anyways.  This build will fail on an assert and dump info for the genesis block into the debug.log file.
Code:
~/test/OSC-master/src $ ./Ocoind -testnet -gen
Ocoind: main.cpp:2626: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256("0x184c70772fd0640c08b123b7b59f06f69442c88b29fb167d48e82e73bd1a9a01")' failed.
Aborted
~/test/OSC-master/src $ rm ./Ocoind

Open another terminal window and more/tail the debug.log.
Code:
~/test/OSC-master/src $ tail -f ~/.Ocoin/testnet2/debug.log

and you should have some output regarding your genesis block:
Code:
Ocoin version v0.1.1.1-g99999-r1 ()
Using OpenSSL version OpenSSL 1.0.1c 10 May 2012
Startup time: 10/27/13 20:01:44
Default data directory /home/woodchuck/.Ocoin
Used data directory /home/woodchuck/.Ocoin/testnet2
dbenv.open LogDir=/home/woodchuck/.Ocoin/testnet2/database ErrorFile=/home/woodchuck/.Ocoin/testnet2/db.log
Bound to [::]:48519
Bound to 0.0.0.0:48519
Loading block index...
nonce 00010000: hash = 3bfef7ab7ccef617b3741e7948e588cc3e3ee9bdebfef290524497d7963e8986
nonce 00020000: hash = 78bc0087fdddfaf90698ee74768035d4f09aae780f17f0791da7587624ecb7de
nonce 00030000: hash = d64e16e976691b90662dffc3f6d34c79591fc30cb85c6fe3c22e4d10068762a7
nonce 00040000: hash = 9750892f2fba00a386c828fb623a307b7c269ee2e9e2e4bf08c07a4df32f2dd0
nonce 00050000: hash = 020fd29a71b39774e56253b79490c575da272872330b076b1d7c73cc51289d5b
nonce 00060000: hash = f7fafa3fe1ca21ecfeca772c5dbe9e734159b69692fc0567997e1c892e0229f2
CBlock(hash=000053ce817c363a8c3885e29328a3df8d297f0c85dcb5aba37185ab68d89448, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=ede221767db6b172ad1a58be9256a1a3520b0ba3b2f0c2ec4495ff2095d23d64, nTime=1382904104, nBits=1f00ffff, nNonce=61558, vtx=1, vchBlockSig=)
  Coinbase(hash=ede221767d, nTime=1382904104, ver=1, vin.size=1, vout.size=1, nLockTime=0, strTxComment=text:Ocoin genesis block)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 04ffff001d020f2727546573746e657420726570726f64756374696f6e2c207361742032377468206f63742032303133)
    CTxOut(empty)
  vMerkleTree: ede221767d
block.GetHash() == 000053ce817c363a8c3885e29328a3df8d297f0c85dcb5aba37185ab68d89448
block.hashMerkleRoot == ede221767db6b172ad1a58be9256a1a3520b0ba3b2f0c2ec4495ff2095d23d64
block.nTime = 1382904104
block.nNonce = 61558
block.nBits = 520159231

Right of the bat, you can go to main.h and add your genesis block hash at line 51:
Code:
static const uint256 hashGenesisBlockTestNet("0x000053ce817c363a8c3885e29328a3df8d297f0c85dcb5aba37185ab68d89448");

Then we can make the changes in main.cpp that hard code the block. First change line 20 from true to false:
Code:
const bool IsCalculatingGenesisBlockHash = false;

Then set your ntime pulled from the log at line 49 of main.cpp:
Code:
const int64 nTestNetStartTime = 1382904104;

and fill the values from the log into lines 2592-2594 of main.cpp:
Code:
        block.nTime    = 1382904104;^M
        block.nBits    = 520159231;^M
        block.nNonce   = 61558;^M

Then you can update your merkel root at line 2626 in main.cpp:
Code:
        assert(block.hashMerkleRoot == uint256("0xede221767db6b172ad1a58be9256a1a3520b0ba3b2f0c2ec4495ff2095d23d64"));^M

Compile, then scrub testnet directory:
Code:
~/test/OSC-master/src $ make -f makefile.unix clean
rm -f Ocoind test_Ocoin
rm -f obj/*.o
rm -f obj-test/*.o
rm -f obj/*.P
rm -f obj-test/*.P
rm -f obj/build.h
~/test/OSC-master/src $ make -f makefile.unix USE_UPNP=- all
~/test/OSC-master/src $ cp ./Ocoind ~/
~/test/OSC-master/src $ cd
~/ $ cd .Ocoin/testnet2
~/.Ocoin/testnet2 $ rm blkindex.dat
~/.Ocoin/testnet2 $ rm -rf database
~/.Ocoin/testnet2 $ rm .lock
~/.Ocoin/testnet2 $ cd

Run testnet:
Code:
~/ $ ./Ocoind -testnet&


You should have a happy happy current build with a working testnet net.  If you tail the debug.log, you can see the peer data and the irc joins.  You cannot mine until there are multiple nodes, and they confirm there is no blocks.  What I did was compile and run on another computer and did an addnode= in the conf.  I didn't mess with any of the irc settings, so the client will join the testnet2 irc channel still, and hopefully connect with other peers.  None of the production net code is changed, so you can compile this code for the latest legit update.

Sysadmin - Troubleshooter - Armchair Debugger
BTC: 1PCocLTxLJP4L1d1Gigjhxoy2WypifA4Cy - UN: uQAR2PhjtdvNvbbh4JC4wJdx3SCh2W4xB4 - SKC: SR81M5iqLkRB6PjZgkpNkpz1G7KmY3zceL
like
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
October 28, 2013, 03:55:51 AM
 #247

R3WT,这个骗子,偷挖30多W个NAN,伙同C网一起欺骗投资者。老子操你祖宗,你妈被人强奸,生下你这个逆子
androsyn
Member
**
Offline Offline

Activity: 88
Merit: 10



View Profile WWW
November 07, 2013, 07:58:03 AM
 #248

very promising currency!
I see spikes arising
Rluner
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
November 09, 2013, 04:28:21 PM
 #249

Hi Guys.

Can anyone please tell me what pool I could mine these at using bfgminer please?

The pool address and port number would be very handy too. ty.
androsyn
Member
**
Offline Offline

Activity: 88
Merit: 10



View Profile WWW
November 09, 2013, 05:49:15 PM
 #250

Hi Guys.

Can anyone please tell me what pool I could mine these at using bfgminer please?

The pool address and port number would be very handy too. ty.

coinex is cool, u have to register first
then

http://osc.mining.coinex.pw:80
worker.worker/pw
captainfuture
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
November 09, 2013, 05:55:19 PM
 #251

Hi Guys.

Can anyone please tell me what pool I could mine these at using bfgminer please?

The pool address and port number would be very handy too. ty.

coinex is cool, u have to register first
then

http://osc.mining.coinex.pw:80
worker.worker/pw


we have stratum now:
stratum+tcp://stratum.coinex.pw:9025
sunsofdust
Full Member
***
Offline Offline

Activity: 151
Merit: 100


View Profile
November 14, 2013, 05:38:40 PM
Last edit: November 14, 2013, 07:02:53 PM by sunsofdust
 #252


The Windows QT v. 1.2 download link on the website is not working.  Is there another windows client download link?
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
November 15, 2013, 01:34:15 AM
 #253


The Windows QT v. 1.2 download link on the website is not working.  Is there another windows client download link?


thanks for the info. i will reupload the files i accidentally deleted them.

edit: seems google just switched the url of google drive files from docs.google to drive.google


they are all back up now.

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
November 21, 2013, 03:03:44 AM
Last edit: November 21, 2013, 03:17:57 AM by r3wt
 #254

New screenshots of OSC online wallet service, coinbit.pw

its almost ready to go peoples!


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

Activity: 725
Merit: 500



View Profile WWW
November 21, 2013, 09:57:41 PM
 #255

OSC - Open Source Coin added to the iSpace Mining Pools - http://osc.ispace.co.uk

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

Activity: 686
Merit: 504


always the student, never the master.


View Profile
November 23, 2013, 08:18:09 AM
 #256

OSC online wallet now live @ http://coinbit.pw

first 10 to post their account name and address get 100 osc apiece.

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

Activity: 882
Merit: 501


Ching-Chang;Ding-Dong


View Profile WWW
November 23, 2013, 09:01:48 AM
 #257

joesmoe / 21Z38fu3m8JZ75u1c5zQCbUisq6Hcu94r6



Check out BitcoinATMTalk - https://bitcoinatmtalk.com
r3wt (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
November 23, 2013, 09:20:56 AM
 #258

joesmoe / 21Z38fu3m8JZ75u1c5zQCbUisq6Hcu94r6




sent. thanks for trying coinbit.

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

Activity: 258
Merit: 250


Breizh Atao


View Profile
November 23, 2013, 10:57:25 AM
 #259

OSC online wallet now live @ http://coinbit.pw

first 10 to post their account name and address get 100 osc apiece.

Markov 24Rvspa41piFnZcyDSLv9mt6cRTXCHwhvV

jubjub
Full Member
***
Offline Offline

Activity: 156
Merit: 100


1EDsaw9rmMPZ5nMgUe9t2P8tE8Put2VR4a


View Profile
November 23, 2013, 12:20:21 PM
 #260

OSC online wallet now live @ http://coinbit.pw

first 10 to post their account name and address get 100 osc apiece.

jubjub / 24wNb83uN2VSHZCUBdMVv8kVDzq2VjUc9S
Thanks.

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!