diff --git a/encompass-mercury.conf.sample b/encompass-mercury.conf.sample index 42d8aec..6f871e0 100644 --- a/encompass-mercury.conf.sample +++ b/encompass-mercury.conf.sample @@ -58,8 +58,8 @@ coind_password = pkbrpcpassword coind_host = localhost coind_port = 59060 -[doged] -coind_user = dogedrpcuser -coind_password = rpcpassword +[verge] +coind_user = verge +coind_password = vergerpcpassword coind_host = localhost -coind_port = 107337 +coind_port = 20102 diff --git a/src/chains/dogecoindark.py b/src/chains/verge.py similarity index 83% rename from src/chains/dogecoindark.py rename to src/chains/verge.py index 26bdd24..a1042fa 100644 --- a/src/chains/dogecoindark.py +++ b/src/chains/verge.py @@ -6,8 +6,8 @@ class Currency(cryptocur.CryptoCur): p2sh_version = 33 genesis_hash = '00000fc63692467faeb20cdb3b53200dc601d75bdfa1001463304cc790d77278' - coin_name = 'DogecoinDark' - code = 'DOGED' + coin_name = 'Verge' + code = 'XVG' @chainhook def transaction_parse_fields(self, vds, is_coinbase, fields): @@ -15,4 +15,4 @@ def transaction_parse_fields(self, vds, is_coinbase, fields): fields.insert(1, timestamp) irc_nick_prefix = 'EL_' - irc_channel = '#electrum-doged' + irc_channel = '#electrum-xvg' diff --git a/src/deserialize.py b/src/deserialize.py index 4f05143..ba35981 100644 --- a/src/deserialize.py +++ b/src/deserialize.py @@ -278,6 +278,7 @@ def parse_Transaction(vds, is_coinbase): start = vds.read_cursor fields = [('version', vds.read_int32, True), # version + ('nTime', vds.read_int32, True), # nTime ('vin', vds.read_compact_size, False), # vin ('inputs', 'parse_inputs', True), # inputs ('vout', vds.read_compact_size, False), # vout