mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 18:15:50 +00:00
Allow manifests to include an optional 'domain' field:
The new 'Domain' field allows validator operators to associate a domain name with their manifest in a transparent and independently verifiable fashion. It is important to point out that while this system can cryptographically prove that a particular validator claims to be associated with a domain it does *NOT* prove that the validator is, actually, associated with that domain. Domain owners will have to cryptographically attest to operating particular validators that claim to be associated with that domain. One option for doing so would be by making available a file over HTTPS under the domain being claimed, which is verified separately (e.g. by ensuring that the certificate used to serve the file matches the domain being claimed) and which contains the long-term master public keys of validator(s) associated with that domain. Credit for an early prototype of this idea goes to GitHub user @cryptobrad who introduced a PR that would allow a validator list publisher to attest that a particular validator was associated with a domain. The idea may be worth revisiting as a way of verifying the domain name claimed by the validator's operator.
This commit is contained in:
@@ -32,32 +32,32 @@ namespace ripple {
|
||||
*/
|
||||
enum TxType
|
||||
{
|
||||
ttINVALID = -1,
|
||||
ttINVALID = -1,
|
||||
|
||||
ttPAYMENT = 0,
|
||||
ttESCROW_CREATE = 1,
|
||||
ttESCROW_FINISH = 2,
|
||||
ttACCOUNT_SET = 3,
|
||||
ttESCROW_CANCEL = 4,
|
||||
ttREGULAR_KEY_SET = 5,
|
||||
ttNICKNAME_SET = 6, // open
|
||||
ttOFFER_CREATE = 7,
|
||||
ttOFFER_CANCEL = 8,
|
||||
no_longer_used = 9,
|
||||
ttTICKET_CREATE = 10,
|
||||
ttTICKET_CANCEL = 11,
|
||||
ttSIGNER_LIST_SET = 12,
|
||||
ttPAYCHAN_CREATE = 13,
|
||||
ttPAYCHAN_FUND = 14,
|
||||
ttPAYCHAN_CLAIM = 15,
|
||||
ttCHECK_CREATE = 16,
|
||||
ttCHECK_CASH = 17,
|
||||
ttCHECK_CANCEL = 18,
|
||||
ttDEPOSIT_PREAUTH = 19,
|
||||
ttTRUST_SET = 20,
|
||||
ttPAYMENT = 0,
|
||||
ttESCROW_CREATE = 1,
|
||||
ttESCROW_FINISH = 2,
|
||||
ttACCOUNT_SET = 3,
|
||||
ttESCROW_CANCEL = 4,
|
||||
ttREGULAR_KEY_SET = 5,
|
||||
ttNICKNAME_SET = 6, // open
|
||||
ttOFFER_CREATE = 7,
|
||||
ttOFFER_CANCEL = 8,
|
||||
no_longer_used = 9,
|
||||
ttTICKET_CREATE = 10,
|
||||
ttTICKET_CANCEL = 11,
|
||||
ttSIGNER_LIST_SET = 12,
|
||||
ttPAYCHAN_CREATE = 13,
|
||||
ttPAYCHAN_FUND = 14,
|
||||
ttPAYCHAN_CLAIM = 15,
|
||||
ttCHECK_CREATE = 16,
|
||||
ttCHECK_CASH = 17,
|
||||
ttCHECK_CANCEL = 18,
|
||||
ttDEPOSIT_PREAUTH = 19,
|
||||
ttTRUST_SET = 20,
|
||||
|
||||
ttAMENDMENT = 100,
|
||||
ttFEE = 101,
|
||||
ttAMENDMENT = 100,
|
||||
ttFEE = 101,
|
||||
};
|
||||
|
||||
/** Manages the list of known transaction formats.
|
||||
|
||||
Reference in New Issue
Block a user