Author

Topic: [ANN][FLO] A Worldwide Public Record | Alexandria | ETDB | Medici | 0.15 Segwit - page 118. (Read 516135 times)

sr. member
Activity: 437
Merit: 260
balance
Trying to build a block explorer, wondering why I am getting errors when attempting to run getrawtransaction:

Code:
~/florincoin/src$ ./florincoind getblock 1c57783191f9fab7cf4dc62be10ce60cb5a4dd5de1172bb08e1c66df6d16a1c5
{
    "hash" : "1c57783191f9fab7cf4dc62be10ce60cb5a4dd5de1172bb08e1c66df6d16a1c5",
    "confirmations" : 19298,
    "size" : 191,
    "height" : 1,
    "version" : 1,
    "merkleroot" : "43f3ad0e1af0fa3d3e9c5bc36f30e5d59926d74a6ce73c390e7e39b28afc4248",
    "tx" : [
        "43f3ad0e1af0fa3d3e9c5bc36f30e5d59926d74a6ce73c390e7e39b28afc4248"
    ],
    "time" : 1371501379,
    "nonce" : 2009335552,
    "bits" : "1e0ffff0",
    "difficulty" : 0.00024414,
    "previousblockhash" : "09c7781c9df90708e278c35d38ea5c9041d7ecfcdd1c56ba67274b7cff3e1cea",
    "nextblockhash" : "c744f44d573c215e6d5d8dff26342cbee08db716a3da2a9d88427b546745cfb9"
}

~/florincoin/src$ ./florincoind getblock 09c7781c9df90708e278c35d38ea5c9041d7ecfcdd1c56ba67274b7cff3e1cea
{
    "hash" : "09c7781c9df90708e278c35d38ea5c9041d7ecfcdd1c56ba67274b7cff3e1cea",
    "confirmations" : 19299,
    "size" : 311,
    "height" : 0,
    "version" : 1,
    "merkleroot" : "730f0c8ddc5a592d5512566890e2a73e45feaa6748b24b849d1c29a7ab2b2300",
    "tx" : [
        "730f0c8ddc5a592d5512566890e2a73e45feaa6748b24b849d1c29a7ab2b2300"
    ],
    "time" : 1371488396,
    "nonce" : 1000112548,
    "bits" : "1e0ffff0",
    "difficulty" : 0.00024414,
    "nextblockhash" : "1c57783191f9fab7cf4dc62be10ce60cb5a4dd5de1172bb08e1c66df6d16a1c5"
}

~/florincoin/src$ ./florincoind decoderawtransaction 730f0c8ddc5a592d5512566890e2a73e45feaa6748b24b849d1c29a7ab2b2300
error: {"code":-22,"message":"TX decode failed"}

~/florincoin/src$ ./florincoind decoderawtransaction 43f3ad0e1af0fa3d3e9c5bc36f30e5d59926d74a6ce73c390e7e39b28afc4248
error: {"code":-22,"message":"TX decode failed"}

I know the genesis block technically does not return anything from decoderawtransaction, however the second transaction from block 2 should technically return JSON data, right?

I have the following setting on the florincoin.conf:
Code:
txindex=1


EDIT: Working now, I think I had to wait for the blockchain to update after setting txindex=1. Is that true? New to this stuff, would like to learn and help out as much as possible Wink
sr. member
Activity: 301
Merit: 260
FLO dev
Florin coin information here for our Chinese readers (includes a mining guide):

http://www.btc38.com/altcoin/general/71.html
sr. member
Activity: 301
Merit: 260
FLO dev
Github source code updated with checkpoint for block 18001.
sr. member
Activity: 301
Merit: 260
FLO dev
Ok this took more time than planned we were busy yesterday Smiley

The daemon is updated and the Flo Block Explorer now uses the actual "tx-comment" field output provided by the JSON-RPC interface.

http://lotto.coinworld.us/FLO/bc/index.php?transaction=de2824f54ccf5391bfc0c9b5a0a5e09214e4c045627a44c696bfb325f20c92ce

I've decided not to strip the 'text:' added by the GUI as from the larger perspective, it's part of the message not the protocol.


Excellent work!
full member
Activity: 196
Merit: 100
Ok this took more time than planned we were busy yesterday Smiley

The daemon is updated and the Flo Block Explorer now uses the actual "tx-comment" field output provided by the JSON-RPC interface.

http://lotto.coinworld.us/FLO/bc/index.php?transaction=de2824f54ccf5391bfc0c9b5a0a5e09214e4c045627a44c696bfb325f20c92ce

I've decided not to strip the 'text:' added by the GUI as from the larger perspective, it's part of the message not the protocol.
sr. member
Activity: 437
Merit: 260
balance
The combination of bitmessage + Florin coin is exciting  Wink


Unrelated to current discussion: http://next.afraid.org:8132 Pool is having a lot of downtime lately Sad
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Any node online?

from getpeerinfo just now ->hope it helps,
78.251.190.114
105.236.147.148
24.186.223.49
173.3.169.229
62.163.9.155
Thanks
hero member
Activity: 708
Merit: 500
Any node online?

from getpeerinfo just now ->hope it helps,
[old ips not needed]
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
hero member
Activity: 708
Merit: 500
Are people not encrypting their messages?  Is that why messages are public?

In case you haven't been watching the news, you really shouldn't be sending any info out across the network that you wouldn't be happy for any other people to see....  Grin
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
transaction comments are very great and useful more.
but it is public? why not direct privte in client.
Because encryption is not straightforward and the flo dev doesn't likely wan to/know how to do it.
sr. member
Activity: 364
Merit: 250
Are people not encrypting their messages?  Is that why messages are public?
member
Activity: 112
Merit: 10
transaction comments are very great and useful more.
but it is public? why not direct privte in client.
sr. member
Activity: 437
Merit: 260
balance
Hi, attempting to build Florin coin from source on Ubuntu 12.04 using these instructions:
https://github.com/pascalguru/florincoin/blob/master/doc/readme-qt.rst


Using "make" returns this error:
Code:
/usr/bin/ld: cannot find -lminiupnpc

I've installed miniupnpc 1.8 successfully and it's in the /src folder. Is there another dependency I'm missing?


EDIT: found out the problem, lminiupnpc apparently is an alias (not sure of the technical definition) for libminiupnpc.so

The correct directory (apparently) is /usr/lib/ and under /usr/lib/ I had libminiupnpc.so.8 in that directory somehow, renamed it libminiupnpc.so and that worked.
hero member
Activity: 708
Merit: 500
ok, the block explorer is live again, but it's using the "text:" trick to catch TX messages.

I'll move it over to the getrawtransaction method after we've had a chance to recompile the lotto daemon.

working great thanks  Smiley
full member
Activity: 196
Merit: 100
ok, the block explorer is live again, but it's using the "text:" trick to catch TX messages.

I'll move it over to the getrawtransaction method after we've had a chance to recompile the lotto daemon.
full member
Activity: 196
Merit: 100
block explorer broken now?

It appears to have lost connection.  I'll be checking it out within the next few minutes.

Thanks for the heads up.

I don't have direct access to the daemon for it, but if I need to I'll point it at another one temporarily.
member
Activity: 85
Merit: 10
hero member
Activity: 708
Merit: 500
Jump to: