Pages:
Author

Topic: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain (Read 2326 times)

sr. member
Activity: 253
Merit: 1596
DTCxNMC
Datacoin already exists and is still alive in the shadows.  Maybe you should work with the Datacoin community?  There are still quite a few dedicated supporters remaining.
legendary
Activity: 2562
Merit: 1177
Telegram: @julerz12
Great project all in all, but the name.. not really,
it's already been taken: https://bitcointalksearch.org/topic/anninfo-info-coin-blake2s-pospow-community-focused-crypto-1967550
(Note that this Info coin is already listed on some exchange)
So, I would suggest another name. Maybe Datacoin?  Grin
full member
Activity: 265
Merit: 100
Keep in mind how dangerous a currency like this can be.

Here is why you should not do it as of now :

You have no tools to protect this decentralized blockchain.
hero member
Activity: 756
Merit: 501
The good news: The test network is running smoothly and I mined a ton of worthless coins.
The bad news: I am so far unable to add extra data to a transaction.

According to https://wiki.bytecoin.org/wiki/Send_transaction_-_Bytecoin_RPC_Wallet_API, this should work:
Code:
curl -X POST -i -H "Accept: application/json" -d '
{  
  "params":
{  
"anonymity":0,
"fee":1000000,
"unlockTime":0,
"paymentId":"",
"addresses":
[  
"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ"
],
"transfers":
[  
         {  
           "amount":10,
           "address":"iz5NJ4B5Rc6AmtoiVFoJy2jWGDvKPMGuoGCmNxL2t9sXZ2LUXUJPZLrX3pLau4P9tjY4M2VyoYGPWjn6mETrNsqJ2T21YtMtx"
         }
],
"changeAddress":""
},
"extra":"HELLOWORLD",
"jsonrpc":"2.0",
"id":"test",
"method":"sendTransaction"}
' http://127.0.0.1:8070/json_rpc
This is the output I get from walletd:
Code:
HTTP/1.1 200 OK
Content-Length: 773
Server: CryptoNote-based HTTP server

{"id":"test","jsonrpc":"2.0","result":{"transaction":{"amount":-1000010,"blockIndex":4294967295,"extra":"016d7bb13f30dffd6e62361abbf0eb64b1d946455bd5d2d4bf37f63c11fbece5f0","fee":1000000,"isBase":false,"paymentId":"","state":0,"timestamp":0,"transactionHash":"23dabee38c0354bc8dbd4c800e19d9df1295c5a2fc237969cf8fb3e67c45793a","transfers":[{"address":"iz5NJ4B5Rc6AmtoiVFoJy2jWGDvKPMGuoGCmNxL2t9sXZ2LUXUJPZLrX3pLau4P9tjY4M2VyoYGPWjn6mETrNsqJ2T21YtMtx","amount":10,"type":0},{"address":"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ","amount":8999052258,"type":2},{"address":"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ","amount":-9000052268,"type":0}],"unlockTime":0}}}
As you can see, the extra field contains no "HELLOWORLD"...
When I put the extra field above the transaction, like this:
Code:
curl -X POST -i -H "Accept: application/json" -d '
{  
  "params":
{  
"extra":"HELLOWORLD",
"anonymity":0,
"fee":1000000,
"unlockTime":0,
"paymentId":"",
"addresses":
[  
"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ"
],
"transfers":
[  
         {  
           "amount":10,
           "address":"iz5NJ4B5Rc6AmtoiVFoJy2jWGDvKPMGuoGCmNxL2t9sXZ2LUXUJPZLrX3pLau4P9tjY4M2VyoYGPWjn6mETrNsqJ2T21YtMtx"
         }
],
"changeAddress":""
},
"jsonrpc":"2.0",
"id":"test",
"method":"sendTransaction"}
' http://127.0.0.1:8070/json_rpc
I get:
Code:
{"error":{"code":-32600,"message":"Invalid Request"},"id":"test","jsonrpc":"2.0"}
If somebody could tell me what tag to use, I would be forever grateful. I tried a lot, like extra_padding, tx_extra_tag_padding, basically all variations  of the tags seen in: https://github.com/euleausberlin/infocoin/blob/master/src/CryptoNoteCore/TransactionExtra.h I could think of.

Unfortunately, while there is some information on why and how tx-extra is supposed to be used, there is very little information on how to actually do it. A little push in the right direction from someone who actually knows Cryptonote would be much appreciated.

TODO: Insert data into transactions
Fix evil Cryptonote bug from a few months ago (already have the commit with the necessary changes thanks to moneromoo, but no need to do that until data can be inserted)
Windows wallet
hero member
Activity: 756
Merit: 501
Thanks a lot for the interest. Currently tearing my hairs out while fighting with Visual Studio to compile the Windows wallet.  Grin

Also I found out that you NEVER should use walletd to open a wallet created with simplewallet, as walletd will save the wallet in a different format that can't be opened with simplewallet anymore. Luckily it's possible to export the keys and import them back into simplewallet.

Inserting data into the tx_extra field requires the use of walletd RPC commands at the moment, which is new to me, I have a lot to learn. See https://wiki.bytecoin.org/wiki/Send_transaction_-_Bytecoin_RPC_Wallet_API . If an experienced dev wants to help, shoot me a PM.

Also to clarify: There will be no ICO.
newbie
Activity: 50
Merit: 0

It seems a pretty interesting project, ICO is pretty good, but I'm not sure to join,
I'll keep seeing the next developments and within a few days left to join the signature campaign, I'll keep seeing until I decide to join or not, good luck
full member
Activity: 145
Merit: 100
support,the idea is good, will pay attention to your post and further information. Cheesy
newbie
Activity: 50
Merit: 0
Great new ANN!,Interesting project,watching and going to participate, I think this project have a bright future .
sr. member
Activity: 840
Merit: 251
I think Infocoin is great project and many people support this.
Goodluck dev
full member
Activity: 372
Merit: 100
Great new ANN!   Doing great DEV. Keep this up .The project is very good, the future will likely be one of the very successful projects
sr. member
Activity: 882
Merit: 277
If i had a dollar for every "had i known"
Your thread made a happy Cry drop from my face. We rarely get honest thread post anymore and no premine.  Kiss Kiss
hero member
Activity: 756
Merit: 501
There will be no premine or initial bounties. This is supposed to be a community effort.

Maybe bounties for some services are possible, like the first forum or imageboard that gets it's data from the blockchain.  Wink
newbie
Activity: 49
Merit: 0

Intereting
Looking promising project near to me. will keep my eyes on it.looking forwards. Interested to join the bounty. when the accepted participate list will be available ?
hero member
Activity: 756
Merit: 501
Turns out that one needs two seednodes.  Roll Eyes
Network is up and running, feel free to experiment. If you want some coins to test something, PM me and I will send you some tomorrow. As said, the blockchain and genesis block will be reset before release, all mined coins are worthless.

Next steps:
Insert large amounts of data into transactions
Windows wallet
hero member
Activity: 756
Merit: 501
Got around to get a server and fix some compiler errors (New GCC version won't compile things that worked on old version, crazy behavior imo. See https://github.com/cryptonotefoundation/cryptonote/pull/42 ). Having trouble getting the seednode up and running though, any experienced coin dev want to lend me a hand? The seednode won't recieve blocks I mined with a different node:
Code:
23:39:54.997810 INFO [109.90.203.246:55350 INC] Sync data returned unknown top block: 0 -> 10 [10 blocks (0 days) behind]
23:39:54.997810 INFO SYNCHRONIZATION started
23:39:55.344800 WARNING [165.227.143.230:57839 INC] Exception in connectionHandler: TcpConnection::read
23:39:57.346993 WARNING [165.227.143.230:47989 INC] Exception in connectionHandler: TcpConnection::read
23:39:59.349113 WARNING [165.227.143.230:46313 INC] Exception in connectionHandler: TcpConnection::read
23:40:01.350931 WARNING [165.227.143.230:39943 INC] Exception in connectionHandler: TcpConnection::read
23:40:03.352708 WARNING [165.227.143.230:45965 INC] Exception in connectionHandler: TcpConnection::read
23:40:05.356370 WARNING [165.227.143.230:54493 INC] Exception in connectionHandler: TcpConnection::read
23:40:07.048595 INFO [109.90.203.246:55352 INC] Sync data returned unknown top block: 0 -> 10 [10 blocks (0 days) behind]
23:40:07.048595 INFO SYNCHRONIZATION started
23:40:07.358215 WARNING [165.227.143.230:40525 INC] Exception in connectionHandler: TcpConnection::read
23:40:09.360263 WARNING [165.227.143.230:35869 INC] Exception in connectionHandler: TcpConnection::read
My first guess is iptables, will check that (edit: It's not iptables). Anyone having a clue?

Blockchain and genesis block will be reset, so don't mine for profit.  Tongue
newbie
Activity: 30
Merit: 0
You are reinventing Datacoin

https://github.com/foo1inge/datacoin

Maybe you can take over the code? The chain is alive so you have users and miners already
hero member
Activity: 756
Merit: 501
Still waiting for my server, should be ready soon. Then I will insert it as a seednode and do a second test release, that hopefully more people will try. Currently working on compiling a Windows version, I hate compiling on WIndows.
hero member
Activity: 1652
Merit: 593
carry on ... im watching this curiously..
hero member
Activity: 756
Merit: 501
From what I understand, the data in your example is not stored in the blockchain but on several miner's hard disks. This means it is not close to being as secure and uncensorable as when being stored directly in the blockchain.

While it is obvious that a lot of thought was put into this solution, it feels cumbersome and not as "elegant" as simply allowing big amounts of data in every transaction.
Pages:
Jump to: