Pages:
Author

Topic: ** LAUNCHED ** CredaCash -- The Most Private Cryptocurrency in the World - page 15. (Read 10223 times)

member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 13 million units of currency have been rewarded to miners.  There are 187 million units remaining to be rewarded.

Over the past hour, an average of about 2400 mint transactions have been submitted to the network every minute, and one block has been produced every 22 seconds.  That means if your computer can generate 29 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour, and you would earn on average a total of 2.26 million additional units of currency through the end of the initial mining, if the difficulty does not change.

A Quick Start Guide to CredaCash Mining can be found at
    https://CredaCash.com/quick-start-guide/
sr. member
Activity: 343
Merit: 250
Are you all contributing full-time to make this project a success?  How will current miners benefit from being early coin holders? ALso does this coin need to be audited by a security team in the future, to say that it's the most secure crypto?
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 12 million units of currency have been rewarded to miners.  There are 188 million units remaining to be rewarded.

Over the past hour, an average of about 2050 mint transactions have been submitted to the network every minute, and one block has been produced every 17.9 seconds.  That means if your computer can generate 20 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour, and you would earn on average a total of 1.83 million additional units of currency through the end of the initial mining, if the difficulty does not change.

A Quick Start Guide to CredaCash Mining can be found at
    https://CredaCash.com/quick-start-guide/
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 11 million units of currency have been rewarded to miners.  There are 189 million units remaining to be rewarded.

Over the past hour, an average of about 1750 mint transactions have been submitted to the network every minute, and one block has been produced every 17.3 seconds.  That means if your computer can generate 17 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
What is the command to query the balance in the wallet address?
From the wallet interactive console, use the command getbalance
Note that when running "cc.mint start", the mint threads report the wallet balance each time they submit a mint transaction

newbie
Activity: 112
Merit: 0
What is the command to query the balance in the wallet address?
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, close to 10 million units of currency have been rewarded to miners.  There are 190 million units remaining to be rewarded.

Over the past hour, an average of about 2360 mint transactions have been submitted to the network every minute, and one block has been produced every 17.5 seconds.  That means if your computer can generate 23 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
do you have a block explorer?

To get back to this question, CredaCash does not currently have a block explorer, but it is possible to access information about the blockchain from its database.  This gets into the internals of the CredaCash software, which might be of interest to some.

ccnode.exe stores all of its data in an sqlite database.  This database file is located at %LOCALAPPDATA%\CredaCash\CCNode-1\CCdata.db under Windows, and at $HOME/.CredaCash/CCNode-1/CCdata.db under Linux.

To examine this data under Windows, you can download the file sqlite-tools-win32-x86-.zip from https://www.sqlite.org/download.html , extract the contents and then run "sqlite3 %LOCALAPPDATA%\CredaCash\CCNode-1\CCdata.db".  You can do this while ccnode.exe is running or stopped.  The database is in Write Ahead Log (WAL) format, so querying this data will have essentially no effect on ccnode even if it is running, HOWEVER, DO NOT WRITE TO THIS DATABASE.  In other words, you can use commands like .schema and select, but do not use insert, update, alter and other commands that add or change data.

The tables in this database are:

Parameters = various values by Key and Subkey.  The Key values can be found in the source file ccnode\src\dbparamkeys.h
Blockchain = blocks in raw binary format (explained below)
Serialnums = a list of all spent serial numbers and hash keys
Commit_Tree = the Merkle tree of all transaction output commitments
Commit_Roots = the root value of the Merkle tree after each block that contains outputs
Tx_Outputs = index of all transaction outputs, including address, commitment, asset id (usually encrypted), and amount (usually encrypted)

This table stores only indelible data, which is data guaranteed by the CredaCash blockchain protocol to be immutable.  Temporary/mutable data is stored in memory, not on disk.

The information we've been posting here about the mint is stored under Key=7 of the Parameters table, with Subkey set to the block level, and Value set to the total number of mint transactions submitted to the network and seen by this node at each block level.  Here are the queries:

The average block interval (seconds per block) over the last hour:
select (1.*max(Timestamp)-min(Timestamp))/(max(Level)-min(Level)) from Commit_Roots where Timestamp > strftime('%s','now') - 3600;

The number of mint transactions per minute seen by this node over the last 210 blocks (approx 1 hour at 17 seconds/block):
select total(Value)*60/(max(Timestamp)-min(Timestamp)) from Parameters, Commit_Roots where Key=7 and Level = Subkey and Subkey>(select max(Subkey-210) from Parameters where Key=7);

The mint transactions per minute a miner needs to submit to earn an average of two mining rewards over the last hour:
select avg(Value)/30. from Parameters where Key=7 and Subkey>(select max(Subkey-210) from Parameters where Key=7);

The blockchain is stored in a raw binary format, which consists of a series of messages in the format:

  size, 4 bytes (total size, including this size field, the tag field and the data)
  tag, 4 bytes (currently used tags are: block 0xCC010001; mint tx 0xCC040001; pay tx 0xCC060001)
  data, variable size binary data

Most fields, including the size and tag, are stored little-endian.

A block consists of a binary header with zero or more binary transactions appended.  The block header is:

  signature, 64 bytes
  prior_block_oid, 16 bytes
  block_level, 4 bytes
  block_timestamp, 4 bytes
  block_witness_id, 1 byte

The transactions are in size/tag/data format.  The easiest way to extract the data in a transaction is to convert it to JSON format using the "tx-from-wire" command in cctx64.dll.  This can be done from python by calling the function DoJsonCmd located in the cclib.py library, specifically: DoJsonCmd('{"tx-from-wire":{}}', buf=).  Looking at the source code (without actually trying it), the blockchain parameters that have to be included in json format to reconstruct the full transaction are "source-chain", "maximum-input-exponent", "minimum-output-exponent", "maximum-output-exponent" and "merkle-root".  These parameters are all properties of the blockchain.

That's a brief dive into the CredaCash internals that can be used to extract information from the blockchain.  Eventually, we will have a block explorer.  If there are any questions, please let us know.  Thank you.
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 9 million units of currency have been rewarded to miners.  There are 191 million units remaining to be rewarded.

Over the past hour, an average of about 2420 mint transactions have been submitted to the network every minute, and one block has been produced every 17.2 seconds.  That means if your computer can generate 23 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
Do you anticipate there being any complication with worldwide exchanges listing CredaCash, since their servers must operate on TOR?

If there is an issue, a solution can probably be found (for example, a private link to a gateway server that is running Tor).
sr. member
Activity: 343
Merit: 250
Do you anticipate there being any complication with worldwide exchanges listing CredaCash, since their servers must operate on TOR?
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 8 million units of currency have been rewarded to miners.  There are 192 million units remaining to be rewarded.

Over the past hour, an average of just over 2500 mint transactions have been submitted to the network every minute, and one block has been produced every 18 seconds.  That means if your computer can generate 25 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
do you have a block explorer?
what about GUI wallet?

There is not currently a block explorer or a GUI wallet.  We would like to have both in the future.  A block explorer would probably come first, because this is required by some exchanges.  Note however there would not be much information in the CredaCash block explorer.  For each transaction, you would see a list of input serial numbers and hash keys, and a list of output addresses, commitments, encrypted amounts and encrypted asset id's.  All of these numbers appear completely random and don't relate to values in any other transaction (ie., none of those numbers should ever appear more than once in the blockchain).  The only information that might be useful would be the timestamp, size and number of transactions in each block, and the transaction fee/donation paid by each transaction.

Please let us know if you have any additional questions. Thank you.
newbie
Activity: 35
Merit: 0
do you have a block explorer?
what about GUI wallet?
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 7 million units of currency have been rewarded to miners.  There are 193 million units remaining to be rewarded.

Over the past hour, an average of just over 1900 mint transactions have been submitted to the network every minute, and one block has been produced every 17 seconds.  That means if your computer can generate 18 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 6.5 million units of currency have been rewarded to miners.  There are 193.5 million units remaining to be rewarded.

Over the past hour, an average of just over 1800 mint transactions have been submitted to the network every minute, and one block has been produced every 16.9 seconds.  That means if your computer can generate 17 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
[2019-06-16 22:24:21.289715] [0x00001da4] [info]    Tx-service Conn 151 TransactConnection::HandleValidationTimeout ignoring late or unexpected callback id 1122 expected 1123

Our apologies--it turns out this was just a misleading warning.  If the trace level had been set to debug ("--trace=5") or higher, then the log would show that that validation successfully finishes and the result "OK" is sent to the wallet before the "HandleValidationTimeout ignoring late or unexpected callback" message is logged.  In the next release, we will update the code to not log the HandleValidationTimeout message in that situation.

Thank you for the report and our apologies for the confusion.
member
Activity: 227
Merit: 29
CredaCash mining update:

Since the start of mining, 4 million units of currency have been rewarded to miners.  There are 196 million units remaining to be rewarded.

Over the past hour, an average of just over 1175 mint transactions have been submitted to the network every minute, and one block has been produced every 17 seconds.  That means if your computer can generate 11 mint transactions per minute, you would earn on average two mining rewards (2000 units of currency) every hour.
member
Activity: 227
Merit: 29
The block annoucement is shown every 15/20 sec, i let him run with full threads for a wihle and will see what happends  Roll Eyes

elapsed time 50 seconds +/- a bit, full with 16 threads

ok, that's an average of 19 mint transactions per minute from your wallet, while the total network rate is currently about 1150 mint transactions per minute, and the block rate is running about one block per 17 seconds.  Based on those figures, you should get an average of 7 mint rewards (7000 units of currency) every two hours.  That is just an average though--like flipping a coin 100 times, it is possible to get more or less than the expected number of 50 heads or tails...
newbie
Activity: 14
Merit: 0
The block annoucement is shown every 15/20 sec, i let him run with full threads for a wihle and will see what happends  Roll Eyes

elapsed time 50 seconds +/- a bit, full with 16 threads
Pages:
Jump to: