Skip to content

Instantly share code, notes, and snippets.

@shumkov
Last active October 22, 2020 05:43
Show Gist options
  • Save shumkov/e422ce6b54186c1bd23b1d8197a79d7e to your computer and use it in GitHub Desktop.
Save shumkov/e422ce6b54186c1bd23b1d8197a79d7e to your computer and use it in GitHub Desktop.
Block 47th output from masternode-1 during processing
[2020-10-22 03:34:52.175 +0000] INFO (18 on ca9cf9afdff7): Block begin #47
[2020-10-22 03:34:52.176 +0000] INFO (18 on ca9cf9afdff7): Deliver state transition 83585b9c74ef8ec2711ae6685b3ca1b3d700168ac2957ef5cb57b79e5db1da05 from block #47
[2020-10-22 03:34:52.185 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchDataContract
method: "fetchDataContract"
parameters: {
"id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE"
}
response: {
"protocolVersion": 0,
"$id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$schema": "https://schema.dash.org/dpp-0-4-0/meta/data-contract",
"ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"documents": {
"domain": {
"indices": [
{
"unique": true,
"properties": [
{
"normalizedParentDomainName": "asc"
},
{
"normalizedLabel": "asc"
}
]
},
{
"unique": true,
"properties": [
{
"records.dashUniqueIdentityId": "asc"
}
]
},
{
"properties": [
{
"records.dashAliasIdentityId": "asc"
}
]
}
],
"$comment": "In order to register a domain you need to create a preorder. The preorder step is needed to prevent man-in-the-middle attacks. normalizedLabel + '.' + normalizedParentDomain must not be longer than 253 chars length as defined by RFC 1035. Domain documents are immutable: modification and deletion are restricted",
"required": [
"label",
"normalizedLabel",
"normalizedParentDomainName",
"preorderSalt",
"records",
"subdomainRules"
],
"properties": {
"label": {
"type": "string",
"pattern": "^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])$",
"maxLength": 63,
"minLength": 3,
"description": "Domain label. e.g. 'Bob'."
},
"records": {
"type": "object",
"$comment": "Constraint with max and min properties ensure that only one identity record is used - either a `dashUniqueIdentityId` or a `dashAliasIdentityId`",
"properties": {
"dashAliasIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create alias names for the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
},
"dashUniqueIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create the primary name the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
}
},
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": false
},
"preorderSalt": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Salt used in the preorder document"
},
"subdomainRules": {
"type": "object",
"required": [
"allowSubdomains"
],
"properties": {
"allowSubdomains": {
"type": "boolean",
"$comment": "Only the domain owner is allowed to create subdomains for non top-level domains",
"description": "This option defines who can create subdomains: true - anyone; false - only the domain owner"
}
},
"description": "Subdomain rules allow domain owners to define rules for subdomains",
"additionalProperties": false
},
"normalizedLabel": {
"type": "string",
"pattern": "^((?!-)[a-z0-9-]{0,62}[a-z0-9])$",
"$comment": "Must be equal to the label in lowercase. This property will be deprecated due to case insensitive indices",
"maxLength": 63,
"description": "Domain label in lowercase for case-insensitive uniqueness validation. e.g. 'bob'"
},
"normalizedParentDomainName": {
"type": "string",
"pattern": "^$|^((?!-)[a-z0-9-\\.]{0,189}[a-z0-9])$",
"$comment": "Must either be equal to an existing domain or empty to create a top level domain. Only the data contract owner can create top level domains.",
"maxLength": 190,
"minLength": 0,
"description": "A full parent domain name in lowercase for case-insensitive uniqueness validation. e.g. 'dash'"
}
},
"additionalProperties": false
},
"preorder": {
"indices": [
{
"unique": true,
"properties": [
{
"saltedDomainHash": "asc"
}
]
}
],
"$comment": "Preorder documents are immutable: modification and deletion are restricted",
"required": [
"saltedDomainHash"
],
"properties": {
"saltedDomainHash": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Double sha-256 of the concatenation of a 32 byte random salt and a normalized domain name"
}
},
"additionalProperties": false
}
}
}
[2020-10-22 03:34:52.194 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchIdentity
method: "fetchIdentity"
parameters: {
"id": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu"
}
response: {
"protocolVersion": 0,
"id": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"publicKeys": [
{
"id": 0,
"type": 0,
"data": "A0ZnczdnN8K25f72whRqpgepYBQPJ5hYLodG+1Kxd57D"
}
],
"balance": 4979,
"revision": 0
}
[2020-10-22 03:34:52.194 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchIdentity
method: "fetchIdentity"
parameters: {
"id": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu"
}
response: {
"protocolVersion": 0,
"id": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"publicKeys": [
{
"id": 0,
"type": 0,
"data": "A0ZnczdnN8K25f72whRqpgepYBQPJ5hYLodG+1Kxd57D"
}
],
"balance": 4979,
"revision": 0
}
[2020-10-22 03:34:52.201 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchDataContract
method: "fetchDataContract"
parameters: {
"id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE"
}
response: {
"protocolVersion": 0,
"$id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$schema": "https://schema.dash.org/dpp-0-4-0/meta/data-contract",
"ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"documents": {
"domain": {
"indices": [
{
"unique": true,
"properties": [
{
"normalizedParentDomainName": "asc"
},
{
"normalizedLabel": "asc"
}
]
},
{
"unique": true,
"properties": [
{
"records.dashUniqueIdentityId": "asc"
}
]
},
{
"properties": [
{
"records.dashAliasIdentityId": "asc"
}
]
}
],
"$comment": "In order to register a domain you need to create a preorder. The preorder step is needed to prevent man-in-the-middle attacks. normalizedLabel + '.' + normalizedParentDomain must not be longer than 253 chars length as defined by RFC 1035. Domain documents are immutable: modification and deletion are restricted",
"required": [
"label",
"normalizedLabel",
"normalizedParentDomainName",
"preorderSalt",
"records",
"subdomainRules"
],
"properties": {
"label": {
"type": "string",
"pattern": "^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])$",
"maxLength": 63,
"minLength": 3,
"description": "Domain label. e.g. 'Bob'."
},
"records": {
"type": "object",
"$comment": "Constraint with max and min properties ensure that only one identity record is used - either a `dashUniqueIdentityId` or a `dashAliasIdentityId`",
"properties": {
"dashAliasIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create alias names for the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
},
"dashUniqueIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create the primary name the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
}
},
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": false
},
"preorderSalt": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Salt used in the preorder document"
},
"subdomainRules": {
"type": "object",
"required": [
"allowSubdomains"
],
"properties": {
"allowSubdomains": {
"type": "boolean",
"$comment": "Only the domain owner is allowed to create subdomains for non top-level domains",
"description": "This option defines who can create subdomains: true - anyone; false - only the domain owner"
}
},
"description": "Subdomain rules allow domain owners to define rules for subdomains",
"additionalProperties": false
},
"normalizedLabel": {
"type": "string",
"pattern": "^((?!-)[a-z0-9-]{0,62}[a-z0-9])$",
"$comment": "Must be equal to the label in lowercase. This property will be deprecated due to case insensitive indices",
"maxLength": 63,
"description": "Domain label in lowercase for case-insensitive uniqueness validation. e.g. 'bob'"
},
"normalizedParentDomainName": {
"type": "string",
"pattern": "^$|^((?!-)[a-z0-9-\\.]{0,189}[a-z0-9])$",
"$comment": "Must either be equal to an existing domain or empty to create a top level domain. Only the data contract owner can create top level domains.",
"maxLength": 190,
"minLength": 0,
"description": "A full parent domain name in lowercase for case-insensitive uniqueness validation. e.g. 'dash'"
}
},
"additionalProperties": false
},
"preorder": {
"indices": [
{
"unique": true,
"properties": [
{
"saltedDomainHash": "asc"
}
]
}
],
"$comment": "Preorder documents are immutable: modification and deletion are restricted",
"required": [
"saltedDomainHash"
],
"properties": {
"saltedDomainHash": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Double sha-256 of the concatenation of a 32 byte random salt and a normalized domain name"
}
},
"additionalProperties": false
}
}
}
[2020-10-22 03:34:52.203 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchDataContract
method: "fetchDataContract"
parameters: {
"id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE"
}
response: {
"protocolVersion": 0,
"$id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$schema": "https://schema.dash.org/dpp-0-4-0/meta/data-contract",
"ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"documents": {
"domain": {
"indices": [
{
"unique": true,
"properties": [
{
"normalizedParentDomainName": "asc"
},
{
"normalizedLabel": "asc"
}
]
},
{
"unique": true,
"properties": [
{
"records.dashUniqueIdentityId": "asc"
}
]
},
{
"properties": [
{
"records.dashAliasIdentityId": "asc"
}
]
}
],
"$comment": "In order to register a domain you need to create a preorder. The preorder step is needed to prevent man-in-the-middle attacks. normalizedLabel + '.' + normalizedParentDomain must not be longer than 253 chars length as defined by RFC 1035. Domain documents are immutable: modification and deletion are restricted",
"required": [
"label",
"normalizedLabel",
"normalizedParentDomainName",
"preorderSalt",
"records",
"subdomainRules"
],
"properties": {
"label": {
"type": "string",
"pattern": "^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])$",
"maxLength": 63,
"minLength": 3,
"description": "Domain label. e.g. 'Bob'."
},
"records": {
"type": "object",
"$comment": "Constraint with max and min properties ensure that only one identity record is used - either a `dashUniqueIdentityId` or a `dashAliasIdentityId`",
"properties": {
"dashAliasIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create alias names for the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
},
"dashUniqueIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create the primary name the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
}
},
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": false
},
"preorderSalt": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Salt used in the preorder document"
},
"subdomainRules": {
"type": "object",
"required": [
"allowSubdomains"
],
"properties": {
"allowSubdomains": {
"type": "boolean",
"$comment": "Only the domain owner is allowed to create subdomains for non top-level domains",
"description": "This option defines who can create subdomains: true - anyone; false - only the domain owner"
}
},
"description": "Subdomain rules allow domain owners to define rules for subdomains",
"additionalProperties": false
},
"normalizedLabel": {
"type": "string",
"pattern": "^((?!-)[a-z0-9-]{0,62}[a-z0-9])$",
"$comment": "Must be equal to the label in lowercase. This property will be deprecated due to case insensitive indices",
"maxLength": 63,
"description": "Domain label in lowercase for case-insensitive uniqueness validation. e.g. 'bob'"
},
"normalizedParentDomainName": {
"type": "string",
"pattern": "^$|^((?!-)[a-z0-9-\\.]{0,189}[a-z0-9])$",
"$comment": "Must either be equal to an existing domain or empty to create a top level domain. Only the data contract owner can create top level domains.",
"maxLength": 190,
"minLength": 0,
"description": "A full parent domain name in lowercase for case-insensitive uniqueness validation. e.g. 'dash'"
}
},
"additionalProperties": false
},
"preorder": {
"indices": [
{
"unique": true,
"properties": [
{
"saltedDomainHash": "asc"
}
]
}
],
"$comment": "Preorder documents are immutable: modification and deletion are restricted",
"required": [
"saltedDomainHash"
],
"properties": {
"saltedDomainHash": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Double sha-256 of the concatenation of a 32 byte random salt and a normalized domain name"
}
},
"additionalProperties": false
}
}
}
[2020-10-22 03:34:52.206 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchIdentity
method: "fetchIdentity"
parameters: {
"id": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu"
}
response: {
"protocolVersion": 0,
"id": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"publicKeys": [
{
"id": 0,
"type": 0,
"data": "A0ZnczdnN8K25f72whRqpgepYBQPJ5hYLodG+1Kxd57D"
}
],
"balance": 4979,
"revision": 0
}
[2020-10-22 03:34:52.206 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchDataContract
method: "fetchDataContract"
parameters: {
"id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE"
}
response: {
"protocolVersion": 0,
"$id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$schema": "https://schema.dash.org/dpp-0-4-0/meta/data-contract",
"ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"documents": {
"domain": {
"indices": [
{
"unique": true,
"properties": [
{
"normalizedParentDomainName": "asc"
},
{
"normalizedLabel": "asc"
}
]
},
{
"unique": true,
"properties": [
{
"records.dashUniqueIdentityId": "asc"
}
]
},
{
"properties": [
{
"records.dashAliasIdentityId": "asc"
}
]
}
],
"$comment": "In order to register a domain you need to create a preorder. The preorder step is needed to prevent man-in-the-middle attacks. normalizedLabel + '.' + normalizedParentDomain must not be longer than 253 chars length as defined by RFC 1035. Domain documents are immutable: modification and deletion are restricted",
"required": [
"label",
"normalizedLabel",
"normalizedParentDomainName",
"preorderSalt",
"records",
"subdomainRules"
],
"properties": {
"label": {
"type": "string",
"pattern": "^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])$",
"maxLength": 63,
"minLength": 3,
"description": "Domain label. e.g. 'Bob'."
},
"records": {
"type": "object",
"$comment": "Constraint with max and min properties ensure that only one identity record is used - either a `dashUniqueIdentityId` or a `dashAliasIdentityId`",
"properties": {
"dashAliasIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create alias names for the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
},
"dashUniqueIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create the primary name the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
}
},
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": false
},
"preorderSalt": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Salt used in the preorder document"
},
"subdomainRules": {
"type": "object",
"required": [
"allowSubdomains"
],
"properties": {
"allowSubdomains": {
"type": "boolean",
"$comment": "Only the domain owner is allowed to create subdomains for non top-level domains",
"description": "This option defines who can create subdomains: true - anyone; false - only the domain owner"
}
},
"description": "Subdomain rules allow domain owners to define rules for subdomains",
"additionalProperties": false
},
"normalizedLabel": {
"type": "string",
"pattern": "^((?!-)[a-z0-9-]{0,62}[a-z0-9])$",
"$comment": "Must be equal to the label in lowercase. This property will be deprecated due to case insensitive indices",
"maxLength": 63,
"description": "Domain label in lowercase for case-insensitive uniqueness validation. e.g. 'bob'"
},
"normalizedParentDomainName": {
"type": "string",
"pattern": "^$|^((?!-)[a-z0-9-\\.]{0,189}[a-z0-9])$",
"$comment": "Must either be equal to an existing domain or empty to create a top level domain. Only the data contract owner can create top level domains.",
"maxLength": 190,
"minLength": 0,
"description": "A full parent domain name in lowercase for case-insensitive uniqueness validation. e.g. 'dash'"
}
},
"additionalProperties": false
},
"preorder": {
"indices": [
{
"unique": true,
"properties": [
{
"saltedDomainHash": "asc"
}
]
}
],
"$comment": "Preorder documents are immutable: modification and deletion are restricted",
"required": [
"saltedDomainHash"
],
"properties": {
"saltedDomainHash": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Double sha-256 of the concatenation of a 32 byte random salt and a normalized domain name"
}
},
"additionalProperties": false
}
}
}
[2020-10-22 03:34:52.210 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchDocuments
method: "fetchDocuments"
parameters: {
"contractId": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"type": "domain",
"options": {
"where": [
[
"$id",
"in",
[
"AveM2oq7Nr62obipUNh9wRG8nx1x9EyjzPD6vXeXgYNY"
]
]
]
}
}
response: [
{
"$protocolVersion": 0,
"$id": "AveM2oq7Nr62obipUNh9wRG8nx1x9EyjzPD6vXeXgYNY",
"$type": "domain",
"$dataContractId": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"$revision": 1,
"label": "e183d3463bf559f48b6e",
"records": {
"dashAliasIdentityId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu"
},
"preorderSalt": "BQBQ2EOoZti+uvyG2Q+CBUnRONahOFKOEDgIbOm0I3o=",
"subdomainRules": {
"allowSubdomains": true
},
"normalizedLabel": "e183d3463bf559f48b6e",
"normalizedParentDomainName": ""
}
]
[2020-10-22 03:34:52.210 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchLatestPlatformBlockHeader
method: "fetchLatestPlatformBlockHeader"
parameters: {}
response: {
"version": {
"Block": "10"
},
"chainId": "dash-devnet-palinka",
"height": "47",
"time": {
"seconds": "1603337686",
"nanos": 654481723
},
"numTxs": "1",
"totalTxs": "17",
"lastBlockId": {
"hash": "doJwyg6HzzUC/gjNrJgzPT8aM0GLbk2OLmFwF3HSDYE=",
"partsHeader": {
"total": 1,
"hash": "xWJIT2urnJn71tdwiQ8NK2oX/0M6s5PbWTmTMt/fKyc="
}
},
"lastCommitHash": "MYN1a1PZiRzY/G5i8O8BNHwZ6h5wchAwKB+jGeIsEz4=",
"dataHash": "aXWoewA+kXgcDjTv5r40qi72gj7feyTaqVV3IFA89JI=",
"validatorsHash": "u+ZNyIjKC9A4gJx+9mZor/Oy18wxneb7kU0oKmvT0x4=",
"nextValidatorsHash": "u+ZNyIjKC9A4gJx+9mZor/Oy18wxneb7kU0oKmvT0x4=",
"consensusHash": "BICRvH3cKD93v7+R1zxE2ljD34qcvIZ0Bdi389qtoi8=",
"lastResultsHash": "bjQLnP+zepicpUTmu3gKLHiQHT+zNzh2hRGjBhevoB0=",
"proposerAddress": "axqYugcrmB1um8l0tzCCclGF1cM="
}
[2020-10-22 03:34:52.213 +0000] TRACE (18 on ca9cf9afdff7): StateRepository#fetchDocuments
method: "fetchDocuments"
parameters: {
"contractId": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"type": "domain",
"options": {
"where": [
[
"normalizedParentDomainName",
"==",
""
],
[
"normalizedLabel",
"==",
"e183d3463bf559f48b6e"
]
]
}
}
response: [
{
"$protocolVersion": 0,
"$id": "AveM2oq7Nr62obipUNh9wRG8nx1x9EyjzPD6vXeXgYNY",
"$type": "domain",
"$dataContractId": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"$revision": 1,
"label": "e183d3463bf559f48b6e",
"records": {
"dashAliasIdentityId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu"
},
"preorderSalt": "BQBQ2EOoZti+uvyG2Q+CBUnRONahOFKOEDgIbOm0I3o=",
"subdomainRules": {
"allowSubdomains": true
},
"normalizedLabel": "e183d3463bf559f48b6e",
"normalizedParentDomainName": ""
}
]
[2020-10-22 03:34:52.214 +0000] INFO (18 on ca9cf9afdff7): State transition data is invalid
[2020-10-22 03:34:52.215 +0000] DEBUG (18 on ca9cf9afdff7):
errors: [
{
"name": "DataTriggerConditionError",
"message": "Action is not allowed",
"dataContract": {
"protocolVersion": 0,
"$id": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"$schema": "https://schema.dash.org/dpp-0-4-0/meta/data-contract",
"ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"documents": {
"domain": {
"indices": [
{
"unique": true,
"properties": [
{
"normalizedParentDomainName": "asc"
},
{
"normalizedLabel": "asc"
}
]
},
{
"unique": true,
"properties": [
{
"records.dashUniqueIdentityId": "asc"
}
]
},
{
"properties": [
{
"records.dashAliasIdentityId": "asc"
}
]
}
],
"$comment": "In order to register a domain you need to create a preorder. The preorder step is needed to prevent man-in-the-middle attacks. normalizedLabel + '.' + normalizedParentDomain must not be longer than 253 chars length as defined by RFC 1035. Domain documents are immutable: modification and deletion are restricted",
"required": [
"label",
"normalizedLabel",
"normalizedParentDomainName",
"preorderSalt",
"records",
"subdomainRules"
],
"properties": {
"label": {
"type": "string",
"pattern": "^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])$",
"maxLength": 63,
"minLength": 3,
"description": "Domain label. e.g. 'Bob'."
},
"records": {
"type": "object",
"$comment": "Constraint with max and min properties ensure that only one identity record is used - either a `dashUniqueIdentityId` or a `dashAliasIdentityId`",
"properties": {
"dashAliasIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create alias names for the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
},
"dashUniqueIdentityId": {
"type": "array",
"$comment": "Must be equal to the document owner",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Identity ID to be used to create the primary name the Identity",
"contentMediaType": "application/x.dash.dpp.identifier"
}
},
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": false
},
"preorderSalt": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Salt used in the preorder document"
},
"subdomainRules": {
"type": "object",
"required": [
"allowSubdomains"
],
"properties": {
"allowSubdomains": {
"type": "boolean",
"$comment": "Only the domain owner is allowed to create subdomains for non top-level domains",
"description": "This option defines who can create subdomains: true - anyone; false - only the domain owner"
}
},
"description": "Subdomain rules allow domain owners to define rules for subdomains",
"additionalProperties": false
},
"normalizedLabel": {
"type": "string",
"pattern": "^((?!-)[a-z0-9-]{0,62}[a-z0-9])$",
"$comment": "Must be equal to the label in lowercase. This property will be deprecated due to case insensitive indices",
"maxLength": 63,
"description": "Domain label in lowercase for case-insensitive uniqueness validation. e.g. 'bob'"
},
"normalizedParentDomainName": {
"type": "string",
"pattern": "^$|^((?!-)[a-z0-9-\\.]{0,189}[a-z0-9])$",
"$comment": "Must either be equal to an existing domain or empty to create a top level domain. Only the data contract owner can create top level domains.",
"maxLength": 190,
"minLength": 0,
"description": "A full parent domain name in lowercase for case-insensitive uniqueness validation. e.g. 'dash'"
}
},
"additionalProperties": false
},
"preorder": {
"indices": [
{
"unique": true,
"properties": [
{
"saltedDomainHash": "asc"
}
]
}
],
"$comment": "Preorder documents are immutable: modification and deletion are restricted",
"required": [
"saltedDomainHash"
],
"properties": {
"saltedDomainHash": {
"type": "array",
"maxItems": 32,
"minItems": 32,
"byteArray": true,
"description": "Double sha-256 of the concatenation of a 32 byte random salt and a normalized domain name"
}
},
"additionalProperties": false
}
}
},
"ownerId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu",
"documentTransition": {
"$id": "AveM2oq7Nr62obipUNh9wRG8nx1x9EyjzPD6vXeXgYNY",
"$type": "domain",
"$action": 1,
"$dataContractId": "H9AxLAvgxEpq72pDg41nsqR3bY5Cv9hTT6yZdKzY3PaE",
"label": "anotherlabel",
"records": {
"dashAliasIdentityId": "4jjwnJr2ufABdWqKKonoA9uBCRXF8jQ929KnHKEgZRJu"
},
"preorderSalt": "BQBQ2EOoZti+uvyG2Q+CBUnRONahOFKOEDgIbOm0I3o=",
"subdomainRules": {
"allowSubdomains": true
},
"normalizedLabel": "e183d3463bf559f48b6e",
"normalizedParentDomainName": "",
"$revision": 2
}
}
]
[2020-10-22 03:34:52.219 +0000] INFO (18 on ca9cf9afdff7): Block commit #47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment