# Gavin Andresen # 2010-09-24 13:28:43 # https://bitcointalk.org/index.php?topic=1267.msg13944#msg13944 @s{quotedtext} @s{quotedtext} @p{brk} For extra credit, give an Object as the return value: @p{par} { @p{brk} 'isvalid' : true, @p{brk} 'ismine' : true, # true if isvalid and you have the private key (can spend coins sent to this address) @p{brk} 'version' : 0, # ADDRESSVERSION @p{brk} 'address' : '1frt6531....' # might as well echo back the address... @p{brk} } @p{par}