package com.ripple.core.coretypes.hash.prefixes;

import com.ripple.core.coretypes.uint.UInt32;

public enum HashPrefix implements Prefix {
    transactionID(0x54584E00),
    // transaction plus metadata
    txNode(0x534E4400),
    // account state
    leafNode(0x4D4C4E00),
    // inner node in tree
    innerNode(0x4D494E00),
    // ledger master data for signing
    ledgerMaster(0x4C575200),
    // inner transaction to sign
    txSign(0x53545800),
    // validation for signing
    validation(0x56414C00),
    // proposal for signing
    proposal(0x50525000);

    public UInt32 uInt32;
    public byte[] bytes;

    @Override
    public byte[] bytes() {
        return bytes;
    }

    HashPrefix(long i) {
        uInt32 = new UInt32(i);
        bytes = uInt32.toByteArray();
    }
}

@@ -157,24 +157,25 @@
 D(0x54584E00
+L
 ),%0A    // tr
@@ -219,16 +219,17 @@
 534E4400
+L
 ),%0A    /
@@ -263,24 +263,25 @@
 e(0x4D4C4E00
+L
 ),%0A    // in
@@ -321,16 +321,17 @@
 4D494E00
+L
 ),%0A    /
@@ -390,16 +390,17 @@
 4C575200
+L
 ),%0A    /
@@ -448,16 +448,17 @@
 53545800
+L
 ),%0A    /
@@ -507,16 +507,17 @@
 56414C00
+L
 ),%0A    /
@@ -562,16 +562,17 @@
 50525000
+L
 );%0A%0A    

Use long literals in HashPrefix