Do transactions in Ripple have a TXID of sorts, or not?


For a transaction to be processed it must use the very next available sequence number (as returned by account_info).

If an otherwise valid signed transaction has a sequence number too small (matching a previously used sequence number), then the transaction is guaranteed to never be valid and will produce an error and should be discarded by servers receiving it.

If an otherwise valid signed transaction uses a sequence number (currently) too high, then the transaction is not currently valid and will produce an error but the transaction may become valid (and a server may retain and automatically attempt to apply the transaction at that time). As well anything that has seen the signed transaction could replay it once the "missing" sequence numbers on the account are used. Such transactions are referred to as in-flight and their outcome is undetermined until either the account has a transaction with that sequence number included in a fully validated ledger (possibly a...

0 0

At the moment I am implementing a transaction overwriting with NOPs in Ripple. I want to store information about a transaction I am overwriting inside of the NOP. Looking at the PreviousTxnID field it appears to be ideal for this purpose. However, when I try to use it I get an error of:

{ "id": 11, "status": "success", "type": "response", "result": { "engine_result": "tefWRONG_PRIOR", "engine_result_code": -184, "engine_result_message": "This previous transaction does not match.", "tx_blob": "1200032200000000240000F69555DA10915AA58303872299078F4CD9AD81D4771219C38764BE84B3AB3D6763977268400000000000000F7321025D9E40A50D78347EB8AFF7A36222BBE173CB9D06E68D109D189FF8616FC211077446304402204710D875B7DFC0F9A9F2101F67E0043AE255258BF9F6F21BCF7D42BC19B3A41E0220554CAB999EF43FD3EF720C6869D63F2E324AD774662B51AE4599F50B60E9B4DA8114448BD3912AA0E86A18B17784E7177B262FC38D73", "tx_json": { "Account": "rfESTMcbvbvCBqU1FTvGWiJP8cmUSu4GKg", "Fee": "15", "Flags": 0, ...
0 0

Advantages of UTXO/blockchain approach:

You don't have to pay to addresses that refer to accounts. Transactions can pay to unique rules or conditions that can exist only as the rule to claim a particular transaction output. Transactions are more independent in execution, not contending for access to the same account structures. All you need to know about a transaction is that it succeeded. There's no "additional information" such as the previous balance and the new balance.

Advantages of account/ledger approach:

Accounts exist as primary structures and so can have properties, both persistent/configured and dynamic/reported. Transactions are more independent in formation, not contending for access to the same transaction outputs. There is no UTXO database to maintain and synchronize and attacks on the UTXO set do not work. (Though there are other ways you can defend against attacks of this type.) More sophisticated transactions can be supported without creating the risk...
0 0

This was created specifically to resolve a problem Bitstamp was having. Though there is absolutely no reason to send XRP to Bitstamp, people were constantly doing that. Bitsamp had to either steal the XRP or refund it. Obviously, they wanted to refund it. But this would drain their hot wallet of XRP.

To resolve this, we're in the process of adding the flag you mentioned, "lsfDisallowXRP". If the flag is set, the client will not let you send XRP to the account that has set it. Bitstamp would then set this flag.

Bitstamp can still put XRP in the account to fund its transactions by simply ignoring the flag. We may also add a way to override the flag in the client, possibly by putting a special marker at the end of the address or possibly with a...

0 0
0 0
0 0

Wow, do you do ANY research before you comment? It's in testing phases, but many of the top banks in the world have signed contracts with Ripple. So, if you buy XRP today, you are getting the opportunity to invest in a company that has already been adopted by huge banks, worldwide. If you can't hack the risk of making a bet on a new technology or a new company, then try your luck with one of the other altcoins that offer nothing that hasn't been done a few hundred times already - I guess those coins are good for day trading!

Here are details from the Cost Model Paper I linked you to above:

Institutional Cost Savings Using Ripple and XRP Now let’s evaluate cost savings to our representative bank using Ripple and XRP as a universal bridge asset. The cost model below assumes our same respondent bank converts 50 percent of its payments-related float into XRP after implementing Ripple, custodying the XRP itself. Banks can either source and custody XRP themselves or...

0 0
0 0
0 0
0 0
30/CNY: 1D5DD310D18559CF94930568C9C8CB97E2DC6DBDC82E923F78F8E89B212FFA74 { "Account": "rHTLdR8F4v9gJmLoW6Fk6zmBvCM2bqzqLP", "Amount": { "currency": "CNY", "issuer": "rM8199qFwspxiWNZRChZdZbGN5WrCepVP1", "value": "30" }, "Destination": "rfWh2ZMjewVfRdj92pCnP3sug8Y9nBAShQ", "Fee": "54", "Flags": 0, "Sequence": 3208, "SigningPubKey": "02BAADA9F5CE4681376B8BD61659268F8C7ABAE7EC4F18C64739D56ADC7AF82991", "TransactionType": "Payment", "TxnSignature": "3046022100E1093AA313368274FB8CB98133D36174F357A2A8EC44E0528B668890A425E38D0221008FFEF5E5A560AC5E811BBF8A90F389FC6D312C28BB9BD2A929A743EBA83B5E89" } { "AffectedNodes": [ {"ModifiedNode": { "FinalFields": { "Balance": { "currency": "CNY", "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji", "value": "4878.82689791" }, "Flags": 65536, "HighLimit": { "currency": "CNY", "issuer":...
0 0

The BBVA issued communication states:

"BBVA ... has joined the Ripple network to transform their cross-border payments.

BBVA is currently developing several pilots with blockchain to understand and explore the possibilities of the technology, which could potentially play a key role in transforming the financial sector. The recently announced R3 pilot on blockchain in syndicated loans is just one example of BBVA’s activity in this field.

BBVA is a member of the R3 consortium and recently joined the Ethereum Enterprise Alliance and Hyperledger. All these alliances seek to develop common standards and build efficient and secure platforms that allow companies to capitalize on the advantages of DLT in the corporate world."

So....., BBVA is using RCL, it's also a member of the R3 consortium, it joined the Ethereum Enterprise Alliance and Hyperledger. It seems like these banks are experimenting with everything DLT-related. Ripple has had a huge headstart....

0 0

A Litecoin blockchain REST and web socket API service for Litecore Node.

This is a backend-only service. If you're looking for the web frontend application, take a look at

Getting Started

npm install -g litecore-node@latest

litecore-node create mynode

cd mynode

litecore-node install insight-lite-api

litecore-node start

The API endpoints will be available by default at: http://localhost:3001/insight-api/


Note: You can use an existing Litecoin data directory, however txindex, addressindex, timestampindex and spentindex needs to be set to true in bitcoin.conf, as well as a few other additional fields.

Notes on Upgrading from v0.3

The unspent outputs format now has satoshis and height:

[ { "address":"mo9ncXisMeAoXwqcV5EWuyncbmCcQN4rVs", "txid":"d5f8a96faccf79d4c087fa217627bb1120e83f8ea1a7d84b1de4277ead9bbac1", "vout":0, ...
0 0

I just tried to make an online purchase using bitcoin, it didn't go so well.

I'm using Bitcoin XT version v0.11.0.0-2b918be and connect over tor. The problem was that my tor node was down when I sent the transaction. When I didn't receive confirmation from the payment processor I started to look into it and then restarted my tor node and wallet.

The problem seems to be that the wallet thinks that it was already sent the transaction, it says Status: 0/unconfirmed but I can't see it on any blockchain explorers.

Is there any way to cancel the transaction? If not, can I make the wallet retransmit the transaction, even if I have to go through the hassle of getting my bitcoins back from the payment processor, as the order has expired since...

0 0

The fee required for a transaction to quickly confirm varies according to network conditions. Generally it floats around slowly, but sometimes it shoots up due to spam transactions or a series of randomly-slow blocks. In such cases, you may find that your incoming or outgoing transactions get stuck in 0-conf status for a long time. Wallets should avoid this in 99% of cases by accurately predicting an appropriate fee, and they should be able to gracefully bump fees in the remaining 1% of cases, but in general, fees are handled pretty poorly by today's wallets.

This page gives exact instructions on how to increase the fee on a transaction that is currently stuck in order to make it unstuck. This is always done by creating a new transaction that will either spend the coins sent by the stuck transaction (called CPFP) or replace the stuck transaction (called RBF). The instructions vary significantly depending on your wallet software. Find your wallet in the table of contents, and...

0 0

A multiple output transaction is a transaction where coins are sent from one location to many locations at once under the same transaction ID (TXID). Here is an example of a multiple output transaction on the Bitcoin blockchain:

As you can see in the example there are funds being sent to 14 different addresses all under the TXID of 775a4c0b8f76b523ef1fca9285f57a50852f8dd58ecc441d8c7a5351771f47f8 .

This type of transaction can potentially result in two or more deposits to ShapeShift being associated to the same TXID. In this case, our system would detect only the first deposit associated to the TXID. For this reason, multiple output transactions are not compatible with ShapeShift.

Multiple output transactions are common when sending directly from a pool or third party. In order to guarantee successful exchanges, you will need to send your funds first to a private...

0 0

Command: abandontransaction

nullabandontransaction "txid" Mark in-wallet transaction as abandoned This will mark this transaction and all its in-wallet descendants as abandoned which will allow for their inputs to be respent. It can be used to replace "stuck" or evicted transactions. It only works on transactions which are not included in a block and are not currently in the mempool. It has no effect on transactions which are already conflicted or abandoned. Arguments: 1. "txid" (string, required) The transaction id Result: Examples: > bitcoin-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;'...
0 0
On Sun, Dec 01, 2013 at 12:51:46PM +0100, Mike Hearn wrote: > 4) Finally, when we next hard fork, we make v2 transactions include the > output value in the signature, same as the output script (this proposal has > been on the forums for a while now). That allows the fee data added in step > 2 to be cross-checked against the signatures on the inputs, thus > authenticating it. FTFY s/hard-fork/soft-fork/ The proposals on the forums with regard to a soft-fork are for a new transaction format - to be done in parallel with the old one - that commits to transaction inputs and outputs via a merkle tree extending into the transaction. This data is then committed to via the merge-mine standard. In addition, all this discussion about trying to figure out transaction fees based on transaction is a bit irrelevant if you suppose a soft-fork. We already know that we need a merkle-sum-tree of fees and transaction size to be able to audit miners and create compact fraud proofs, and using that...
0 0

To maximize revenue while maintaining a great UX, Vungle recommends using opt-in interstitials. Shown at natural breaks in the app, opt-in interstitials deliver high revenue and it's recommended to be non-skippable. This placement also delivers a great UX, because users opt-in to watch a video and are opt-in with something of value -- such as virtual currency, premium content, or in-app goods. The amount and type of reward given to a user for completing a video view is completely up to you. There are two ways of achieving this:

1. In-App Rewards (Recommended)


This is an alternative to using server-to-server callbacks. When a user successfully completes an ad view, you can reward them directly in your app.

The main benefit here is that it's fairly simple to implement. If you're looking for something quick, and you're not concerned with replay attacks, this should do it.

Implementation- iOS

You'll want to implement the VungleSDK...

0 0

While last week I dissected Ripple's XRPs. There are many fundamental features of the Ripple system that other cryptos can learn from. A lot of them are small and obscure to anyone who hasn't had a hands-on experience developing systems on top of cryptos. Luckily enough, that's my speciality.

So here are a few features of the Ripple system that other cryptos can learn from, as viewed by a programmer.

AccountTxnID and Memos

Sometimes you need to send a transaction with some extra data attached. Whether it's an invoice ID, customer number, or some other business-related information, you have some data that needs to go into the blockchain. This will help you keep track of what transaction did what, give some identifiable information as to the origin of the transaction and so on.

Even Bitcoin recognised the need for this feature by introducing OP_RETURN in 2014. Before that, people used to create unspendable transaction outputs that the system would have to...

0 0

Once you've sent a bitcoin payment from CoinJar to an external bitcoin address, that transfer's details (amount sent, sending/receiving bitcoin address, as well as the date of transfer) can be found on the blockchain. This information is then publicly available, and given its own transaction ID - or TXID.

At times, the recipient of your bitcoin transfer may request this transaction ID from you - typically to confirm you've sent the payment successfully. This transaction ID is safe to share - no personal information is sent from your CoinJar to the blockchain.

Finding a transaction ID

Visit in a new browser window. This is a public blockchain explorer, which can be used to view all previous bitcoin payments made on the blockchain. There are alternatives sites that can also search the blockchain, and it's up to personal preference which one you use. In the 'Search' area, you'll need to enter information that is specific to your bitcoin...
0 0

First of all shuffling is the process of transfering data from the mappers to the reducers, so I think it is obvious that it is necessary for the reducers, since otherwise, they wouldn't be able to have any input (or input from every mapper). Shuffling can start even before the map phase has finished, to save some time. That's why you can see a reduce status greater than 0% (but less than 33%) when the map status is not yet 100%.

Sorting saves time for the reducer, helping it easily distinguish when a new reduce task should start. It simply starts a new reduce task, when the next key in the sorted input data is different than the previous, to put it simply. Each reduce task takes a list of key-value pairs, but it has to call the reduce() method which takes a key-list(value) input, so it has to group values by key. It's easy to do so, if input data is pre-sorted (locally) in the map phase and simply merge-sorted in the reduce phase (since the reducers get data from many...

0 0

DEFINITION of 'Ripple (Cryptocurrency)'

Ripple is a technology that acts as both a cryptocurrency and a digital payment network for financial transactions.

Ripple was released in 2012 and co-founded by Chris Larsen and Jed McCaleb.

The coin for the cryptocurrency is premined and labeled XRP.

BREAKING DOWN 'Ripple (Cryptocurrency)'

Ripple is more known for its digital payment protocol than its cryptocurrency, XRP. Ripple operates on an open source and peer-to-peer decentralized platform that allows for a seamless transfer of money in any form, whether USD, Yen, litecoin, or bitcoin.

To understand how the system works, consider a money transfer structure where the two parties on either end of the transaction use their preferred middlemen to receive the money. Lawrence needs to send $100 to David who lives in a different city. He gives his local agent, Kate, the money to send to David with a password that David is required to answer...

0 0