Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Can I see unconfirmed transactions?  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Can I see unconfirmed transactions?
« on: June 18, 2014, 07:34:09 PM »

PTS/ protoshares-qt; Windows question

How do you see all (not just yours) unconfirmed (transmitted but not included in a block) transactions?

 Thanks.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12337
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Can I see unconfirmed transactions?
« Reply #1 on: June 18, 2014, 07:39:34 PM »
Blockchain_get_pending_transactions
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #2 on: June 18, 2014, 07:40:39 PM »
Thanks! but Method not found
It's PTS question
« Last Edit: June 18, 2014, 07:43:18 PM by tonyk »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12337
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Can I see unconfirmed transactions?
« Reply #3 on: June 18, 2014, 07:44:29 PM »
Oh .. in pts you can use
listtransactions
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #4 on: June 18, 2014, 07:45:50 PM »
OK that worked thanks

« Last Edit: June 18, 2014, 07:51:19 PM by tonyk »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12337
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Can I see unconfirmed transactions?
« Reply #5 on: June 18, 2014, 07:52:20 PM »
Hmm .. but that only shows transactions that concern your addresses ... afair there is a parameter "txindex" which can somehow be used for all txs .. but i have no clue
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #6 on: June 18, 2014, 07:52:53 PM »
Actually this lists my transactions.

I am trying to see the transactions my wallet knows about but they are not in a block yet.

[EDIT]Typing slow ...
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #7 on: June 18, 2014, 11:29:33 PM »
If anybody else cares:

I was told, by reputable source, that what I asked for is not possible through the client.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline testz

Re: Can I see unconfirmed transactions?
« Reply #8 on: June 19, 2014, 04:34:18 AM »
If anybody else cares:

I was told, by reputable source, that what I asked for is not possible through the client.

It's not simple but possible, you can get transaction from memory pool by commands:
Code: [Select]
getrawmempool
getrawtransaction <txid>
decoderawtransaction <hex string>

Offline toast

Re: Can I see unconfirmed transactions?
« Reply #9 on: June 19, 2014, 04:44:47 AM »
If anybody else cares:

I was told, by reputable source, that what I asked for is not possible through the client.

It's not simple but possible, you can get transaction from memory pool by commands:
Code: [Select]
getrawmempool
getrawtransaction <txid>
decoderawtransaction <hex string>

Wow, learn something new every day
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #10 on: June 19, 2014, 11:55:54 AM »
If anybody else cares:

I was told, by reputable source, that what I asked for is not possible through the client.

It's not simple but possible, you can get transaction from memory pool by commands:
Code: [Select]
getrawmempool
getrawtransaction <txid>
decoderawtransaction <hex string>

I was back here to explain why it is hard to believe the client does not store that info and I see that it does.

Thanks.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline testz

Re: Can I see unconfirmed transactions?
« Reply #11 on: June 19, 2014, 12:25:34 PM »
I was back here to explain why it is hard to believe the client does not store that info and I see that it does.

Thanks.

This is a question?  :)

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #12 on: June 19, 2014, 07:37:40 PM »
I was back here to explain why it is hard to believe the client does not store that info and I see that it does.

Thanks.

This is a question?  :)


There was no question there, but actually I have follow up question:

From the result of decoderawtransaction <hex string>
How do I figure out:
-sender
-receiver
-amount
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline testz

Re: Can I see unconfirmed transactions?
« Reply #13 on: June 20, 2014, 03:14:53 AM »
I was back here to explain why it is hard to believe the client does not store that info and I see that it does.

Thanks.

This is a question?  :)


There was no question there, but actually I have follow up question:

From the result of decoderawtransaction <hex string>
How do I figure out:
-sender
-receiver
-amount

I'm not sure where sender, but I mark as bold receivers and amounts.

decoderawtransaction 010000000193bcc64ab0ae2d9f28504bafca78e344a45b246baafc606e424920c1ca5a0fcc000000006b483045022100c26d8b48e63da9aa6789d887c864ff7ca44483149310e96784a95a5ce5c575850220218c9f37e6e556ab019ddd645441576677f78c180b4388925a674e8f05461b9c0121032c33c149731bcb11ecd2f3e93c765da41b8885d087b2aafb50b3fa75d0a5a641ffffffff0200c2eb0b000000001976a9143745ff24efa9ece32719711caca954fc039fb0fe88ac60c6ee03000000001976a914ba6f1afd6be25d69e98e584cbcdaca7e3d5556e488ac00000000

{
"txid" : "135d239f677d220568709f0f3c5b8db220eaf073bd806db02532da3fccb48a35",
"version" : 1,
"locktime" : 0,
"vin" : [
{
"txid" : "cc0f5acac12049426e60fcaa6b245ba444e378caaf4b50289f2daeb04ac6bc93",
"vout" : 0,
"scriptSig" : {
"asm" : "3045022100c26d8b48e63da9aa6789d887c864ff7ca44483149310e96784a95a5ce5c575850220218c9f37e6e556ab019ddd645441576677f78c180b4388925a674e8f05461b9c01 032c33c149731bcb11ecd2f3e93c765da41b8885d087b2aafb50b3fa75d0a5a641",
"hex" : "483045022100c26d8b48e63da9aa6789d887c864ff7ca44483149310e96784a95a5ce5c575850220218c9f37e6e556ab019ddd645441576677f78c180b4388925a674e8f05461b9c0121032c33c149731bcb11ecd2f3e93c765da41b8885d087b2aafb50b3fa75d0a5a641"
},
"sequence" : 4294967295
}
],
"vout" : [
{
"value" : 2.00000000,
"n" : 0,
"scriptPubKey" : {
"asm" : "OP_DUP OP_HASH160 3745ff24efa9ece32719711caca954fc039fb0fe OP_EQUALVERIFY OP_CHECKSIG",
"hex" : "76a9143745ff24efa9ece32719711caca954fc039fb0fe88ac",
"reqSigs" : 1,
"type" : "pubkeyhash",
"addresses" : [
"Pcy3A5uYKRu5e5jAxfT1QXAFmLfG4ML5s2"
]
}
},
{
"value" : 0.65980000,
"n" : 1,
"scriptPubKey" : {
"asm" : "OP_DUP OP_HASH160 ba6f1afd6be25d69e98e584cbcdaca7e3d5556e4 OP_EQUALVERIFY OP_CHECKSIG",
"hex" : "76a914ba6f1afd6be25d69e98e584cbcdaca7e3d5556e488ac",
"reqSigs" : 1,
"type" : "pubkeyhash",
"addresses" : [
"PpvYvW7UcDuHkEEBCLahr2nDgGdpbvZRxX"
]
}
}
]
}

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Can I see unconfirmed transactions?
« Reply #14 on: June 20, 2014, 03:31:10 AM »
In my test case there were a bunch (like 20) of this kind:
{
"txid" : "135d239f677d220568709f0f3c5b8db220eaf073bd806db02532da3fccb48a35",
"version" : 1,
"locktime" : 0,
"vin" : [
{
"txid" : "cc0f5acac12049426e60fcaa6b245ba444e378caaf4b50289f2daeb04ac6bc93",
"vout" : 0,
"scriptSig" : {
"asm" : "3045022100c26d8b48e63da9aa6789d887c864ff7ca44483149310e96784a95a5ce5c575850220218c9f37e6e556ab019ddd645441576677f78c180b4388925a674e8f05461b9c01 032c33c149731bcb11ecd2f3e93c765da41b8885d087b2aafb50b3fa75d0a5a641",
"hex" : "483045022100c26d8b48e63da9aa6789d887c864ff7ca44483149310e96784a95a5ce5c575850220218c9f37e6e556ab019ddd645441576677f78c180b4388925a674e8f05461b9c0121032c33c149731bcb11ecd2f3e93c765da41b8885d087b2aafb50b3fa75d0a5a641"
},


and just one with the other kind (i.e. with address and amount like in your bolded example).

 So the address is of the receiver.

Thanks
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

 

Google+