7 月 312018
 

Ripple私链修正案加载启用和禁用

https://developers.ripple.com/known-amendments.html
https://developers.ripple.com/feature.html
https://developers.ripple.com/pseudo-transaction-types.html
https://developers.ripple.com/enableamendment.html
https://developers.ripple.com/setfee.html
https://developers.ripple.com/commandline-usage.html

1) 按照公链上修正案启用情况,在Validator节点配置禁用的修正案。(截止2018/07/31版本1.0.1)

[veto_amendments]
157D2D480E006395B76F948E3E07A45A05FE10230D88A7993C71F97AE4B1F2D1 Checks
86E83A7D2ECE3AD5FA87AB2195AE015C950469ABF0B72EAACED318F74886AE90 CryptoConditionsSuite
3012E8230864E95A58C60FD61430D7E1B4D3353195F2981DC12B0C7C0950FFAC FlowCross

2)优先启动具有验证能力的Validator节点,在所有Validator节点使用–start参数初始化。

nohup rippled --start --silent --conf /usr/local/ripple/etc/rippled.cfg &

3)在Validator节点共识后,确认修正案启用状态后,启动所有其他节点。

nohup rippled --silent --conf /usr/local/ripple/etc/rippled.cfg &

待启用的修正案和费用投票伪交易信息(Ledger 257)

{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "03A8562B0B308086AD800BB13D606FB5DF92ECCCAC3FF8A05977B14D94A9545A"
}

2018-Jul-27 06:59:12.378896746 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.378983710 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "E2E6F2866106419B88C50045ACE96368558C345566AC8F2BDF5A5B5587F0E6FA",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "0CEFF064D1DF549ACDA4D150A875C18E904E132D2D68ADD9011AEC9DBBDB2692"
}

2018-Jul-27 06:59:12.379190642 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.379270861 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "B4D44CC3111ADD964E846FC57760C8B50FFCD5A82C86A72756F6B058DDDF96AD",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "10F716EB339C7ED414D981769579BF206B2F2B3C1F312BC89550E4B640ED051E"
}

2018-Jul-27 06:59:12.379449474 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.379530090 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "740352F2412A9909880C23A559FCECEDA3BE2126FED62FC7660D628A06927F11",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "175AF10120102ECFA2611B467E8AC485DABC73D1BD629ECC40568825F98C458C"
}

2018-Jul-27 06:59:12.379692615 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.379771002 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "B9E739B8296B4A1BB29BE990B17D66E21B62A300A909F25AC55C22D6C72E1F9D",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "404CDEDD458FF8D05FD545AE8DA15B0CAEA8287A156548D4059786D7C0A319BA"
}

2018-Jul-27 06:59:12.379930037 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.380006051 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "6C92211186613F9647A89DFFBAB8F94C99D4C7E956D495270789128569177DA1",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "41DCC90FB1FB64F5FD7644487329EA98129E557679DD6A52EE737C9E362174AC"
}

2018-Jul-27 06:59:12.380174636 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.380250865 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "1D3463A5891F9E589C5AE839FFAC4A917CE96197098A1EF22304E1BC5B98A454",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "4A2C094D80A1B0612B56FC8560270A8BC03420E0BF2020F38F6F835D681415DD"
}

2018-Jul-27 06:59:12.380422042 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.380500291 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "58BE9B5968C4DA7C59BA900961828B113E5490699B21877DEF9A31E9D0FE5D5F",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "4E481F53CBA7CF4AD61199C8B27F262674090A114036895F6EB1EAD757E5A05A"
}

2018-Jul-27 06:59:12.380667611 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.380743309 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "08DE7D96082187F6E6578530258C77FAABABE4C20474BDB82F04B021F1A68647",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "605F449FA3060552F443F3B7E289F46F00DC66EE05353E1C055ADFF49D0A9E8D"
}

2018-Jul-27 06:59:12.380905660 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.380980361 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "3012E8230864E95A58C60FD61430D7E1B4D3353195F2981DC12B0C7C0950FFAC",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "66FC2E45DCA2965C5E4567C189E241BFD42190CAFC0A00187C3B325813B73669"
}

2018-Jul-27 06:59:12.381161275 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.381239563 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "42426C4D4F1009EE67080A9B7965B44656D7714D104A72F9B4369F97ABF044EE",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "6F8AF89E879AE690B079FF9BB96C9BDCD3388177CCBAF6E8AB00A64DA0A62B80"
}

2018-Jul-27 06:59:12.381424677 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.381502558 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "CA7C02118BA27599528543DFE77BA6838D1B0F43B447D4D7F53523CE6A0E9AC2",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "828A36D361989C526037D3EB42B21D697BD38C7C4943570AECBEF3ED3EBEF01B"
}

2018-Jul-27 06:59:12.381672634 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.381753469 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"BaseFee" : "000000000000000A",
"Fee" : "0",
"LedgerSequence" : 257,
"ReferenceFeeUnits" : 10,
"ReserveBase" : 20000000,
"ReserveIncrement" : 5000000,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "SetFee",
"hash" : "9CCE3C7AD8ABF51C3E2B36D5BA8C1197BD3CAD20AD1B60BB7D036147D870008E"
}

2018-Jul-27 06:59:12.381899206 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.381973825 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "7117E2EC2DBF119CA55181D69819F1999ECEE1A0225A7FD2B9ED47940968479C",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "A02BB0E81031D057C98FD0055D081731909F3A892CAB1AB883086B3323630261"
}

2018-Jul-27 06:59:12.382155191 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.382231059 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "6781F8368C4771B83E8B821D88F580202BCB4228075297B19E4FDC5233F1EFDC",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "A1C64E36E139558FB64F8C34600E3D84A6AAA9F9F1301A456D715F84D5B11F01"
}

2018-Jul-27 06:59:12.382413554 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.382490188 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "07D43DCE529B15A10827E5E04943B496762F9A88E3268269D69C44BE49E21104",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "AADDCCF30327892249F3494DDAF8C8743506D94E6F9995081B02523F33ED4E8D"
}

2018-Jul-27 06:59:12.382662561 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.382736565 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "1562511F573A19AE9BD103B5D6B9E01B3B46805AEC5D3C4805C902B514399146",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "BA4226EBCE6C6FAA4E26482FDE69E03D9DF2485272C9BC210F77772E09DE97F6"
}

2018-Jul-27 06:59:12.382917309 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.382991818 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "DC9CA96AEA1DCF83E527D1AFC916EFAF5D27388ECA4060A88817C1238CAEE0BF",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "C4279529BDDF1AF328BB500B03864A126C59F5B58E579604BE5F5911F0318572"
}

2018-Jul-27 06:59:12.383175902 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.383249883 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "86E83A7D2ECE3AD5FA87AB2195AE015C950469ABF0B72EAACED318F74886AE90",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "C60B3B10B988B956429B485107CE5E6B5925CC27AB8E132D22636A3192C6E883"
}

2018-Jul-27 06:59:12.383445925 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.383520137 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "532651B4FD58DF8922A49BA101AB3E996E5BFBF95A913B3E392504863E63B164",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "D3EA7DDDF8AE62AC7C807E88F8EF883869CDFFA22658B39BBD7C8F7D41BB5675"
}

2018-Jul-27 06:59:12.383699254 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.383772376 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "42EEA5E28A97824821D4EF97081FE36A54E9593C6E4F20CBAE098C69D2E072DC",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "E05072F26A1E2F43E66847F4986BE3CB3D323EBD578912DDC148FC2157C94583"
}

2018-Jul-27 06:59:12.383966376 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.384040527 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "157D2D480E006395B76F948E3E07A45A05FE10230D88A7993C71F97AE4B1F2D1",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "E3CF691D959ED5B4FBC75BC5EEB5EA020204374928CF678DC9A6C085C667D8B2"
}

2018-Jul-27 06:59:12.384232391 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.384318483 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "F64E1EABBE79D55B3BB82020516CEC2C582A98A6BFE20FBE9BB6A0D233418064",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "E595A8E9D46F023C8EB29F42425FC661B08E71DBCD50B38ABCF50C77204B9C04"
}

2018-Jul-27 06:59:12.384511673 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.384585993 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "CC5ABAE4F3EC92E94A59B1908C2BE82D2228B6485C00AFF8F22DF930D89C194E",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "F6001BD9851654459F1CDFD45FC65F102CD2604E11F290B7AB66A0393909E069"
}

2018-Jul-27 06:59:12.384779875 Ledger:WRN Transaction in ledger 257 affects no accounts
2018-Jul-27 06:59:12.384855401 Ledger:WRN 
{
"Account" : "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
"Amendment" : "67A34F2CF55BFC0F93AACD5B281413176FEE195269FA6D95219A2DF738671172",
"Fee" : "0",
"Flags" : 65536,
"LedgerSequence" : 257,
"Sequence" : 0,
"SigningPubKey" : "",
"TransactionType" : "EnableAmendment",
"hash" : "F8195FE322CA39D004A5666451829D94C0A6109BD4905B1D038429D24080433E"
}
7 月 272018
 

托管交易字段构造

{
"Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
"TransactionType": "EscrowCreate",
"Amount": "10000",
"Destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
"CancelAfter": 533257958,
"FinishAfter": 533171558,
"Condition": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100",
"DestinationTag": 23480,
"SourceTag": 11747
}

交易字段CancelAfter和FinishAfter必须指定,且FinishAfter指定的时间点必须早于CancelAfter指定的时间点。
在修正案fix1571(于1.0.0版本引入)(当前已生效)中要求,必须指定FinishAfter字段和Condition字段中的一个或全部。
时间戳指定的时间点,必须是自Ripple Epoch(Ripple纪元)(January 1, 2000 00:00 UTC)起所经历的秒数,且该值在交易提交后不可改变。

1)提交一笔基于时间的托管交易,等待托管过期,并取消交易

当前时间
[root@rippled ~]# date
Fri Jul 13 12:18:36 UTC 2018
在此时间后可取消交易
CancelAfter:2018-07-16 00:00
1531699200-946684800=585014400
在此时间后可提取资金
FinishAfter: 2018-07-14 00:00
1531526400-946684800=584841600

提交交易及交易返回(占用1个单位储备金额度,消耗10Drops,托管1XRP)

curl -k -H 'Content-Type: application/json' -X POST -d '
{
"method": "sign",
"params": [
{
"tx_json" : {
"TransactionType" : "EscrowCreate",
"Account" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"Destination" : "rPMDsqFDs8YGgfRvvEViC9Xbezw4hGsUgi",
"Amount" : 1000000,
"CancelAfter": 585014400,
"FinishAfter": 584841600
},
"secret" : "###",
"offline": false,
"fee_mult_max": 10
}
]
}' localhost:5005

F8937D49ABA8C3F616789FB9EB13DF42F6A6F863787E49C05C458480BB9A0489

托管未在有效期内提取,在达到可取消时间后,取消该笔托管交易,返还资金给付款方

curl -k -H 'Content-Type: application/json' -X POST -d '
{
"method": "sign",
"params": [
{
"tx_json" : {
"TransactionType" : "EscrowCancel",
"Account" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"Owner" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"OfferSequence": 34
},
"secret" : "###",
"offline": false,
"fee_mult_max": 10
}
]
}' localhost:5005

8AB365CD1A14B775CDB2CE1002BE5522B4064031EF1624393D5C66A64CEDDE11

2)提交一笔基于时间的托管交易,在托管提取有效期内提取资金

当前时间
[root@rippled ~]# date
Thu Jul 19 09:25:34 UTC 2018
基本时间计算
[root@rippled ~]# date -d ‘2018-07-19 10:00:00’ +%s
1531994400
[root@rippled ~]# date -d ‘2018-07-19 10:15:00’ +%s
1531995300
[root@rippled ~]#
在此时间后可取消交易
CancelAfter:2018-07-19 10:15:00
1531995300-946684800= 585310500
在此时间后可提取资金
FinishAfter: 2018-07-19 10:00:00
1531994400-946684800= 585309600

提交托管交易

curl -k -H 'Content-Type: application/json' -X POST -d '
{
"method": "sign",
"params": [
{
"tx_json" : {
"TransactionType" : "EscrowCreate",
"Account" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"Destination" : "rPMDsqFDs8YGgfRvvEViC9Xbezw4hGsUgi",
"Amount" : 1000000,
"CancelAfter": 585310500,
"FinishAfter": 585309600
},
"secret" : "###",
"offline": false,
"fee_mult_max": 10
}
]
}' localhost:5005

0939A6DD03C52812304B8D136A8E8A4410857454443D8870E1F16C409171A661

提取托管资金

curl -k -H 'Content-Type: application/json' -X POST -d '
{
"method": "sign",
"params": [
{
"tx_json" : {
"TransactionType" : "EscrowFinish",
"Account" : "rPMDsqFDs8YGgfRvvEViC9Xbezw4hGsUgi",
"Owner" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"OfferSequence": 36
},
"secret" : "###",
"offline": false,
"fee_mult_max": 10
}
]
}' localhost:5005

未到可提取时间点时提取的交易返回

[root@rippled ~]# date
Thu Jul 19 09:37:12 UTC 2018
[root@rippled ~]#

{
"result" : {
"engine_result" : "tecNO_PERMISSION",
"engine_result_code" : 139,
"engine_result_message" : "No permission to perform requested operation.",
"status" : "success",
"tx_blob" : "1200022280000000240000001520190000002468400000000000000A732103F9B92F34FC2C0E873543D18B6B792F2325D3D592F4BF99F1905151C7A0538A1A744730450221009BFCAA9C24E2522A5BB5FB58C286D45B9D4C54AAC86A5E6B08DE87DFAC14778602200EE80148B6EE354F8B7AE2A3BD290A328AFEFF50D91D879827CD4DF9D77AF4488114F52524FC1F994334DDE86CC633E2383928B67A5582140ED68995C96301AF05997C7242D6F75371F3587F",
"tx_json" : {
"Account" : "rPMDsqFDs8YGgfRvvEViC9Xbezw4hGsUgi",
"Fee" : "10",
"Flags" : 2147483648,
"OfferSequence" : 36,
"Owner" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"Sequence" : 21,
"SigningPubKey" : "03F9B92F34FC2C0E873543D18B6B792F2325D3D592F4BF99F1905151C7A0538A1A",
"TransactionType" : "EscrowFinish",
"TxnSignature" : "30450221009BFCAA9C24E2522A5BB5FB58C286D45B9D4C54AAC86A5E6B08DE87DFAC14778602200EE80148B6EE354F8B7AE2A3BD290A328AFEFF50D91D879827CD4DF9D77AF448",
"hash" : "3C84D69EFAE8C4C607B072E04D1EC22227BB2554FB5EB1AD93EFE5F049557B7F"
}
}
}

到达可提取时间点后提取的交易返回

[root@rippled ~]# date
Thu Jul 19 10:00:20 UTC 2018
[root@rippled ~]#

{
"result" : {
"engine_result" : "tesSUCCESS",
"engine_result_code" : 0,
"engine_result_message" : "The transaction was applied. Only final in a validated ledger.",
"status" : "success",
"tx_blob" : "1200022280000000240000001620190000002468400000000000000A732103F9B92F34FC2C0E873543D18B6B792F2325D3D592F4BF99F1905151C7A0538A1A7446304402205BBE5FDD7A67AB638016CAFA2513E472E510E6B7976607385617E3A9E1FF6E0702201216F0FC3C3B6BBA8249EE9828666E47CAB553AF25CBAA76E1484C00582AB4EC8114F52524FC1F994334DDE86CC633E2383928B67A5582140ED68995C96301AF05997C7242D6F75371F3587F",
"tx_json" : {
"Account" : "rPMDsqFDs8YGgfRvvEViC9Xbezw4hGsUgi",
"Fee" : "10",
"Flags" : 2147483648,
"OfferSequence" : 36,
"Owner" : "rpMT7rVHb9wskPVZHycRqXjrHH6Jc9dDv5",
"Sequence" : 22,
"SigningPubKey" : "03F9B92F34FC2C0E873543D18B6B792F2325D3D592F4BF99F1905151C7A0538A1A",
"TransactionType" : "EscrowFinish",
"TxnSignature" : "304402205BBE5FDD7A67AB638016CAFA2513E472E510E6B7976607385617E3A9E1FF6E0702201216F0FC3C3B6BBA8249EE9828666E47CAB553AF25CBAA76E1484C00582AB4EC",
"hash" : "64EFAE4DB75B69627F3EBF7D4850655AC18350A997985BBB9B68A7742C26A7F2"
}
}
}
7 月 222018
 

生成一个账户

{
"result" : {
"account_id" : "rUyUa2dg3eCsTYzxTavACcmGmPr5muN1cW",
"key_type" : "secp256k1",
"master_key" : "TED CARL FOLD GALE GLIB PEN BURR FLIT AMOK REEL NOD ACID",
"master_seed" : "sh5How4HaV76TK6S9Tqt9qfnraaTH",
"master_seed_hex" : "90C812E73155F06065CA58C40F72CC3F",
"public_key" : "aBQsesLPSgmgfVUysK8Qakvf3uGJeceUjmsAgm7z5kPKdEcZ9xqi",
"public_key_hex" : "03130F5D37F3C1C9EC5A8A4569C271051CB192FCBF346ABF141D74CD5F9F4D3788",
"status" : "success"
}
}

发起一笔Payment交易

[root@rippled ~]# curl -k -H 'Content-Type: application/json' -X POST -d '
> {
> "method": "sign",
> "params": [
> {
> "offline": false,
> "secret": "###",
> "tx_json": {
> "Account": "raex7tk3x88HGm7TyPaEhj71x3iWdvRM4A",
> "Amount": "10",
> "Destination": "rUyUa2dg3eCsTYzxTavACcmGmPr5muN1cW",
> "TransactionType": "Payment"
> },
> "fee_mult_max": 10
> }
> ]
> }' localhost:5005

未达到基本储备金额度要求(20XRP)的付款激活交易失败返回

{
"result" : {
"engine_result" : "tecNO_DST_INSUF_XRP",
"engine_result_code" : 125,
"engine_result_message" : "Destination does not exist. Too little XRP sent to create it.",
"status" : "success",
"tx_blob" : "1200002280000000240000006061400000000000000A68400000000000000A732103C125726E7D2DAC95FA3BF2C9E4ADF936253E3413F7128DBE142F3A799BDA60EA74463044022071EC0FA91BFC01D8EDF1EDFC7F308E313B6463A634FCF789B7A1317DDA760915022063B9564872A47B95F0E1F0BAC1AF9769990DE4E2ABA8D1934C8ECA29EFB8682D81143E0655270D699B5731416C2225EC2630DACD1D4583148349F0AC2817253F359D33E1082F2FBC57FC7F7F",
"tx_json" : {
"Account" : "raex7tk3x88HGm7TyPaEhj71x3iWdvRM4A",
"Amount" : "10",
"Destination" : "rUyUa2dg3eCsTYzxTavACcmGmPr5muN1cW",
"Fee" : "10",
"Flags" : 2147483648,
"Sequence" : 96,
"SigningPubKey" : "03C125726E7D2DAC95FA3BF2C9E4ADF936253E3413F7128DBE142F3A799BDA60EA",
"TransactionType" : "Payment",
"TxnSignature" : "3044022071EC0FA91BFC01D8EDF1EDFC7F308E313B6463A634FCF789B7A1317DDA760915022063B9564872A47B95F0E1F0BAC1AF9769990DE4E2ABA8D1934C8ECA29EFB8682D",
"hash" : "6BC6E8F1370D6BD4DEAEBBBB572D4A5FE29ACA81723FE104AA5963CE27D38F06"
}
}
}

Ripple官方浏览器交易详情链接

https://xrpcharts.ripple.com/#/transactions/6BC6E8F1370D6BD4DEAEBBBB572D4A5FE29ACA81723FE104AA5963CE27D38F06