Colored-Coins / coloredcoinsd

RESTful web server for Colored-Coins protocol operations, implemented in Node.js.
23 stars 23 forks source link

Expiration Rules: validation failure #2

Open obatll opened 8 years ago

obatll commented 8 years ago

Hello,

I have been trying to include an expiration rule when issuing new colored coins but I am getting this error:

Status: 400 Body: {"message":"validation failure - Unknown param type int32","code":400}

I am attaching the code regarding the expiration rule I am using: rules: { version:1, expiration: {validUntil:387999, locked:false} }

Please anyone could give me a hand on this issue

rottev commented 8 years ago

Hi, The error your getting is due to a faulty swagger json definition file for the rules section. Although we will fix this error its important to understand that currently the rules section are defined only in the protocol level but aren't actually enforced through the services themselves.

mirkobonasorte commented 8 years ago

Is it expected to have an implementation of the rules section in the short term?