Author

Topic: Timestamp Data in B1tes TESTNET blockchain (Read 201 times)

newbie
Activity: 77
Merit: 0
January 25, 2018, 09:33:03 AM
#7
Hi Dev,
I've tested following your instruction, it seem to work without problems.
The only thing that I don't know if it is right is that I've sand from my wallet to my wallets with some amount in it (13/17 b1tes) and when I do the timestamp verification it shows no amount. It's how it as to be?

https://www.dropbox.com/s/woh9cv1bpcmva6x/Ver_timestamp_b1tes.jpg

Hi Galapagos, thanks for your help in testing it!

If you verify the timestamp from the wallet that executed the transfer of funds (through the notarizations command in simplewallet), the amount transferred will be shown as 0. But if you verify the timestamp from the wallet that received the transfer of funds, the amount transferred will be shown as 13/17 b1tes.

The code that informs the amount transferred is provided only to the wallet that receives transfer of funds.
copper member
Activity: 129
Merit: 2
January 23, 2018, 07:24:59 AM
#6
Hi Dev,
I've tested following your instruction, it seem to work without problems.
The only thing that I don't know if it is right is that I've sand from my wallet to my wallets with some amount in it (13/17 b1tes) and when I do the timestamp verification it shows no amount. It's how it as to be?

https://www.dropbox.com/s/woh9cv1bpcmva6x/Ver_timestamp_b1tes.jpg
newbie
Activity: 77
Merit: 0
January 13, 2018, 07:33:43 PM
#5
full member
Activity: 426
Merit: 212
January 13, 2018, 08:23:34 AM
#4
Well I made it, this is part of my testnet log:

Code:
[wallet btestt]: start_mining 1
Mining started in daemon
[wallet btestt]: balance
balance: 0.000000000000, unlocked balance: 0.000000000000
[wallet btestt]: refresh
Starting refresh...
Height 26424, transaction <61544408e13a60c2c56eeb7338538bcc0205e688b8104ace9260dff5d4f2b0ef>, received 0.004403878321
Height 26424, transaction <61544408e13a60c2c56eeb7338538bcc0205e688b8104ace9260dff5d4f2b0ef>, received 0.050000000000
Height 26424, transaction <61544408e13a60c2c56eeb7338538bcc0205e688b8104ace9260dff5d4f2b0ef>, received 0.100000000000
Height 26424, transaction <61544408e13a60c2c56eeb7338538bcc0205e688b8104ace9260dff5d4f2b0ef>, received 7.000000000000
Height 26424, transaction <61544408e13a60c2c56eeb7338538bcc0205e688b8104ace9260dff5d4f2b0ef>, received 10.000000000000
Height 26425, transaction <2948c1b138ff50956c753f13f0acf0db8d1afa991eb724576336d0b34692a193>, received 0.004387518607
Height 26425, transaction <2948c1b138ff50956c753f13f0acf0db8d1afa991eb724576336d0b34692a193>, received 0.050000000000
Height 26425, transaction <2948c1b138ff50956c753f13f0acf0db8d1afa991eb724576336d0b34692a193>, received 0.100000000000
Height 26425, transaction <2948c1b138ff50956c753f13f0acf0db8d1afa991eb724576336d0b34692a193>, received 7.000000000000
Height 26425, transaction <2948c1b138ff50956c753f13f0acf0db8d1afa991eb724576336d0b34692a193>, received 10.000000000000
Height 26426, transaction <0bfaf6f4bd395decb8d4fd98f56ad70ce0ccbb8d0dc47ed32faf2db0395c8108>, received 0.004371158908
Height 26426, transaction <0bfaf6f4bd395decb8d4fd98f56ad70ce0ccbb8d0dc47ed32faf2db0395c8108>, received 0.050000000000
Height 26426, transaction <0bfaf6f4bd395decb8d4fd98f56ad70ce0ccbb8d0dc47ed32faf2db0395c8108>, received 0.100000000000
Height 26426, transaction <0bfaf6f4bd395decb8d4fd98f56ad70ce0ccbb8d0dc47ed32faf2db0395c8108>, received 7.000000000000
Height 26426, transaction <0bfaf6f4bd395decb8d4fd98f56ad70ce0ccbb8d0dc47ed32faf2db0395c8108>, received 10.000000000000
Height 26428, transaction <4ed1cbf81132ddbcbfcefb7f494a3e0c9d5b2b2ebba07e9a6dcd73c803f2a1be>, received 0.004338439557
Height 26428, transaction <4ed1cbf81132ddbcbfcefb7f494a3e0c9d5b2b2ebba07e9a6dcd73c803f2a1be>, received 0.050000000000
Height 26428, transaction <4ed1cbf81132ddbcbfcefb7f494a3e0c9d5b2b2ebba07e9a6dcd73c803f2a1be>, received 0.100000000000
Height 26428, transaction <4ed1cbf81132ddbcbfcefb7f494a3e0c9d5b2b2ebba07e9a6dcd73c803f2a1be>, received 7.000000000000
Height 26428, transaction <4ed1cbf81132ddbcbfcefb7f494a3e0c9d5b2b2ebba07e9a6dcd73c803f2a1be>, received 10.000000000000
Refresh done, blocks received: 294                             
balance: 360.329430016857, unlocked balance: 291.711929021464
[wallet btestt]: stop_mining               
Mining stopped in daemon
[wallet btestt]: transfer 1 btestthBFVnWCRJuG9q4tiEom9FkARBHjBGyXxmKDnoF1nRUonh3UTxUdt5SZcnEw58GeLfx4DBjoHZJfA67cc877eimay8X9ah2g 10 5abd40e5329d536efce33a7bbc00ed2f81f49b3d10508a3d51ce748aa7b1fd61
Money successfully sent, transaction
[wallet btestt]: transfer 1 btestthBFVnWCRJuG9q4tiEom9FkARBHjBGyXxmKDnoF1nRUonh3UTxUdt5SZcnEw58GeLfx4DBjoHZJfA67cc877eimay8X9ah2g 10 807a34b90d63a58bcdc6c3344e4b01edd982a72291ea64994e5f23fb491d219d
Money successfully sent, transaction
[wallet btestt]: refresh
Starting refresh...
Height 26432, transaction , received 0.040000000000
Height 26432, transaction , received 0.200000000000
Height 26432, transaction , spent 0.050000000000
Height 26432, transaction , spent 0.050000000000
Height 26432, transaction , spent 0.050000000000
Height 26432, transaction , spent 0.100000000000
Height 26432, transaction , spent 10.000000000000
Refresh done, blocks received: 5                               
balance: 340.309430016857, unlocked balance: 266.961929021464
[wallet btestt]: notarizations 5abd40e5329d536efce33a7bbc00ed2f81f49b3d10508a3d51ce748aa7b1fd61
                            payment                                                        transaction                              height        amount        unlock time            timestamp
<5abd40e5329d536efce33a7bbc00ed2f81f49b3d10508a3d51ce748aa7b1fd61>    26432        0.000000000000                     0 Sat Jan 13 12:02:49 2018

[wallet btestt]: notarizations 807a34b90d63a58bcdc6c3344e4b01edd982a72291ea64994e5f23fb491d219d
                            payment                                                        transaction                              height        amount        unlock time            timestamp
No payments with id <807a34b90d63a58bcdc6c3344e4b01edd982a72291ea64994e5f23fb491d219d>
[wallet btestt]: refresh
Starting refresh...
Height 26435, transaction , received 0.090000000000
Height 26435, transaction , received 0.400000000000
Height 26435, transaction , received 4.000000000000
Height 26435, transaction , spent 0.100000000000
Height 26435, transaction , spent 0.100000000000
Height 26435, transaction , spent 0.100000000000
Height 26435, transaction , spent 0.100000000000
Height 26435, transaction , spent 0.100000000000
Height 26435, transaction , spent 7.000000000000
Height 26435, transaction , spent 7.000000000000
Refresh done, blocks received: 3                               
balance: 340.309430016857, unlocked balance: 266.961929021464
[wallet btestt]: notarizations 807a34b90d63a58bcdc6c3344e4b01edd982a72291ea64994e5f23fb491d219d
                            payment                                                        transaction                              height        amount        unlock time            timestamp
<807a34b90d63a58bcdc6c3344e4b01edd982a72291ea64994e5f23fb491d219d>    26435        0.000000000000                     0 Sat Jan 13 12:06:24 2018

[wallet btestt]:

I wish was correct.
newbie
Activity: 77
Merit: 0
January 13, 2018, 04:24:02 AM
#3
I can not help a lot, but have an old pc (Medion Akoya 2gb) with Xubuntu.

Despite i am a total noob in linux with yours instructions i am now build the source code (20%) I wish that i could finish all the instructions well.

I like your initiative, always think that CryptoNight-Lite is a very underrated Algo.

Edit: Ok, I mined some blocks, but I have some problems:

In the 3 step when "- openssl sha -sha256  filename", which filename?, because I need one, no?

And I need other address to send the amount, or I make it with simplewallet?

Thanks.

Hi,

Thank you for volunteering.

The filename can be a location of any kind of file that you would like to notarize. For example: openssl sha -sha256 /home/user/Documents/contract.pdf

As for the wallet address, a wallet can transfer funds to itself using its own address to tranfer funds. Or you can create another wallet on simplewallet to tranfer funds to that wallet address.
full member
Activity: 426
Merit: 212
January 12, 2018, 09:09:38 PM
#2
I can not help a lot, but have an old pc (Medion Akoya 2gb) with Xubuntu.

Despite i am a total noob in linux with yours instructions i am now build the source code (20%) I wish that i could finish all the instructions well.

I like your initiative, always think that CryptoNight-Lite is a very underrated Algo.

Edit: Ok, I mined some blocks, but I have some problems:

In the 3 step when "- openssl sha -sha256  filename", which filename?, because I need one, no?

And I need other address to send the amount, or I make it with simplewallet?

Thanks.
newbie
Activity: 77
Merit: 0
January 12, 2018, 05:20:41 PM
#1
Hi everyone,

I would like to ask you to volunteer in testing and analysing the code of a functionality that timestamps data in the Blockchain which has been added to the B1tes TESTNET source code.  

The B1tes project is based on the source code of a cryptonote cryptocurrency called Aeon, which features untraceable payments and unlinkable transactions. For more info about the project, go to: https://bitcointalksearch.org/topic/m.20905435

To test the functionality that timestamps data in the Blockchain you have to install the B1tes TESTNET blockchain on linux following the instructions below.

Instructions on how to:

     1. Install B1tes TESTNET blockchain
     2. Create a B1tes TESTNET wallet and mine B1tes TESTNET
     3. Notarize data in the B1tes TESTNET blockchain
          3.1. Notarize document file in the B1tes TESTNET blockchain
          3.2. Notarize text in the B1tes TESTNET blockchain
     4. Verify timestamp of notarized data in the B1tes TESTNET blockchain

     1. Install B1tes TESTNET blockchain:
          - open your command line terminal
          - Execute the following commands to get the dependencies needed in order to setup the environment to run the B1tes TESTNET blockchain:
               - sudo apt-get install build-essential
               - sudo apt-get install git
               - sudo apt-get install cmake
               - sudo apt-get install libboost-all-dev
          - Clone B1tes TESTNET source code:
               - create a directory called testnet-b1tes by running the command:
                    - mkdir testnet-b1tes
               - enter the testnet-b1tes directory by running the command:
                    - cd testnet-b1tes
               - clone B1tes TESTNET source code by running the command:
                        - git clone https://github.com/b1tes/testnet-b1t
               - enter the testnet-b1t directory by running the command:
                    - cd testnet-b1t
               - build b1tes source code by running the command:
                    - make
               - wait until building b1tes TESTNET source code is 100% complete
               - enter the build directory by running the command:
                    - cd build/release/src/
               - download B1tes blockchain by running the command:
                    - ./testnet-b1tesd
               - leave this terminal command line open (it may take a couple of hours until the B1tes TESTNET blockchain is downloaded and synchronized to the network).
               - and open a new terminal command line in order to create a B1tes TESTNET wallet and mine B1tes TESTNET. (You’ll only be able to synchronize a B1tes TESTNET wallet to the network and mine B1tes TESTNET if the B1tes TESTNET blockchain is downloaded and synchronized to the network on another terminal command line running the command testnet-b1tesd concurrently.)

     2. Create a B1tes TESTNET wallet and mine B1tes TESTNET:
          - complete instructions 1 in order to create a B1tes TESTNET wallet
          - and open a new terminal command line in order to create a B1tes TESTNET walled and mine B1tes TESTNET
          - enter B1tes TESTNET build directory by running the command:
                    - cd ~your_directory~/testnet-b1tes/testnet-b1t/build/release/src
          - create a B1tes TESTNET wallet by running the command:
                    - ./simplewallet
          - follow the instructions in order to Generate a new wallet by giving a wallet file name and password
          - finally, inside simplewallet’s command line program, start mining B1tes TESTNET by running the following command:
                    - start_mining        

     3. Notarize data in the B1tes TESTNET blockchain:
          3.1. Notarize document file in the B1tes TESTNET blockchain:
               - open a new terminal command line and install OpenSSL by running the command:
                    - sudo apt-get install openssl
               - generate a SHA-256 signature through openssl by running the command:
                    - openssl sha -sha256  filename
                    - for example: openssl sha -sha256 /home/user/Documents/contract.pdf
               - keep a copy of the resulting SHA-256 signature, which should be pasted along with the next command
               - in simplewallet’s command line program, transfer funds to a wallet by running the command:
                    - transfer 1
          3.2. Notarize text in the B1tes TESTNET blockchain:
               - access http://www.xorbin.com/tools/sha256-hash-calculator
               - type the text to be notarized in the data field
               - click on "Calculate SHA256 hash"
               - keep a copy of the resulting SHA-256 signature, which should be pasted along with the next command
               - in simplewallet’s command line program, transfer funds to a wallet by running the command:
                    - transfer 1

     4. Verify timestamp of notarized data in the B1tes TESTNET blockchain:
          - in simplewallet’s command line program, refresh the wallet by running the command:
               - refresh
          - and verify the timestamp of notarized data by running the command:
               - notarizations
               - please notice that, if you verify the timestamp from the wallet that executed the transfer of funds (through the notarizations command in simplewallet), the amount transferred will be shown as 0. But if you verify the timestamp from the wallet that received funds, the the exact amount transferred will be shown, as the code that informs the amount transferred is provided only to the wallet that receives transfer of funds.
Jump to: